code-review-bot

code-review-bot is a skill for Claude Code from motlin/claude-code-plugins. It costs 72 tokens per session (991 once invoked), scanned A, original, Apache-2.0.

A GitHub pull-request assistant that replies to review comments as the repository’s GitHub App bot and keeps watching for new feedback. A pull request is a proposed code change being discussed before it is merged.

In plain words
What is it for?
Use it to address reviewer comments, post bot replies, submit the resulting reviews, and monitor the pull request for further feedback.
Why use it?
It prevents missed follow-up comments and keeps replies in the correct discussion threads. It also stops watching when the pull request is closed, merged, or when you ask it to stop.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions Claude Code; mentions Codex.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the github plugin — 3 skills shipped together

Good fit Use it to address reviewer comments, post bot replies, submit the resulting reviews, and monitor the pull request for further feedback.

Compare 6 skills from other repositories ↓
Install

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.

Claude Code
/plugin marketplace add motlin/claude-code-plugins
Claude Code
/plugin install github

Made for: Claude Code.

Or install github, the plugin that ships this one along with the rest of its 3 skills.

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-review-bot

README.md
[![agentmods](https://agentmods.dev/badge/skills/motlin/claude-code-plugins/code-review-bot/github.svg)](https://agentmods.dev/skills/motlin/claude-code-plugins/code-review-bot)
Your own site
<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.

agentmods 80×15 button for code-review-bot

Your own site · 80×15
<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>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 991 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.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

Measured 5d ago against content hash 2bd5d7c41e5f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

plugins/github/skills/code-review-bot/SKILL.md · 82 lines

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.md file.

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:precommit skill, fold the fixups in with the git:git-rebase skill, and push with git 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.

Read the full file on GitHub · 82 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. 5d ago First seen · 82 lines · 72 tokens per session scan A 2bd5d7c41e5f

Subscribe to this mod's changes

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.

Related

code-review-bot compared with skills from other repositories

code-review-bot next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-review-botmotlin/claude-code-pluginsSkill202d agoApache-2.0A72Claude Code
prYeachan-Heo/oh-my-claudecodeSkill41ktodayMITA47Claude Code
merge-batchdiegosouzapw/OmniRouteSkill91k5d agoMITA46Claude Code
otto-pr-review-loopomnigent-ai/omnigentSkill12ktodayApache-2.0A17Claude Code, Codex
engram-branch-prGentleman-Programming/engramSkill8.4k10d agoMITA37Claude Code, Codex
github-contributordaymade/claude-code-skillsSkill1.6ktodayMITA105Claude Code, Codex
revdiffumputun/revdiffSkill9772d agoMITA254Claude Code