code-review

code-review is a skill for Claude Code, Codex from BlackBeltTechnology/pi-agent-dashboard. It costs 61 tokens per session (1,607 once invoked), scanned A, original, MIT.

An automated review of code changes using CodeRabbit, a cloud service that checks diffs for bugs, security issues, and quality risks.

In plain words
What is it for?
Use it to review uncommitted or committed changes, inspect a pull request, check a directory or branch range, and re-review after fixes.
Why use it?
It gives structured feedback on changed code before a commit or pull request, so problems are easier to find and fix early.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

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 skills/blackbelttechnology/pi-agent-dashboard/code-review
Any agent
npx skills add BlackBeltTechnology/pi-agent-dashboard --skill code-review
Clone the repo
git clone --depth 1 https://github.com/BlackBeltTechnology/pi-agent-dashboard

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/blackbelttechnology/pi-agent-dashboard/code-review.svg)](https://agentmods.dev/skills/blackbelttechnology/pi-agent-dashboard/code-review)
Your own site
<a href="https://agentmods.dev/skills/blackbelttechnology/pi-agent-dashboard/code-review"><img src="https://agentmods.dev/badge/skills/blackbelttechnology/pi-agent-dashboard/code-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,607 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.1 $0.00061 $0.01607
Opus 5 $0.00030 $0.00804
Sonnet 5 $0.00012 $0.00321
Haiku 4.5 $0.00006 $0.00161

Measured 6d ago against content hash 72b2ed407006, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

code-review 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 6d 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.

packages/code-review-toolkit/.pi/skills/code-review/SKILL.md · 137 lines

How it starts

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

CodeRabbit Code Review

AI-powered code review using the CodeRabbit CLI. Two modes:

  • On-demand review — user asks "review my code"; you run, group findings, report.
  • Development inner loop — after writing code, review uncommitted changes, fix Critical/Warning, re-review before committing. This is how you keep changes clean as part of normal development, not just at PR time.

CodeRabbit CLI is cloud-backed — no local model. It sends diffs to the CodeRabbit API. Usage is rate-limited per plan, not by local hardware. If a review fails with a rate/usage limit, see Usage Limits.

Capabilities

  • Finds bugs, security issues, and quality risks in changed code
  • Groups findings by severity (Critical, Warning, Info)
  • Works on uncommitted, committed, or all changes; supports base branch/commit and directory scoping
  • --agent emits structured JSON for agent-readable parsing and fix guidance

When to Use

  • Review code changes / review my code / what's wrong with my changes
  • Check code quality / find bugs or security issues
  • Get PR feedback / pull request review
  • Run coderabbit / use coderabbit
  • Autonomously: after implementing a non-trivial change and before committing, run the inner loop (see below).

How to Review

1. Check Prerequisites

coderabbit --version 2>/dev/null || echo "NOT_INSTALLED"
coderabbit auth status 2>&1

The --agent flag requires CodeRabbit CLI v0.4.0+ (this repo verified on v0.5.2). If older, ask the user to upgrade (coderabbit update).

If not installed, tell the user to install from the official source (https://www.coderabbit.ai/cli), preferring a package manager; verify checksum/signature for direct binaries. Never pipe remote scripts to a shell.

If not authenticated: coderabbit auth login.

2. Pick Scope (Diff Scoping)

Match the scope to the moment. Real v0.5.2 flags only:

Moment Command
Dev inner loop (fast, pre-commit) coderabbit review --agent -t uncommitted
Pre-push / CI gate coderabbit review --agent -t committed --base main
Full review (default, all changes) coderabbit review --agent
Against a commit coderabbit review --agent --base-commit <hash>
Scoped to a subdir (must be a git repo) coderabbit review --agent --dir path/to/dir
Extra repo conventions/constraints coderabbit review --agent -c AGENTS.md -c coderabbit.yaml

Read the full file on GitHub · 137 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. 6d ago First seen · 137 lines · 61 tokens per session scan A 72b2ed407006

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository BlackBeltTechnology/pi-agent-dashboard (273 stars, last pushed today), licensed MIT. It adds 61 tokens to every session and 1,607 once invoked, about $0.0003 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-30.