Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add bgauryy/octocode --skill octocode-graphgit clone --depth 1 https://github.com/bgauryy/octocodeWrote 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/bgauryy/octocode/octocode-graph)<a href="https://agentmods.dev/skills/bgauryy/octocode/octocode-graph"><img src="https://agentmods.dev/badge/skills/bgauryy/octocode/octocode-graph/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/bgauryy/octocode/octocode-graph"><img src="https://agentmods.dev/badge/skills/bgauryy/octocode/octocode-graph.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.00043 | $0.01411 |
| Opus 5.5 | $0.00017 | $0.00564 |
| Sonnet 5.5 | $0.00009 | $0.00282 |
| Haiku 4.5 | $0.00004 | $0.00141 |
Grade A, and why
octocode-graph 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 today.
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 — 51 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Octocode Graph
Use graph evidence to answer a structural question, then inspect the source behind the claim. Run octocode-graph <command> if installed, or npx -y @octocodeai/octocode-graph <command>. In the Octocode source checkout, use node packages/octocode-graph/bin/octocode-graph.mjs <command>.
Choose the source scope first: build a workspace from its root for relationships across its packages; a file build covers only that file. The default build shares one native binding snapshot across packages. Check the saved graph’s bindingScope coverage field: partitioned means a native limit forced separate snapshots and cross-package completeness is partial. Reuse an explicit saved result when the task names one. For current-code questions, query with --refresh; a plain query is an offline snapshot answer with unverified freshness. If no graph exists, run the returned build suggestion. For a PR or two revisions, start with the merge-base/head workflow.
octocode-graph build . --out .octocode/graph-review
octocode-graph query .octocode/graph-review "search cycles"
octocode-graph query .octocode/graph-review "impact src/worker.ts depth 2" --refresh
octocode-graph check .octocode/graph-review --format sarif
Ask
| Question | Run |
|---|---|
| Find code by name or by what it does | search <words>; filter with --kind, --lang, --role, --path, --exported, --param, --returns |
| What surrounds a file or symbol | about <file|symbol>; context <file|symbol...> --tokens N ranks the neighbourhood under a token budget (more: continues) |
| Who depends on it or calls it, what it uses | impact, dependents, deps, callers, callees; for a hub file (a module root such as cli.rs, an index file) file-level impact reaches most of the package, so ask callers <file>#<item> per public item |
| Every caller of one function | lspSearch callers; a graph callers answer without full probes is isPartial (callersNotProbed) and carries that call as confirm |
| How A reaches B, loops, prerequisite order | path [--all], cycle, order, trace |
| What an entry loads, why, at what cost | reach <entry|dir>, why <entry> <target>, hubs [<dir>] |
| What is critical | critical functions, critical points, critical path [<file>] [--up], top <metric>, community |
A fresh scope, or native detectors (issues, cochange, drift, witnesses, unresolved) |
octocode-graph graphQuery '{"queries":[{"path":".","operation":"issues"}]}' · Operations · Builds and pagination |
| A spelling or literal text | localSearch (or rg), not the graph |
What ships with it
32 files 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.
- output.md 2.8 KB
- README.md 9.0 KB
- references/algorithms.md 3.6 KB
- references/build-and-read.md 4.2 KB
- references/build-pipeline.md 6.3 KB
- references/chat.md 5.2 KB
- references/commands.md 5.7 KB
- references/diff-review.md 2.8 KB
- references/diff.md 5.2 KB
- references/evidence.md 2.7 KB
- references/links.md 4.2 KB
- references/modeling.md 3.7 KB
- references/operations.md 2.9 KB
- references/provider-bundle.md 4.2 KB
- references/provider-data-flow.md 1.4 KB
- references/provider-llvm.md 1.2 KB
- references/provider-manifest.md 1.6 KB
- references/provider-profiles.md 3.1 KB
- references/providers.md 3.3 KB
- references/quality-checks.md 4.4 KB
- references/query-loads.md 3.3 KB
- references/query-search.md 5.0 KB
- references/query-surfaces.md 3.0 KB
- references/query-walks.md 5.3 KB
- references/query.md 6.6 KB
- references/rule-fields.md 2.2 KB
- references/rules-ci.md 3.5 KB
- references/rules.md 2.8 KB
- references/tool-pages.md 3.0 KB
- references/viewer-events.md 2.5 KB
- references/wiki-pages.md 3.5 KB
- references/wiki.md 3.5 KB
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.
- today First seen · 51 lines · 43 tokens per session scan A 60512852fbbc
octocode-graph is a skill published in the GitHub repository bgauryy/octocode (971 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 1,411 once invoked, about $0.0002 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-12-01.
octocode-graph compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| octocode-graphbgauryy/octocode | Skill | 971 | today | MIT | A | 43 | Claude Code, Codex |
| code-review-webrampstackco/claude-skills | Skill | 1.1k | 15d ago | MIT | A | 121 | Claude Code |
| review-rfcnurettincoban/ai-prd-workflow | Skill | 317 | 13d ago | MIT | A | 32 | Claude Code |
| logic-lensskillmds/skillmd | Skill | 142 | 22d ago | MIT | A | 37 | Claude Code |
| cli-audit-codeDestynova2/cli-code-skills | Skill | 6 | 7d ago | MIT | A | 92 | Claude Code |
| coding-assistantchinkan/RustFox | Skill | 15 | yesterday | MIT | A | 13 | Claude Code, Codex |
| reviewAcKeskin/contexture | Skill | 2 | today | MIT | A | 103 | Claude Code |