Borrowing it
Nothing to install: this file belongs to sopaco/cowork-forge. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/sopaco/cowork-forge/main/.agents/skills/codegraph-skill/SKILL.mdgit clone --depth 1 https://github.com/sopaco/cowork-forgeWrote 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/sopaco/cowork-forge/codegraph-skill)<a href="https://agentmods.dev/skills/sopaco/cowork-forge/codegraph-skill"><img src="https://agentmods.dev/badge/skills/sopaco/cowork-forge/codegraph-skill/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/sopaco/cowork-forge/codegraph-skill"><img src="https://agentmods.dev/badge/skills/sopaco/cowork-forge/codegraph-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium MCP Rug Pull · line 23 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
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.00032 | $0.01164 |
| Opus 5.5 | $0.00013 | $0.00466 |
| Sonnet 5.5 | $0.00006 | $0.00233 |
| Haiku 4.5 | $0.00003 | $0.00116 |
Grade A, and why
codegraph-skill 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 1mo 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.
This is a copy
100% identical to codegraph-skill — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CodeGraph Skill
CodeGraph provides a pre-indexed AST code graph for this project.
Terrain uses CLI only — do not run codegraph install (that configures MCP/agent rules separately).
Resolve the CodeGraph command (read first)
Use conventional paths only — never machine-specific absolute paths like /Users/... or C:\Users\....
On Windows, the wrapper may be codegraph.cmd or codegraph.exe under ~/.terrain/bin/.
| Priority | Command | When |
|---|---|---|
| 1 | ~/.terrain/bin/codegraph |
Terrain env integration (see existence check below) |
| 2 | bunx codegraph |
No Terrain install; needs network once |
| 3 | npx codegraph |
Same as bunx if Bun unavailable |
Optional manifest (local, gitignored): .terrain/env/agent-tools.json — same ~/.terrain/bin/… conventions.
Existence check (cross-platform):
| Shell | Check |
|---|---|
| bash / zsh / Git Bash | [ -x ~/.terrain/bin/codegraph ] || [ -f ~/.terrain/bin/codegraph.exe ] || [ -f ~/.terrain/bin/codegraph.cmd ] |
| PowerShell | Test-Path "$HOME\.terrain\bin\codegraph*" |
In examples below, <cg> means your resolved prefix (~/.terrain/bin/codegraph or bunx codegraph).
Prerequisites
The index is per-repo under .codegraph/. If missing, initialize from the repo root:
# bash / Git Bash
if [ -x ~/.terrain/bin/codegraph ] || [ -f ~/.terrain/bin/codegraph.exe ] || [ -f ~/.terrain/bin/codegraph.cmd ]; then
~/.terrain/bin/codegraph init -i
else
bunx codegraph init -i
fi
Refresh after edits: <cg> sync
Health check:
<cg> status
<cg> status can lie ("up to date" when it is not). Observed case: index untouched for 10 days while 24 commits changed source files, status still reported fresh, and <cg> query on a symbol added days earlier returned nothing. Do not treat status as authoritative on its own.
CLI commands
| Intent | Command |
|---|---|
| Find symbol by name | <cg> query <name> |
| Who calls X | <cg> callers <symbol> |
| What X calls | <cg> callees <symbol> |
| Change blast radius | <cg> impact <symbol> |
| Tests affected by file changes | <cg> affected <files…> |
| Project file tree | <cg> files |
| Index health | <cg> status |
| Refresh after edits | <cg> sync |
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.
- 1mo ago First seen · 114 lines · 32 tokens per session scan A e89680aa9b6d
codegraph-skill is a skill published in the GitHub repository sopaco/cowork-forge (103 stars, last pushed 2mo ago), licensed MIT. It adds 32 tokens to every session and 1,164 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to codegraph-skill, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
simplify-codebase
Simplification audit or authorized codebase simplification whose stated objective is to remove accidental complexity. Use for evidence-backed deletion or consolidation of dead code, duplicate state, redundant APIs or layers, ownerless abstractions, obsolete compatibility or design records, and over-engineering in any…
trace
Evidence-driven tracing lane that orchestrates competing tracer hypotheses in Claude built-in team mode.
ai-slop-cleaner
Clean AI-generated code slop with a regression-safe, deletion-first workflow and optional reviewer-only mode.
omc-review
Evaluate finished work for defects, risk, and simplification before it ships.
debug
Diagnose the current OMC session or repo state using logs, traces, state, and focused reproduction.
verify
Verify that a change really works before you claim completion.