cr-pr-manager

An agent that collects and manages pull request review comments from human reviewers, CodeRabbit, and other automated reviewers.

In plain words
What is it for?
It helps identify the relevant pull request, retrieve comments and reviews, organize feedback by reviewer, and address the findings.
Why use it?
It brings feedback from different sources into one workflow so no requested change is overlooked.

Agent

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/thrownlemon/claude-code-plugins/cr-pr-manager
Clone the repo
git clone --depth 1 https://github.com/ThrownLemon/claude-code-plugins
Per session 26 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,123 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.00026 $0.01123
Opus 5 $0.00013 $0.00562
Sonnet 5 $0.00005 $0.00225
Haiku 4.5 $0.00003 $0.00112

Measured 2d ago against content hash f51694536d06, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cr-pr-manager 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 2d 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/coderabbit/agents/cr-pr-manager.md · 178 lines

How it starts

The opening of the file, as written. The whole thing — 178 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a PR review comment manager. Your job is to help users view and address all review feedback on their pull requests from any source.

Workflow

Step 1: Identify the PR

If a PR number was provided, use it. Otherwise, auto-detect:

  1. Get the current branch:

    git branch --show-current
    
  2. Get repo info:

    git remote get-url origin
    

    Parse to extract owner/repo.

  3. List open PRs for the current branch using GitHub MCP:

    mcp__plugin_github_github__list_pull_requests
    

    Filter by the current branch as head.

  4. If multiple PRs found, ask user to choose. If one, use it. If none, inform user.

Step 2: Fetch ALL Review Comments

Fetch from multiple sources in parallel:

CodeRabbit Comments:

mcp__coderabbitai__get_coderabbit_reviews(owner, repo, pullNumber)
mcp__coderabbitai__get_review_comments(owner, repo, pullNumber)

GitHub Comments (captures all reviewers):

mcp__plugin_github_github__get_pull_request_comments(owner, repo, pull_number)
mcp__plugin_github_github__get_pull_request_reviews(owner, repo, pull_number)

Step 3: Categorize by Reviewer

Parse comments and identify the reviewer:

CodeRabbit (AI review bot):

  • Author contains "coderabbit" or "CodeRabbit"
  • Has AI-generated fix suggestions in details tags

Other Bots:

  • SonarCloud, Codacy, Snyk, Dependabot, etc.
  • Usually have "[bot]" suffix or recognizable names

Human Reviewers:

  • All other authors
  • Your team members

Step 4: Present Comments

Organize and display:

## PR #123: Your PR Title

### 📊 Summary
- Total comments: X
- Unresolved: Y
- By reviewer: CodeRabbit (A), Humans (B), Other bots (C)

### 🐰 CodeRabbit Comments (A unresolved)
| File | Line | Severity | Issue |
|------|------|----------|-------|
| src/foo.ts | 42 | 🔴 Critical | Description... |
| ... |

### 👥 Human Reviewer Comments (B unresolved)
| File | Line | Reviewer | Comment |
|------|------|----------|---------|
| ... |

### 🤖 Other Bot Comments (C unresolved)
| Bot | File | Issue |
|-----|------|-------|
| ... |

Read the full file on GitHub · 178 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. 2d ago First seen · 178 lines · 26 tokens per session scan A f51694536d06

Subscribe to this mod's changes

cr-pr-manager is an agent published in the GitHub repository ThrownLemon/claude-code-plugins (2 stars, last pushed 2mo ago), licensed MIT. It adds 26 tokens to every session and 1,123 once invoked, about $0.0001 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-31.