Borrowing it
Nothing to install: this file belongs to kamiazya/scopes. 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/kamiazya/scopes/main/.claude/commands/code-rabbit.mdgit clone --depth 1 https://github.com/kamiazya/scopesWrote 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/commands/kamiazya/scopes/code-rabbit)<a href="https://agentmods.dev/commands/kamiazya/scopes/code-rabbit"><img src="https://agentmods.dev/badge/commands/kamiazya/scopes/code-rabbit/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/commands/kamiazya/scopes/code-rabbit"><img src="https://agentmods.dev/badge/commands/kamiazya/scopes/code-rabbit.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.00000 | $0.00755 |
| Opus 5.5 | $0.00000 | $0.00302 |
| Sonnet 5.5 | $0.00000 | $0.00151 |
| Haiku 4.5 | $0.00000 | $0.00076 |
Grade A, and why
code-rabbit 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 2mo 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.
This is a copy
100% identical to code-rabbit — 1 line differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 121 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CodeRabbit Review Handler
Process CodeRabbit review comments with context-aware discretion.
Usage
/code-rabbit
Then paste one or more CodeRabbit comments.
Instructions
1. Initial Context
Inform the user:
I'll review the CodeRabbit comments with discretion, as CodeRabbit doesn't have access to the entire codebase and may not understand the full context.
For each comment, I'll:
- Evaluate if it's valid given our codebase context
- Accept suggestions that improve code quality
- Ignore suggestions that don't apply to our architecture
- Explain my reasoning for accept/ignore decisions
2. Process Comments
Single File Comments
If all comments relate to one file:
- Read the file for context
- Evaluate each suggestion
- Apply accepted changes in batch using MultiEdit
- Report which suggestions were accepted/ignored and why
Multiple File Comments
If comments span multiple files:
Launch parallel sub-agents using Task tool:
Task:
description: "CodeRabbit fixes for {filename}"
subagent_type: "general-purpose"
prompt: |
Review and apply CodeRabbit suggestions for {filename}.
Comments to evaluate:
{relevant_comments_for_this_file}
Instructions:
1. Read the file to understand context
2. For each suggestion:
- Evaluate validity given codebase patterns
- Accept if it improves quality/correctness
- Ignore if not applicable
3. Apply accepted changes using Edit/MultiEdit
4. Return summary:
- Accepted: {list with reasons}
- Ignored: {list with reasons}
- Changes made: {brief description}
Use discretion - CodeRabbit lacks full context.
3. Consolidate Results
After all sub-agents complete:
📋 CodeRabbit Review Summary
Files Processed: {count}
Accepted Suggestions:
{file}: {changes_made}
Ignored Suggestions:
{file}: {reason_ignored}
Overall: {X}/{Y} suggestions applied
4. Common Patterns to Ignore
- Style preferences that conflict with project conventions
- Generic best practices that don't apply to our specific use case
- Performance optimizations for code that isn't performance-critical
- Accessibility suggestions for internal tools
- Security warnings for already-validated patterns
- Import reorganization that would break our structure
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.
- 2mo ago First seen · 121 lines · 0 tokens per session scan A f21bfc73b0a5
code-rabbit is a command published in the GitHub repository kamiazya/scopes (2 stars, last pushed 11mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 755 tokens. A static security scan graded it A with 0 findings. It is 100% identical to code-rabbit, differing in 1 line, and is treated as a copy.
code-rabbit compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| code-rabbitkamiazya/scopes | Command | 2 | 11mo ago | Apache-2.0 | A | 0 | Claude Code |
| is-not-duplicatedArenukvern/mcp_flutter | Command | 395 | 20d ago | MIT | A | 0 | Claude Code, Cursor |
| diagnose-deeptracezscaler/zscaler-mcp-server | Command | 55 | 10d ago | MIT | A | 29 | Claude Code |
| create-access-rulezscaler/zscaler-mcp-server | Command | 55 | 10d ago | MIT | A | 20 | Claude Code |
| investigate-incidentzscaler/zscaler-mcp-server | Command | 55 | 10d ago | MIT | A | 27 | Claude Code |
| review-attack-surfacezscaler/zscaler-mcp-server | Command | 55 | 10d ago | MIT | A | 27 | Claude Code |
| create-timeout-rulezscaler/zscaler-mcp-server | Command | 55 | 10d ago | MIT | A | 21 | Claude Code |