Borrowing it
Nothing to install: this file belongs to paullukic/coograph. 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/paullukic/coograph/main/.github/skills/coograph-rebuild-graph/SKILL.mdgit clone --depth 1 https://github.com/paullukic/coographWrote 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/paullukic/coograph/coograph-rebuild-graph)<a href="https://agentmods.dev/skills/paullukic/coograph/coograph-rebuild-graph"><img src="https://agentmods.dev/badge/skills/paullukic/coograph/coograph-rebuild-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/paullukic/coograph/coograph-rebuild-graph"><img src="https://agentmods.dev/badge/skills/paullukic/coograph/coograph-rebuild-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.00040 | $0.01056 |
| Opus 5.5 | $0.00016 | $0.00422 |
| Sonnet 5.5 | $0.00008 | $0.00211 |
| Haiku 4.5 | $0.00004 | $0.00106 |
Grade A, and why
coograph-rebuild-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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Rebuild or incrementally update the .code-graph/graph.db SQLite database.
IMPORTANT: This skill runs commands. Follow every step in order. Do not skip error handling.
Step 1: Locate the code-graph tooling
Find server.py — it could be in several locations depending on the project setup:
.github/code-graph/server.py # standard location
coograph/.github/code-graph/server.py # monorepo with template as submodule
Search for it:
find . -path "*/code-graph/server.py" -not -path "*/node_modules/*" 2>/dev/null | head -5
If not found: stop and tell the user:
"No code-graph tooling found. Run the
coograph-initskill to set it up, or copy.github/code-graph/from the coograph."
If multiple found: use the one closest to the current working directory (shortest path). Report which one you're using.
Store the resolved path as $SERVER_PY.
Step 2: Check Python
python3 --version 2>/dev/null || python --version 2>/dev/null
If neither works: stop and tell the user Python 3.10+ is required.
If version is below 3.10: stop and tell the user Python 3.10+ is required.
Store the working Python command as $PYTHON (python3 preferred over python).
Step 3: Determine build mode
- If the user said "update" or "incremental" → use
--update - If the user said "build", "rebuild", "full", or gave no argument → use
--build - If
.code-graph/graph.dbdoes not exist → always use--build(update requires an existing db)
Step 4: Run the build
Execute from the project root (the directory where .code-graph/ should be created):
cd <project-root> && $PYTHON $SERVER_PY <--build or --update>
Expected success output includes lines like:
Detected stacks: java, structuredGraph built: N files -> .code-graph/graph.db (X.XXs)
or for update:
Graph updated: updated N, dependents M, deleted DGraph up to date — no changes detected.
Step 5: Verify
Confirm the database exists and has data:
What ships with it
1 file 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.
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.
- 2mo ago First seen · 117 lines · 40 tokens per session scan A 69726ac027b8
coograph-rebuild-graph is a skill published in the GitHub repository paullukic/coograph (17 stars, last pushed 12d ago), licensed MIT. It adds 40 tokens to every session and 1,056 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-08-30.
coograph-rebuild-graph compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| coograph-rebuild-graphpaullukic/coograph | Skill | 17 | 12d ago | MIT | A | 40 | Claude Code |
| database-experttravisjneuman/.claude | Skill | 107 | yesterday | MIT | A | 36 | Claude Code, Codex |
| generic-fullstack-feature-developertravisjneuman/.claude | Skill | 107 | yesterday | MIT | A | 56 | Claude Code, Codex |
| agent-database-experttravisjneuman/.claude | Skill | 107 | yesterday | MIT | A | 49 | Claude Code |
| databasesoden46/engineer-flow | Skill | 3 | 1mo ago | MIT | A | 24 | Claude Code |
| bullmq-specialistsinhoneyy/master-skills | Skill | 16 | 7d ago | none | A | 29 | Claude Code |
| azure-data-tables-javasinhoneyy/master-skills | Skill | 16 | 7d ago | none | A | 30 | Claude Code |