code-reviewer

code-reviewer is an agent for coding agents from avelikiy/great_cto. It costs 56 tokens per session (1,993 once invoked), scanned A, original, MIT.

A specialist review agent for US defense-contractor software before implementation. It checks how projects handle Controlled Unclassified Information, or CUI—sensitive government information that is not classified—and related contract requirements.

In plain words
What is it for?
Use it to review systems involving CUI, CMMC 2.0, NIST SP 800-171, DFARS, ITAR, export controls, security plans, incident reporting, or related defense-contract requirements.
Why use it?
It helps identify security and compliance gaps before they become contract or reporting problems. It also determines whether the project is actually in this domain and exits when the domain does not apply.

Agent

Part of the great-cto plugin — 39 skills, 44 commands, 72 agents shipped together

Install

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.

agentmods
npx agentmods add agents/avelikiy/great_cto/code-reviewer
Clone the repo
git clone --depth 1 https://github.com/avelikiy/great_cto

Or install great-cto, the plugin that ships this one along with the rest of its 39 skills, 44 commands, 72 agents.

Wrote 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.

agentmods badge for code-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/avelikiy/great_cto/code-reviewer.svg)](https://agentmods.dev/agents/avelikiy/great_cto/code-reviewer)
Your own site
<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>
Per session 56 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,993 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured yesterday against content hash 1737f5ca0072, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

agents/code-reviewer.md · 173 lines

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 / hugesay 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

  1. 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?
  2. 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.)
  3. 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.
  4. 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.

Read the full file on GitHub · 173 lines

Changes

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.

  1. yesterday Changed · +11 lines 1737f5ca0072
  2. 5d ago First seen · 162 lines · 56 tokens per session scan A 613d4936069a

Subscribe to this mod's changes

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.

Related

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.

QBall-Inc/the-bulwark · 48 tokens

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.

QBall-Inc/the-bulwark · 63 tokens

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.

QBall-Inc/the-bulwark · 53 tokens

consistency-and-history

Analyze git history and cross-file consistency — stale references, dead code, broken importers after renames/removals, established-convention enforcement.

ncoevoet/claude-review-all · 34 tokens

gaia-operator

Use as the orchestrator's workspace operator, executing adjudicated operations or batches when no domain specialist owns the artifact.

metraton/gaia · 28 tokens

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.

VandanaAjayDubey111/great-pm · 49 tokens