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 agentmods add skills/optave/ops-codegraph-tool/paritynpx skills add optave/ops-codegraph-tool --skill paritygit clone --depth 1 https://github.com/optave/ops-codegraph-toolWhat 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 | $0.00029 | $0.02099 |
| Opus 5 | $0.00015 | $0.01050 |
| Sonnet 5 | $0.00006 | $0.00420 |
| Haiku 4.5 | $0.00003 | $0.00210 |
Grade A, and why
parity 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 yesterday.
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 — 189 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/parity — Engine Correctness Parity Audit & Fix
Codegraph has two engines that MUST produce identical results (see CLAUDE.md):
- wasm — JS pipeline + JS extractors + JS edge resolution
- native — full Rust orchestrator (
crates/codegraph-core/src/domain/graph/builder/pipeline.rs) - hybrid — JS pipeline + napi
buildCallEdges(the fallback when the orchestrator is skipped: forced full rebuilds, older addons)
This skill runs scripts/parity-compare.mjs, which builds every
resolution-benchmark fixture with each engine and compares the full node and
edge multisets (kind, name, file, line, confidence, dynamic flag). Any
difference is a bug in the less-accurate engine — never an acceptable gap, and
never something to document as expected. The skill finds the root cause, fixes
it, and re-verifies until the audit is clean.
Arguments
$ARGUMENTSmay contain:--langs a,b,c— restrict to specific fixture names (e.g.javascript,pts-javascript)--hybrid— also audit the hybrid path (recommended; slower)--audit-only— report divergences without fixing them- No arguments — full audit across all fixtures, then fix divergences
Phase 0 — Pre-flight
All steps run from the repo root.
- Confirm
scripts/parity-compare.mjsexists. If not, this repo doesn't have the parity tooling — stop and report. - Build the TypeScript dist (the script imports
dist/index.js, and extractor changes insrc/are invisible until rebuilt):npm run build - Ensure the native addon reflects the local Rust source:
On macOS, locally built binaries must be re-signed or Node kills the process (exit 137):cd crates/codegraph-core && npx napi build --platform --release && cd ../..codesign --sign - --force crates/codegraph-core/*.node - Verify the loader picks up the locally built binary, not the published
package. First check which path is actually resolved:
If the resolved path points tonode -e " const { createRequire } = require('node:module'); const r = createRequire(require.resolve('./dist/index.js')); try { console.log(r.resolve('codegraph-core')); } catch { console.log('not found via require'); } "node_modules/@optave/codegraph-<platform>-<arch>/codegraph-core.node(the installed package), copy your freshly built binary over it:
Then confirm the loader picks it up:cp crates/codegraph-core/*.node node_modules/@optave/codegraph-<platform>-<arch>/codegraph-core.node
Ifnode -e "import('./dist/infrastructure/native.js').then(m => console.log(m.isNativeAvailable()))"false, stop and report — auditing parity without the native engine is meaningless.
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.
- yesterday First seen · 189 lines · 29 tokens per session scan A a5fc8678c724
parity is a skill published in the GitHub repository optave/ops-codegraph-tool (92 stars, last pushed 3d ago), licensed Apache-2.0. It adds 29 tokens to every session and 2,099 once invoked, about $0.0001 per session on Opus 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-30.
Other skills, from other repositories
codespaces
Build and query architecture-aware code search, dependency graphs, call flows, impact analysis, and belief maps for Python, TypeScript, TSX, Rust, C#, Java, Go, Ruby, and Ruby on Rails repositories. Use before non-trivial code changes to find module boundaries, blast radius, architecture violations, and the minimal…
security-triage
Turn a large codebase into a short, ranked reading list of security-relevant code paths worth a human researcher's time, using the flyto-indexer MCP tools. Use when asked to find, prioritize, or triage potential vulnerabilities / taint flows / attack surface in a repository indexed (or indexable) by flyto-indexer …
devlens
Understand a codebase with the DevLens MCP — TypeScript, JavaScript, Python, Go, Rust, or Java (incl. React/Next.js/Node, FastAPI/Flask/Django, Spring Boot, Gin/Echo/chi/net-http, axum/actix/rocket). Query a precomputed graph of nodes (components, hooks, functions, classes, methods, structs, traits, routes) and typed…
archon
Multi-language dependency impact analysis for Java, JS/TS, and Python codebases. Answers "if I change this, what breaks?" Run /archon diff before refactoring, /archon analyze for full dependency maps.
codebase-intelligence
Query the codebase-intelligence CLI to understand TypeScript architecture, dependencies, blast radius, and risk before reading files. Use for any "how is this structured", "what breaks if I change X", "where is the complexity" question.
repomix
Pack and analyze codebases into AI-friendly single files using Repomix. Use when the user wants to explore repositories, analyze code structure, find patterns, check token counts, or prepare codebase context for AI analysis. Supports both local directories and remote GitHub repositories.