octocode-graph-dev

octocode-graph-dev is a skill for Claude Code, Codex from bgauryy/octocode. It costs 40 tokens per session (557 once invoked), scanned A, original, MIT.

A development guide for Octocode’s native graph engine, which extracts code relationships such as definitions, links, and dependencies and stores them in snapshots. It covers engine changes, cache versions, and tests across programming languages.

In plain words
What is it for?
Use it to change or benchmark graph extraction and linking, update invalidated cache versions, and run language-specific and engine tests.
Why use it?
It helps prevent incorrect relationship links and stale graph caches when the engine changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it to change or benchmark graph extraction and linking, update invalidated cache versions, and run language-specific and engine tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bgauryy/octocode/octocode-graph-dev
Install

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.

Any agent
npx skills add bgauryy/octocode --skill octocode-graph-dev
Clone the repo
git clone --depth 1 https://github.com/bgauryy/octocode

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for octocode-graph-dev

README.md
[![agentmods](https://agentmods.dev/badge/skills/bgauryy/octocode/octocode-graph-dev/github.svg)](https://agentmods.dev/skills/bgauryy/octocode/octocode-graph-dev)
Your own site
<a href="https://agentmods.dev/skills/bgauryy/octocode/octocode-graph-dev"><img src="https://agentmods.dev/badge/skills/bgauryy/octocode/octocode-graph-dev/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.

agentmods 80×15 button for octocode-graph-dev

Your own site · 80×15
<a href="https://agentmods.dev/skills/bgauryy/octocode/octocode-graph-dev"><img src="https://agentmods.dev/badge/skills/bgauryy/octocode/octocode-graph-dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 557 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.00557
Opus 5.5 $0.00016 $0.00223
Sonnet 5.5 $0.00008 $0.00111
Haiku 4.5 $0.00004 $0.00056

Measured 3d ago against content hash 3534c55f096c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

octocode-graph-dev 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 3d ago.

The scan reads SKILL.md. This mod also ships 19 executable files (scripts/battery.mjs, scripts/battery.test.mjs, scripts/gen-python-stdlib.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills-dev/octocode-graph-dev/SKILL.md · 19 lines

How it starts

The opening of the file, as written. The whole thing — 19 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Octocode graph dev

Graph tools run from node packages/octocode-graph/bin/octocode-graph.mjs graphBuild|graphQuery '<json>', not the octocode-mcp CLI; they are CLI commands, and no MCP server lists them (octocode-graph mcp serves the saved-graph tools). $DEV: AGENTS.md.

Change the engine

  1. Before changing linking, recall or timing, run the language battery on a $DEV pin of the current binary; keep its receipts. If pin answers noBinary or native sources changed since the build, $DEV build:dev before editing, so the baseline measures the unchanged engine.
  2. Find the owning module, its tests and the cache version it may invalidate in the engine map.
  3. Write the failing case first; per-language linking cases go in ast_graph/link_tests/<language>.rs, expected target from the language's binding rules, never a matching name; leave an unsettled site unresolved with a named reason, or document why a link is medium or low.
  4. Fix the owner, bump the cache version the change invalidates, and test with $DEV test:dev --crate tool-graph [--crate engine] [-- <module filter>]. Run CODE_GRAPH.md's evaluation suite as --crate engine -- graph:: plus --crate tool-graph -- ast_graph, not its bare cargo test lines.
  5. After build:dev and a new pin, run the graph calls of tool checks on the CLI, then rerun the battery on that pin and judge every row against the baseline.

Stop when every battery row is judged and CODE_GRAPH.md's evaluation, per-language limits and open decisions match it. Return the result, then per row before → after (recall, precision, link rate, build ms) explained from source, the cache version bumped or why none, tests run, and recall or precision changes for the owner to accept (HTML report on request).

Read the full file on GitHub · 19 lines

Changes

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.

  1. 3d ago First seen · 19 lines · 40 tokens per session scan A 3534c55f096c

Subscribe to this mod's changes

octocode-graph-dev is a skill published in the GitHub repository bgauryy/octocode (974 stars, last pushed 2d ago), licensed MIT. It adds 40 tokens to every session and 557 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.

Related

octocode-graph-dev compared with skills from other repositories

octocode-graph-dev next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
octocode-graph-devbgauryy/octocodeSkill9742d agoMITA40Claude Code, Codex
component-creationgirijashankarj/cursor-handbookSkill333mo agoMITA28Cursor
coverage-improvementgirijashankarj/cursor-handbookSkill333mo agoMITA30Cursor
debug-issuegirijashankarj/cursor-handbookSkill333mo agoMITA34Cursor
lagune-provewellwelwel/laguneSkill275yesterdayApache-2.0A55Claude Code, Codex
testingevanca/flutter-ai-rulesSkill67822d agoMITA33Claude Code
mocktailevanca/flutter-ai-rulesSkill67822d agoMITA34Claude Code