Claude Code Reviewer — AI skill for Claude Code
An adversarial reviewer workflow for Claude Code that enforces mandatory AI review.
How to install Claude Code Reviewer
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open jazzsequence/claude-code-reviewer and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Code Reviewer does
An adversarial reviewer workflow for Claude Code that enforces mandatory AI review.
Alternatives in AI
- Codex — openai-codex Adversarial code review, Codex CLI integration, cross-model analysis 9.6k ★
- Flow Deliver — Multi-AI validation, scoring, and review using Codex and Gemini CLIs (Double Diamond Deliver phase) 2.8k ★
- Better Harness — Review this project's AI coding workflow with Better Harness and generate a durable report 2.1k ★
README
claude-code-reviewer
An adversarial reviewer workflow for [Claude Code](https://claude.ai/code) that enforces mandatory AI review.
How it works
Every time Claude Code tries to run `git commit`, a three-layer enforcement chain fires:
- PreToolUse hook — intercepts the commit before git starts; blocks with clear instructions if no approval
- Pre-commit shell hook — re-validates approval, enforces commit size limits, checks for secrets, runs your test suite
- CLAUDE.md instructions — tells the AI to always spawn a reviewer and never self-approve
The reviewer agent runs your tests, checks code quality, then writes an approval file carrying a timestamp and a fingerprint of the staged git index. The hooks validate both: the approval expires after `REVIEWER_APPROVAL_TIMEOUT`, and it is invalidated immediately if anything is staged or unstaged afterwards — so an approval issued for one diff cannot authorise a different one.
Requirements
- Claude Code CLI
- Git
- Bash (macOS/Linux/WSL)
- Node.js (for the PreToolUse hook handler)
jq(optional — enables automatic.claude/settings.jsonmerging when the file already exists)
No npm packages. No external services.
Quick start
# In your project directory:
curl -sSL https://raw.githubusercontent.com/jazzsequence/claude-code-reviewer/main/install.sh | bash
Or clone and run locally:
git clone https://github.com/jazzsequence/claude-code-reviewer
cd your-project
bash ../claude-code-reviewer/install.sh
The installer will ask for your test/lint/build commands, then set up everything automatically:
- Generates
.reviewer-config.sh - Installs the pre-commit hook
- Installs the PreToolUse hook handler
- Creates or merges
.claude/settings.json(usesjqto merge if the file already exists) - Prepends the reviewer workflow block to
CLAUDE.md - Prepends the reviewer agent prompt to
AGENTS.md
Post-install
Test that the hook is blocking correctly:
echo
Related Skills
Agy Plugin Cc
agy-plugin-cc is a Claude Code companion for running Gemini CLI or Antigravity CLI (agy) as a cross-model task
Roast
Enforces Law 1 (Research Before Executing) of the 7 Laws of AI Agent Discipline. Convene a 5-persona adversari
Supergraph
Engineering workflow system for AI coding agents — mandatory planning, TDD, verification, review, and intellig
Simplicity Review
Enforces Law 4 (Verify Before Reporting) of the 7 Laws of AI Agent Discipline. Reviews the current diff for ov
Concilium Review
Route a claim, or the uncommitted diff, to the cross-model Concilium reviewer.
Smart PR Review
git clone https://github.com/fullstackcrew-alpha/skill-smart-pr-review Opinionated AI code reviewer with 6-lay
Related Agents
Efficiency Config Agent
Primary coding agent for Notaire. Executes implementation, debugging, refactoring, and review tasks with minim
Review Risk.Agent
Read-only security and risk reviewer. Surfaces elevated privilege, PII exposure, injection vectors, and auth b
Acx Reviewer
AgentCortex /review phase executor. Use when delegating code review that must apply adversarial checks, AC ali