Skip to content
Back to skills

Octocode Graph Dev

ASecurity

Load this skill first when changing or benchmarking Octocode's native graph engine (extraction, linking, snapshots, detectors): engine map, cache versions and the language battery.

  • 971 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 1, 2026
ai-agentsgonode

Works with

  • cli
  • mcp

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add bgauryy/octocode --skill octocode-graph-dev --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Octocode Graph Dev?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Octocode Graph Dev
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bgauryy-octocode-graph-dev/badge)](https://www.skillsdirectory.com/skills/bgauryy-octocode-graph-dev)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: octocode-graph-dev
description: "Load this skill first when changing or benchmarking Octocode's native graph engine (extraction, linking, snapshots, detectors): engine map, cache versions and the language battery."
---

# 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](../../AGENTS.md#work-locally).

## Change the engine

1. Before changing linking, recall or timing, run the [language battery](references/battery.md) 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](references/engine-map.md).
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](references/engine-map.md#cache-versions) 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](../../packages/octocode-benchmark/CHECKS.md#graphbuild-and-graphquery) on the CLI, then rerun the battery on that pin and [judge](references/battery-judge.md) every row against the baseline.

Stop when every battery row is judged and [CODE_GRAPH.md](../../packages/octocode-native/docs/engine/CODE_GRAPH.md#evaluation)'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](references/battery.md#run) on request).

Files in this skill

  • SKILL.md2.3 KB
  • references/battery-judge.md1.6 KB
  • references/battery.md4.9 KB
  • references/engine-map.md4.8 KB
  • scripts/battery.mjs31.4 KB
  • scripts/battery.test.mjs5.4 KB
  • scripts/gen-python-stdlib.mjs5 KB
  • scripts/gen-python-stdlib.test.mjs1.7 KB
  • scripts/lib/entrypoint.mjs552 B
  • scripts/lib/fail.mjs594 B
  • scripts/lib/lexical.mjs10.5 KB
  • scripts/lib/report/checks.mjs10.2 KB
  • scripts/lib/report/client-diagrams.mjs9.9 KB
  • scripts/lib/report/client-document.mjs11.3 KB
  • scripts/lib/report/client-search.mjs2.9 KB
  • scripts/lib/report/client-widgets.mjs10.6 KB
  • scripts/lib/report/client.mjs15.9 KB
  • scripts/lib/report/markdown.mjs21.2 KB
  • scripts/lib/report/page.mjs25.9 KB
  • scripts/lib/report/render.mjs10.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.