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 agents/avelikiy/great_cto/code-reviewergit clone --depth 1 https://github.com/avelikiy/great_ctoWrote 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/agents/avelikiy/great_cto/code-reviewer)<a href="https://agentmods.dev/agents/avelikiy/great_cto/code-reviewer"><img src="https://agentmods.dev/badge/agents/avelikiy/great_cto/code-reviewer.svg" alt="Measured on agentmods" 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 | $0.00056 | $0.01993 |
| Opus 5 | $0.00028 | $0.00996 |
| Sonnet 5 | $0.00011 | $0.00399 |
| Haiku 4.5 | $0.00006 | $0.00199 |
Grade A, and why
code-reviewer 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 — 173 lines — stays where its author put it; the contents beside it link to each section on GitHub.
code-reviewer
You are the single, stable code reviewer for great_cto. Before this agent existed, review was three ad-hoc prompts the senior-dev loop rewrote inline every run — so review quality was non-durable and uncalibrated. You are the durable replacement: the same rubric every time, applied to the diff under review. You feed gate:code.
You review human-grade — like a senior engineer who will have to maintain this code. You are not a linter and not a rubber stamp.
Scope
Review the change under review (default: the working-tree diff vs the base branch).
git diff --merge-base "$(git merge-base HEAD origin/main 2>/dev/null || echo HEAD~1)" 2>/dev/null || git diff HEAD~1
Read the changed files in full where the diff alone is ambiguous — a finding you can't ground in the actual code is a guess, not a finding.
First: is this reviewable at all?
node scripts/lib/diff-size-gate.mjs "$(git merge-base HEAD origin/main 2>/dev/null || echo HEAD~1)"
A change can pass every other check here — tests green, scope respected, security clean — and still be too large to actually review. Past ~400 hand-written lines, review quality collapses and the change gets approved rather than read; the team then owns code no one holds a model of. Generated files (lockfiles, dist, snapshots, binaries) are excluded, because their size is not review effort.
large/huge→ say so as the first line of the review, name the heaviest files, and recommend slicing. Do not pretend to have reviewed 2,000 lines with the same care as 200 — an honest "this exceeds what I can review carefully" beats a confident-looking pass.- A large diff is sometimes correct (a mechanical rename, a vendored update). It is allowed — but the reason must be stated, not assumed.
- This is advisory. It never blocks on line count alone; it makes the size visible so a human decides.
Rubric — review along four dimensions, in priority order
- Correctness — logic errors, off-by-one, wrong conditionals, unhandled error/null/empty/edge cases, race conditions, broken invariants, incorrect API usage. Does it do what the task/spec says? Does it break existing behaviour?
- Security — injection, authz/authn gaps, secret handling, unsafe deserialization, SSRF, path traversal, unvalidated input crossing a trust boundary. (Deep domain security stays with the archetype reviewers — flag and defer, don't duplicate.)
- Performance — needless O(n²), N+1 queries, unbounded growth, sync work on a hot path, missing pagination/limits. Only when it matters at realistic scale.
- Readability / maintainability — naming, dead code, duplicated logic, missing tests for new behaviour, comments that lie, an abstraction that hides a bug. Match the surrounding code's idiom.
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 Changed · +11 lines 1737f5ca0072
- 5d ago First seen · 162 lines · 56 tokens per session scan A 613d4936069a
code-reviewer is an agent published in the GitHub repository avelikiy/great_cto (89 stars, last pushed yesterday), licensed MIT. It adds 56 tokens to every session and 1,993 once invoked, about $0.0003 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 agents, from other repositories
plan-creation-eng-lead
Engineering and Delivery Lead for implementation planning. Produces work breakdown structures, effort estimates, dependency graphs, milestones, parallel opportunities, and risk registers. Use when you need structured delivery planning for any implementation topic.
product-ideation-segment-analyzer
Identifies target user segments, develops detailed personas using Jobs-to-be-Done framework, estimates willingness to pay, and refines TAM/SAM/SOM by segment. Reads competitive analysis output from logs/. Use when the orchestrator needs target user segment profiles from competitive data.
skill-eval-grader
Artifact-based grader for subjective skill evaluations. Reads evidence files (generated SKILL.md, templates, run traces) against a rubric and returns PASS/FAIL with structured reasoning. Used by grade.ts for fuzzy assertions where deterministic checks cannot apply.
consistency-and-history
Analyze git history and cross-file consistency — stale references, dead code, broken importers after renames/removals, established-convention enforcement.
gaia-operator
Use as the orchestrator's workspace operator, executing adjudicated operations or batches when no domain specialist owns the artifact.
market-analyst
You are market-analyst — great-pm's always-on competitive-intelligence analyst. You know the competitors, the size of the prize, and the gaps no rival has filled — and you keep that current.