Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/sohilladhani/codesynapsenpx agentmods add skills/sohilladhani/codesynapse/codesynapse-cliWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/sohilladhani/codesynapse/codesynapse-cli)<a href="https://agentmods.dev/skills/sohilladhani/codesynapse/codesynapse-cli"><img src="https://agentmods.dev/badge/skills/sohilladhani/codesynapse/codesynapse-cli/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/sohilladhani/codesynapse/codesynapse-cli"><img src="https://agentmods.dev/badge/skills/sohilladhani/codesynapse/codesynapse-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00182 | $0.01322 |
| Opus 5.5 | $0.00073 | $0.00529 |
| Sonnet 5.5 | $0.00036 | $0.00264 |
| Haiku 4.5 | $0.00018 | $0.00132 |
Grade A, and why
codesynapse-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Codesynapse CLI Skill
Codesynapse has pre-indexed this codebase into a knowledge graph that knows about classes, functions, their relationships (calls, extends, implements), and source locations. The graph is more precise than grep for architecture questions.
MCP is not available in this environment. All codesynapse commands run via bash. Use the codesynapse binary — if codesynapse is not found, try /usr/local/bin/codesynapse then ~/.local/bin/codesynapse (the two standard install locations). The project graph is at ./codesynapse-out/graph.json. For global multi-module graphs, run codesynapse module list to see indexed modules.
ALWAYS use codesynapse CLI commands before grep/find for architecture questions.
Quick Reference
| Intent | Command |
|---|---|
| General codebase query | codesynapse query "<question>" --graph <path> |
| Node details + relationships | codesynapse explain <id> --path <graph-path> |
| Shortest path A → B | codesynapse path <A> <B> |
| Blast radius of X | codesynapse affected <X> --graph <path> --depth 2 |
| Graph statistics | codesynapse stats <path> |
| God/central nodes | codesynapse analyze <path> |
| Community detection | codesynapse cluster <path> |
| Module list | codesynapse module list |
| Graph diff | codesynapse diff <path> --baseline <other> |
Tool Selection Priority
STEP 1 — Architecture questions ("how does X work", "what handles Y", "where is Z defined"):
codesynapse query "<question>" --graph ./codesynapse-out/graph.json
Parse the output for class/function names, file paths, relationships. Top results are most relevant.
STEP 2 — Need details on a specific node found in Step 1:
codesynapse explain <ClassName> --path ./codesynapse-out/graph.json
Shows callers, callees, extends, implements, file path, and line number.
STEP 3 — Blast radius / change impact:
codesynapse affected <ClassName> --graph ./codesynapse-out/graph.json --depth 2
Use --depth 1 for direct dependencies, --depth 3 for wider impact. Filter by --relation calls if needed.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 102 lines · 182 tokens per session scan A fcf673a76629
codesynapse-cli is a skill published in the GitHub repository sohilladhani/codesynapse (9 stars, last pushed 4mo ago), licensed MIT. It adds 182 tokens to every session and 1,322 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
codesynapse-cli compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| codesynapse-clisohilladhani/codesynapse | Skill | 9 | 4mo ago | MIT | A | 182 | Claude Code, Codex |
| firebase-crashlyticsevanca/flutter-ai-rules | Skill | 676 | 18d ago | MIT | A | 34 | Claude Code |
| flutter-errorsevanca/flutter-ai-rules | Skill | 676 | 18d ago | MIT | A | 34 | Claude Code |
| ctxo-safe-editalperhankendi/Ctxo | Skill | 74 | today | MIT | A | 28 | Claude Code, Codex |
| Sverklo Code Intelligencesverklo/sverklo | Skill | 83 | 3mo ago | MIT | A | 27 | Claude Code |
| pn-session-retroperniemann/pnCore | Skill | 0 | yesterday | MIT | A | 85 | Cursor |
| pn-api-probeperniemann/pnCore | Skill | 0 | yesterday | MIT | A | 44 | Cursor |