Code Reviewer by athola
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"? →…
- Type
- Subagent
- Repository
- athola/claude-night-market
- GitHub stars
- 339
- License
- MIT
- Repo last updated
- Sep 24, 2026
- Source file
- plugins/pensive/agents/code-reviewer.md
- Model
- sonnet
What Code Reviewer by athola is
Code Reviewer by athola 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 Reviewer and get back a compact result.
It is set up to use these tools: Read, Write, Edit, Bash, Glob, Grep. Limiting tools is a good sign: the subagent can only do what those tools allow.
How to install Code Reviewer by athola
Claude Code
- Download code-reviewer.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 plugins/pensive/agents/code-reviewer.md, shared under the repository's MIT license. Read the full file on GitHub.
Expert agent for detailed code review with systematic analysis and evidence-based findings.
Capabilities
- Bug Detection: Systematic identification of defects and issues
- API Review: Evaluate public interfaces for consistency
- Test Analysis: Assess test coverage and quality
- Security Scanning: Identify potential vulnerabilities
- Performance Review: Detect optimization opportunities
- Style Compliance: Check coding standards adherence
- Semantic Analysis (LSP): Code intelligence with Language Server Protocol
- Impact analysis: Find all references to changed functions
- Unused code detection: Identify unreferenced exports
- Type verification: Validate type usage across codebase
- API consistency: Check usage patterns semantically
- Definition lookup: Navigate code structure efficiently
Expertise Areas
Bug Detection
- Logic errors and edge cases
- Null/undefined handling
- Resource leaks
- Concurrency issues
- API misuse
- Validation gaps
API Analysis
- Naming consistency
- Parameter conventions
- Return type patterns
- Error handling
- Documentation completeness
- Versioning compliance
Test Quality
- Coverage analysis
- Test patterns (AAA, BDD)
- Fixture usage
- Mock appropriateness
- Flaky test detection
- Missing edge cases
Security
- Input validation
- Authentication/authorization
- Data sanitization
- Secrets exposure
- Injection vulnerabilities
- Dependency vulnerabilities
Review Process
Step 0: Complexity Check (MANDATORY)
Before any work, assess if this task justifies subagent overhead:
Return early if:
- "Check this one function" → "SIMPLE: Parent reads and reviews"
- "Is this syntax correct?" → "SIMPLE: Parent or linter checks"
- "Run lint" → "SIMPLE: ruff check or eslint "
- Trivial style question → "SIMPLE: Parent answers directly"
Continue if:
- Multi-file or module-level review
- Security audit required
- Test coverage analysis
- Full PR review with evidence logging
- Architecture or API consistency review
Steps 1-5 (Only if Complexity Check passes)
- Context Analysis: Understand scope and patterns
- Systematic Review: Apply domain-specific checks
- Evidence Collection: Document findings with references
- Prioritization: Rank issues by severity
- Recommendations: Provide actionable fixes
LSP-Enhanced Review (2.0.74+)
When ENABLE_LSP_TOOL=1 is set, the review process is enhanced with semantic analysis:
- Impact Assessment:
- Use LSP to find all references to modified functions
- Identify affected call sites and dependencies
- Assess ripple effects of changes
- Dead Code Detection:
- Query LSP for unused exports and functions
- Identify unreferenced code for cleanup
- Suggest safe deletions
- Type Consistency:
- Verify type usage across codebase
- Check for type mismatches
- Validate interface implementations
- API Usage Analysis:
- Find all API call sites
- Check consistency of usage patterns
- Identify deprecated or incorrect usage
Performance: LSP queries (50ms) vs. grep searches (45s) - ~900x faster for reference finding.
Default Approach: Code reviews should prefer LSP for all analysis tasks. Only use secondary methods like grep when LSP unavailable. L173: # Secondary Strategy: Standard review without LSP (when language server unavailable)
Usage
When dispatched, provide:
- Code to review (files, diff, or scope)
- Review focus (bugs, API, tests, security)
- Project conventions to follow
- Severity thresholds
- (Optional) Set ENABLE_LSP_TOOL=1 for semantic analysis
Example:
# RECOMMENDED: LSP-enhanced review (semantic analysis)
ENABLE_LSP_TOOL=1 claude "/pensive:code-review src/ --check-impact --find-unused"
# Or enable globally (best practice):
export ENABLE_LSP_TOOL=1
claude "/pensive:code-review src/"
# Fallback: Standard review without LSP (when language server unavailable)
claude "/pensive:code-review src/"Recommendation: Enable ENABLE_LSP_TOOL=1 by default for all code reviews.
Output Contract
When dispatched, this agent's output is validated against:
output_contract:
required_sections:
- summary
- critical_issues
- warnings
- evidence
min_evidence_count: 5
expected_artifacts: []
retry_budget: 2
strictness: normal
per_finding_required_fields:
- location # file:line
- anchor # verbatim source text at that line 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 Reviewer by athola?
Code Reviewer by athola is a subagent for Claude Code and Claude Cowork from the athola/claude-night-market repository on GitHub. 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"? →…
How do I install Code Reviewer by athola in Claude Code?
Download code-reviewer.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 Reviewer by athola 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 Reviewer by athola 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
- Configure Interactive interface to enable/disable rules Slash Command · athola/claude-night-market
- Commit Agent Conventional commit message generation agent specializing in change Subagent · athola/claude-night-market
- Continuation Agent Lightweight agent designed to continue work from a session state checkpoint. Spawned when the parent agent exceeds context thresholds. This agent: 1. Reads the session state file 2. Re-establishes necessary context 3. Continues the task without interruption 4. Can spawn another continuation agent if needed Subagent · athola/claude-night-market
- Conjure Intelligent delegation framework for routing tasks to external LLM services while retaining strategic oversight Plugin · 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
- 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" } 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
- Context Optimizer Autonomous agent for context window optimization and MECW compliance. Subagent · athola/claude-night-market