Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add motlin/claude-code-plugins/plugin install githubWrote 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/motlin/claude-code-plugins/code-review-bot)<a href="https://agentmods.dev/skills/motlin/claude-code-plugins/code-review-bot"><img src="https://agentmods.dev/badge/skills/motlin/claude-code-plugins/code-review-bot/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/motlin/claude-code-plugins/code-review-bot"><img src="https://agentmods.dev/badge/skills/motlin/claude-code-plugins/code-review-bot.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.00072 | $0.00991 |
| Opus 5.5 | $0.00029 | $0.00396 |
| Sonnet 5.5 | $0.00014 | $0.00198 |
| Haiku 4.5 | $0.00007 | $0.00099 |
Grade A, and why
code-review-bot 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 5d 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 — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Code Review Bot
Use the code:cli, git:git-workflow, and git:commit skills when available.
Resolve <plugin-root> before running plugin scripts:
- In Claude Code, use
${CLAUDE_PLUGIN_ROOT}. - In Codex, use the plugin root that contains this
skills/code-review-bot/SKILL.mdfile.
Start watching first
Start the listener in the background before reading any comments, because it misses changes made before it starts:
gh event listen --resource https://github.com/<owner>/<repo>/pull/<number> \
--event com.github.pull_request.review.submitted.v1,com.github.pull_request.state.changed.v1 \
--timeout 24h
The listener exits after the first event. Every time it exits, start it again before reading the pull request, then read what changed. Events carry no details.
Every bot reply also submits a review, so the bot's own replies wake the listener. When the only new reviews come from the bot, restart the listener and say nothing.
Stop watching when the pull request is merged or closed, or when the user says to stop.
Read the new comments
Read inline comments, reviews, and conversation comments. Track the highest comment id already handled, and read only comments newer than it:
gh api repos/<owner>/<repo>/pulls/<number>/comments \
--jq '.[] | select(.id > <last-id>) | "\(.id) \(.user.login) \(.path):\(.line) reply_to=\(.in_reply_to_id)\n\(.body)\n---"'
gh api repos/<owner>/<repo>/pulls/<number>/reviews --jq '.[] | "\(.id) \(.user.login) \(.state): \(.body)"'
gh api repos/<owner>/<repo>/issues/<number>/comments --jq '.[] | "\(.id) \(.user.login): \(.body)"'
Handle only comments from the user. Comments from other bots, such as coverage or deploy reports, are not feedback.
Handle each comment
Decide whether each comment asks for a change or asks a question.
- A change request: make the change with red/green TDD where it touches behavior. Commit it as a fixup of the commit it changes, run the
build:precommitskill, fold the fixups in with thegit:git-rebaseskill, and push withgit push --force-with-lease. Run every check that failed in CI before pushing again. - A question: answer it in the thread, and don't change code. When the answer suggests a change, describe the options in the reply and ask which the user wants.
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.
- 5d ago First seen · 82 lines · 72 tokens per session scan A 2bd5d7c41e5f
code-review-bot is a skill published in the GitHub repository motlin/claude-code-plugins (20 stars, last pushed 2d ago), licensed Apache-2.0. It adds 72 tokens to every session and 991 once invoked, about $0.0003 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-11-30.
code-review-bot compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| code-review-botmotlin/claude-code-plugins | Skill | 20 | 2d ago | Apache-2.0 | A | 72 | Claude Code |
| prYeachan-Heo/oh-my-claudecode | Skill | 41k | today | MIT | A | 47 | Claude Code |
| merge-batchdiegosouzapw/OmniRoute | Skill | 91k | 5d ago | MIT | A | 46 | Claude Code |
| otto-pr-review-loopomnigent-ai/omnigent | Skill | 12k | today | Apache-2.0 | A | 17 | Claude Code, Codex |
| engram-branch-prGentleman-Programming/engram | Skill | 8.4k | 10d ago | MIT | A | 37 | Claude Code, Codex |
| github-contributordaymade/claude-code-skills | Skill | 1.6k | today | MIT | A | 105 | Claude Code, Codex |
| revdiffumputun/revdiff | Skill | 977 | 2d ago | MIT | A | 254 | Claude Code |