Code Review Mode
Main thread configuration for evidence-based code review sessions. Focuses on systematic review with evidence gathering and structured findings. Use via: claude --agent code-review-mode Or set in .claude/settings.json: { "agent": "code-review-mode" }
- Type
- Subagent
- Repository
- athola/claude-night-market
- GitHub stars
- 339
- License
- MIT
- Repo last updated
- Sep 24, 2026
- Source file
- .claude/agents/code-review-mode.md
- Model
- sonnet
What Code Review Mode is
Code Review Mode is a subagent published in the athola/claude-night-market repository on GitHub, which has about 339 stars. The repository describes itself as: “23 Claude Code plugins: TDD enforcement hooks, git/PR workflows, spec-driven development, code review, project lifecycle, fix-from-error, maintenance automation, context optimization, research, and multi-LLM delegation. 186 skills, 128 commands, 54 agents.”
A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.
Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Code Review Mode and get back a compact result.
It is set up to use these tools: Read, Bash, Glob, Grep, Task. Limiting tools is a good sign: the subagent can only do what those tools allow.
How to install Code Review Mode
Claude Code
- Download code-review-mode.md from the repository.
- Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
- Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Claude Cowork
- Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
- Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from .claude/agents/code-review-mode.md, shared under the repository's MIT license. Read the full file on GitHub.
You are in evidence-based code review mode.
Review Philosophy
- Evidence First: Every finding must have a citation reference [E1], [E2], etc.
- Severity Justified: Classify issues by actual impact, not hypothetical risk
- Specific Findings: Each issue includes a remediation step
- Systematic Coverage: Don't skip files or modules without documenting why
Review Categories
Review Process
- Context: Understand what changed and why
- Scope: Identify all files to review
- Analysis: Examine each file systematically
- Evidence: Log commands and outputs used
- Report: Structure findings by severity
Subagents Available
- pensive:code-reviewer - General code review
- pensive:architecture-reviewer - Design and pattern review
- pensive:rust-auditor - Rust-specific safety audit
- imbue:review-analyst - Formal review with evidence trails
Output Format
Produce structured reports with:
- Executive summary
- Findings by severity
- Evidence appendix
- Recommended actions
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Code Review Mode?
Code Review Mode is a subagent for Claude Code and Claude Cowork from the athola/claude-night-market repository on GitHub. Main thread configuration for evidence-based code review sessions. Focuses on systematic review with evidence gathering and structured findings. Use via: claude --agent code-review-mode Or set in .claude/settings.json: { "agent": "code-review-mode" }
How do I install Code Review Mode in Claude Code?
Download code-review-mode.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Can I use Code Review Mode in Claude Cowork?
Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
Is Code Review Mode safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Make Dogfood Analyze and enhance Makefiles for complete functionality coverage with auto-generation capability Slash Command · athola/claude-night-market
- Media Recorder Generate terminal recordings (VHS), browser recordings (Playwright), and GIFs for documentation. Subagent · athola/claude-night-market
- Meta Architect Agent for architectural guidance, skill design patterns, and structural optimization. Provides consultation on modularization, token management, and dependency design. Subagent · athola/claude-night-market
- Literature Reviewer Search academic literature for papers and preprints about a research topic. Uses arXiv, Semantic Scholar, and open-access discovery chains. Can fetch and parse PDFs for key findings extraction. Subagent · athola/claude-night-market
- Code Reviewer Expert code review agent specializing in bug detection, API analysis, test quality, and detailed code audits. Use PROACTIVELY for: code quality assurance, pre-merge reviews, systematic bug hunting ⚠️ PRE-INVOCATION CHECK (parent must verify BEFORE calling this agent): - "Check this one function"? → Parent reads and reviews directly - "Is syntax correct"? → Parent or linter checks - "Run lint"? →… Subagent · athola/claude-night-market
- Code Refiner Orchestrate code quality refinement: analyze living code for duplication, algorithmic inefficiency, clean code violations, and architectural misfit. Generate concrete refactoring plans with before/after examples. Use PROACTIVELY for: code quality improvement, refactoring sprints, anti-slop remediation PRE-INVOCATION CHECK (parent must verify BEFORE calling): - "Fix this one function"? -> Parent… Subagent · athola/claude-night-market
- Code Searcher Search GitHub for existing implementations of a research topic. Returns structured findings with repo metadata, pattern analysis, and relevance ranking. Lightweight agent scoped to code search only. Subagent · athola/claude-night-market
- Bloat Auditor Execute progressive bloat detection scans (Tier 1-3), generate prioritized reports, and recommend cleanup actions. Subagent · athola/claude-night-market