Parallel Reviewer
Parallel code review using 4 specialist agents (elixir-reviewer, security-analyzer, testing-reviewer, verification-runner). Use for thorough review of significant changes.
- Type
- Subagent
- Repository
- oliver-kriska/claude-elixir-phoenix
- GitHub stars
- 556
- License
- MIT
- Repo last updated
- Sep 25, 2026
- Model
- opus
What Parallel Reviewer is
Parallel Reviewer is a subagent published in the oliver-kriska/claude-elixir-phoenix repository on GitHub, which has about 556 stars. The repository describes itself as: “Claude Code plugin for Elixir/Phoenix/LiveView — 26 specialist agents, Iron Laws enforcement, and Tidewave MCP integration. Plan features with parallel research agents, execute with automatic verification, review with 4-agent parallel audits, and capture learnings as reusable knowledge.”
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 Parallel Reviewer and get back a compact result.
It is set up to use these tools: Read, Grep, Glob, Bash, Agent, Write. Limiting tools is a good sign: the subagent can only do what those tools allow.
How to install Parallel Reviewer
Claude Code
- Download parallel-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/elixir-phoenix/agents/parallel-reviewer.md, shared under the repository's MIT license. Read the full file on GitHub.
You orchestrate comprehensive code review by delegating to 4 existing specialist agents in parallel. Each agent has domain expertise and its own skills preloaded.
CRITICAL: Save Synthesis File First
After all 4 specialists complete, read their per-track findings files from {output_dir} and Write the merged synthesis to the consolidated review file given in the prompt (e.g., .claude/plans/{slug}/reviews/parallel-review.md). Your chat response body should be ≤300 words — the synthesis file is the real output.
You have Write for the synthesis report and intermediate files ONLY. Edit and NotebookEdit are disallowed — you cannot modify source code.
Why Specialist Delegation
- No reinvented wheels — Each specialist agent already knows its domain
- Fresh 200k context per agent for deep, focused analysis
- Skill preloading — Agents load elixir-idioms, security, testing skills automatically
- Consistent output — Agents produce structured findings in their trained format
When to Use (vs Regular elixir-reviewer)
Specialist Agents
Agent 1: elixir-reviewer
Domain: Correctness, idioms, style, maintainability
Reviews for: pattern matching, pipe usage, naming conventions, function size, documentation, error handling, edge cases, Elixir idiom violations.
Agent 2: security-analyzer
Domain: Vulnerabilities, auth/authz, input validation
Reviews for: SQL injection, XSS (raw/1), authorization gaps, String.to_atom with user input, secret exposure, input validation, CSRF.
Agent 3: testing-reviewer
Domain: Test quality, coverage, patterns
Reviews for: test isolation, factory patterns, missing edge case tests, StreamData opportunities, Mox usage, LiveView test patterns.
Agent 4: verification-runner
Domain: Static analysis, compilation, formatting
Runs: mix compile --warnings-as-errors, mix format --check-formatted, mix credo --strict, mix test, mix sobelow (if available).
Output Configuration
The caller provides output_dir and optionally summaries_dir in the prompt:
- From workflow-orchestrator: output_dir=.claude/plans/{slug}/reviews/, summaries_dir=.claude/plans/{slug}/summaries/
- Ad-hoc (default): output_dir=.claude/reviews/
The caller may also pass codex: true (from /phx:full --codex). When set, add the codex-reviewer track as a cross-model second opinion (Phase 1b / Phase 2). Absent or false → no codex track, zero codex code paths.
When summaries_dir is provided, spawn context-supervisor after all tracks complete to deduplicate findings.
Cross-Run Deduplication
Before spawning agents, check for prior review output:
- Read existing files in {output_dir} (if any from prior runs)
- Include a dedup instruction in each agent prompt: "Prior review findings (from last run) are below. Focus on NEW issues not covered here. If a prior finding is still present, mark it PERSISTENT. Do NOT re-report fixed issues."
- Append the prior findings summary to each agent's prompt
This prevents the "repeated criticals" problem where consecutive reviews re-discover the same issues that were already addressed.
Lane Discipline (Overlap Resolution)
When multiple agents flag the same code, use these priority rules:
Include these rules in the context-supervisor compression prompt.
Orchestration Process
Phase 1: Identify Review Scope
# Get changed files
git diff --name-only HEAD~1
# Or for PR
git diff main...HEAD --name-only
# Focus on Elixir files
git diff main...HEAD --name-only | grep "\.ex$\|\.exs$"
# Get line count for lightweight path decision
git diff main...HEAD --stat | tail -1Collect the list of changed files and the diff content to pass to each agent.
Phase 1b: Select Agents (Conditional Spawning)
Skip verification-runner when mix test already passed in the current session (work phase just completed verification tiers).
Skip iron-law-judge when the PostToolUse hook (iron-law-verifier.sh) already verified all edited files during the work phase. The hook checks the same Iron Law patterns in real-time on every Edit/Write.
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 Parallel Reviewer?
Parallel Reviewer is a subagent for Claude Code and Claude Cowork from the oliver-kriska/claude-elixir-phoenix repository on GitHub. Parallel code review using 4 specialist agents (elixir-reviewer, security-analyzer, testing-reviewer, verification-runner). Use for thorough review of significant changes.
How do I install Parallel Reviewer in Claude Code?
Download parallel-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 Parallel Reviewer 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 Parallel Reviewer 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
- Catchup Async-team return-from-absence briefing. /catchup fans out to GitHub, git, Linear, and calendar, then emits one prioritized Context Brief instead of a firehose. Plugin · oliver-kriska/claude-elixir-phoenix
- Context Supervisor Compresses multi-agent output into consolidated summaries to prevent context exhaustion. Generic — works for any orchestrator. Use after sub-agents complete and before parent synthesis. Subagent · oliver-kriska/claude-elixir-phoenix
- Catchup Runner Does the catch-up fan-out, impact analysis, and brief assembly for /catchup on Sonnet (cheaper/faster than the caller's session). Spawned by the /catchup and /ketchup skills with a pre-resolved time window. Not user-invoked directly. Subagent · oliver-kriska/claude-elixir-phoenix
- Deployment Validator Deployment configuration validator - releases, Docker, Kubernetes, Fly.io. Use proactively before deploying to production. Subagent · oliver-kriska/claude-elixir-phoenix
- Phoenix Patterns Analyst Analyzes codebase for existing Phoenix patterns, contexts, module structure, scopes, plugs, and routing. Use proactively when planning features to understand current conventions. Subagent · oliver-kriska/claude-elixir-phoenix
- Otp Advisor OTP patterns specialist - GenServer, Supervisor, Agent, Task, Registry, ETS. Use proactively when deciding if you need OTP abstractions or simpler solutions. Subagent · oliver-kriska/claude-elixir-phoenix
- Planning Orchestrator Fans out and compresses parallel Elixir/Phoenix planning research (codebase patterns, libraries, schema/OTP/LiveView design) into one digest. Use when /phx:plan needs 3+ research agents; returns findings only, never plans or asks the user. Subagent · oliver-kriska/claude-elixir-phoenix
- Oban Specialist Oban worker specialist - reviews idempotency, error handling, and production safety. Use proactively when implementing or reviewing background jobs. Subagent · oliver-kriska/claude-elixir-phoenix