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/.claude/commands/coograph-review.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/commands/paullukic/coograph/coograph-review)<a href="https://agentmods.dev/commands/paullukic/coograph/coograph-review"><img src="https://agentmods.dev/badge/commands/paullukic/coograph/coograph-review/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/commands/paullukic/coograph/coograph-review"><img src="https://agentmods.dev/badge/commands/paullukic/coograph/coograph-review.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.00000 | $0.01471 |
| Opus 5.5 | $0.00000 | $0.00588 |
| Sonnet 5.5 | $0.00000 | $0.00294 |
| Haiku 4.5 | $0.00000 | $0.00147 |
Grade A, and why
coograph-review 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.
How it starts
The opening of the file, as written. The whole thing — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Review the changes in scope for spec compliance, convention violations, logic bugs, and architectural issues. You review — you do not author. Never edit files.
Phase 0 — Orient with Code-Graph (MANDATORY — non-negotiable)
Before reading any file or running any search, this is the HARD RULE — code-graph first, no exceptions:
- Call
detect_changes()thenget_review_context(files=[...changed files...]). ALWAYS start here. Use the returned file set and risk scores to drive the review. High-risk files first. - Fall back to
sqlite3 .code-graph/graph.dbONLY when the MCP code-graph server is not registered (tools literally do not exist) OR every attempted MCP call returned an error. - Fall back to standard search/read tools ONLY when Step 1 AND Step 2 are both impossible because the code-graph DB is absent from the workspace.
"Slow", "unwieldy", "I already know the file", or "it's a small diff" are NOT valid reasons to bypass. When tracing consumers or write paths use query_graph("importers_of", file) and query_graph("callers_of", fn) before grepping. Every finding must still be verified from a fresh file read regardless of graph output.
Phase 1 — Anchor & Scope
- Read
AGENTS.md§ Hard rules and.github/copilot-instructions.md(whenAGENTS.mdhas no Hard rules section,.github/copilot-instructions.mdholds them all): the binding rules and project conventions. Also read.github/instructions/review.instructions.mdwhen it exists (review depth). - Run
git diff origin/main --statto list changed files with line counts. - If the project uses OpenSpec, read the active change's
proposal.md,specs/, andtasks.md.
Phase 2 — Build the Change Manifest
The manifest is the primary review input — NOT raw diffs. Raw diffs cause misreads and phantom findings.
- For each changed file, run
git diff origin/main -- <file>one at a time. - Write a 1-2 line summary per file: what was renamed, added, removed, or rewired. Note old sources for nulled fields, old→new types for type changes.
- Group changes by logical unit. Mark auto-generated files as "auto-generated, skip."
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 Changed fe42f9ae28cb
- 1mo ago Changed · +4 lines 10fdf11724fd
- 1mo ago Changed · +15 lines 9d9ed42daef7
- 2mo ago First seen · 106 lines · 0 tokens per session scan A 4e328d709397
coograph-review is a command published in the GitHub repository paullukic/coograph (17 stars, last pushed 12d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,471 tokens. 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-review compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| coograph-reviewpaullukic/coograph | Command | 17 | 12d ago | MIT | A | 0 | Claude Code |
| assemble-teamtravisjneuman/.claude | Command | 107 | yesterday | MIT | A | 25 | Claude Code |
| review-codetravisjneuman/.claude | Command | 107 | yesterday | MIT | A | 11 | Claude Code |
| code-reviewhalflength-ampleness75/claude-code-recipes | Command | 2 | 23d ago | MIT | A | 13 | Claude Code |
| amby.convergeambystechcom/AmbyKit | Command | 2 | yesterday | MIT | A | 22 | Claude Code |
| cg-senior-code-reviewakinalpfdn/claude-ground | Command | 116 | 1mo ago | none | A | 97 | Claude Code |
| dejavu-lintHthSolid/claude-dejavu | Command | 6 | 5mo ago | none | A | 18 | Claude Code |