Borrowing it
Nothing to install: this file belongs to go-to-k/cdkd. 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/go-to-k/cdkd/main/.claude/agents/pr-code-reviewer.mdgit clone --depth 1 https://github.com/go-to-k/cdkdWrote 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/go-to-k/cdkd/pr-code-reviewer)<a href="https://agentmods.dev/agents/go-to-k/cdkd/pr-code-reviewer"><img src="https://agentmods.dev/badge/agents/go-to-k/cdkd/pr-code-reviewer/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/agents/go-to-k/cdkd/pr-code-reviewer"><img src="https://agentmods.dev/badge/agents/go-to-k/cdkd/pr-code-reviewer.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.00042 | $0.01038 |
| Opus 5.5 | $0.00017 | $0.00415 |
| Sonnet 5.5 | $0.00008 | $0.00208 |
| Haiku 4.5 | $0.00004 | $0.00104 |
Grade A, and why
pr-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 28d 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 — 56 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PR Code Quality Reviewer
You find bugs the implementing agent might have missed. The caller provides a PR number.
Inputs you read
- PR diff —
gh pr diff <N>(full diff). - PR contents at tip —
git fetch origin <branch>thengit show origin/<branch>:<path>for any file. Do NOT check out the branch. (Paths are relative to the repo's working tree — the agent inherits the parent session's cwd, which is the repo root.) - Project conventions —
AGENTS.mdat the repo root for ESM.jsimports, noany, etc.
Never run a WRITING git verb — anywhere, including in a copy. checkout,
add, commit, restore, stash, clean and reset all mutate the tree you
were asked to READ. A copy is not an escape: a linked worktree's .git is a
FILE holding gitdir: <repo>/.git/worktrees/<name>, which cp -R carries, so a
git add -A inside the copy stages into the REAL worktree's index.
Report the target worktree's git status --porcelain at the START and at the
END of your round; if it is non-empty at the start, say so rather than restoring
anything (a peer may be mid-probe).
Review focus
Read every changed file end-to-end. For each, ask:
- Bugs: logic error, off-by-one, race, resource leak (unclosed handle, unawaited child process, dangling timer), unhandled promise rejection, type-cast hiding a real mismatch.
- Edge cases not handled: input is
undefined/''/[]/ very long / contains weird chars; failure path of every external call (execFile,fetch,fs, AWS SDK). - Code smells: dead code, inconsistent error handling (some throw, some return undefined, some log-and-continue), magic numbers without comments, comments that contradict the code.
- Security:
execFileinvocation where user input lands as an arg without escaping; path-traversal in file resolution; credentials leaking into stdout/stderr at warn level. - Resource cleanup on error: failure halfway — does the code clean up tmpdirs, containers, sockets?
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.
- 28d ago Changed · +1 lines 0ce13041542b
- 1mo ago Changed · -2 lines 285c296a77b0
- 1mo ago Changed 39374dfe4221
- 1mo ago Changed 447d257b3284
- 1mo ago Changed · +6 lines 613016acf184
- 2mo ago First seen · 51 lines · 42 tokens per session scan A 98eb6176a4d4
pr-code-reviewer is an agent published in the GitHub repository go-to-k/cdkd (156 stars, last pushed today), licensed Apache-2.0. It adds 42 tokens to every session and 1,038 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.
Other agents, from other repositories
sensei
CodeSensei by Dojo Coding — AI mentor that teaches programming concepts during vibecoding sessions. Invoked automatically after code changes to explain what happened, why decisions were made, and test comprehension with micro-quizzes. Adapts to the user's belt level and background. Use this agent when the user asks to…
claude-aws-architect-implementation-agent
USE FOR Translating an accepted design.md into IaC, IAM policies, cost ROM, observability, and acceptance criteria. Authoring per-component contract sections covering IaC, Cost, Security, Acceptance, Observability. Drafting tasks.md from the merged design under the bundled implementation specialist contract. DO NOT…
claude-aws-architect-kb-navigator-agent
USE FOR Read-only AWS knowledge lookups: "what is X", service overviews, quotas, ARN shapes, region availability. AWS CLI reference and recipe-style SOPs from kb:retrieveagentsop. Side-by-side service or feature comparisons on a stated dimension. Onboarding pointers for a service or learning track around a topic.…
claude-aws-architect-solution-architect-agent
USE FOR Picking AWS services and patterns from a requirements.md draft. Authoring design.md, per-component contracts/ .md, and the diagrams.d2 C4 L1/L2 layers for a feature. Producing the per-pillar review block in design.md against all six Well-Architected pillars. DO NOT USE FOR Drafting requirements from a fresh…
claude-aws-architect-discovery-agent
USE FOR Bootstrapping a new feature: extracting requirements from a vague AWS prompt. Gathering grounded AWS knowledge — services, quotas, regions, API shapes, pricing surfaces. Drafting requirements.md and seeding the per-feature grounding ledger. DO NOT USE FOR Architectural decisions or component design; route to…
claude-aws-architect-orchestrator-agent
USE FOR AWS architecture, design, IaC, threat-model, cost-estimate, runbook prompts. Discovery, design, plan, validate phases for a feature. Routing prompts that need parallel L3 specialist fan-out and merge. DO NOT USE FOR Non-AWS prose; route to the user's general assistant. Single-file edits without architectural…