Skip to main content
subagent CX Codex

pr-manager — Claude Code subagent for pull requests

pr-manager coordinates pull request reviews, tests, and merge work through GitHub tools and a swarm of agents. It can also reuse patterns saved from earlier PR tasks.

no license ★ 850 updated 2026-10-26

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/agents/pr-manager.md
Open on GitHub

What pr-manager does

pr-manager splits pull request work across agents. It can coordinate code reviews, run checks, track PR status, and help resolve conflicts or choose a merge strategy. GitHub tasks use tools for PR management, code review, and metrics; swarm tools handle agent coordination and task orchestration.

A pre-task hook checks gh authentication, Git status, and open pull requests, then runs npm test. GitHub CLI authentication is required for this check to pass. The agent searches stored patterns for similar work and records outcomes for later use; after a successful task, it can train a pattern through claude-flow.

To install it in Claude Code, place the agent file at .claude/agents/pr-manager.md. Its tool list includes mcp__claude-flow__... and mcp__agentic-flow__... tools, which are needed for the described swarm coordination and pattern storage.

What it helps with

  • coordinate several reviewers on a pull request
  • run PR checks and tests before merging
  • find related changes and potential conflicts
  • save a successful PR workflow for later tasks

Example prompts for the agent

  • Review the open pull request, run the tests, and prepare a merge recommendation.
  • Coordinate agent reviews for these changes and check for likely conflicts.
  • Check the current branch’s PR status and save the outcome for future tasks.

How to install pr-manager

Manually: put the files in place

.claude/agents/pr-manager.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about pr-manager

How do I install pr-manager in Claude Code?

Place the agent file at .claude/agents/pr-manager.md so Claude Code can load it.

What does pr-manager do?

It coordinates pull request reviews, testing, and merge work. It can search stored patterns from earlier tasks and save new outcomes.

What does pr-manager need to check GitHub PRs?

Its hook runs gh auth status and then npm test. The described coordination and pattern storage use MCP tools from claude-flow and agentic-flow.

Similar subagents

All subagents for Code review and refactoring →

From the same set76

The whole set →
v3-performance-engineer v3-performance-engineer — a subagent that benchmarks claude-flow v3 and pushes it toward stated goals: Flash Attention, HNSW search, cold start, memory. Use it when the numbers are claimed and need proving. CX Codex ★ 850repo stars multi-repo-swarm multi-repo-swarm — a subagent for Claude Code that orchestrates multiple agents across your organization's repositories. Runs synchronized tasks, manages dependencies, and links pull requests between projects. CX Codex ★ 850repo stars consensus-coordinator consensus-coordinator — a Claude subagent that computes distributed consensus: Byzantine fault tolerance, voting and agreement across an agent swarm. CX Codex ★ 850repo stars specification SPARC specification subagent for requirements analysis. Gathers acceptance criteria, outlines project scope, and learns from previous patterns via claude-flow. CX Codex ★ 850repo stars reviewer A reviewer persona for Claude that reads a change like a senior engineer: behaviour, security holes, slow paths, standards, docs. You get a summary with critical issues. CX Codex ★ 850repo stars refinement SPARC refinement phase agent for iterative code polish. Drives test-driven development: creates failing tests, satisfies them, and cleans up structure. CX Codex ★ 850repo stars release-swarm release-swarm coordinates release work from change analysis and changelog preparation to builds, tests, and deployment across configured targets. CX Codex ★ 850repo stars sona-learning-optimizer sona-learning-optimizer — a subagent that logs every task as a trajectory and nudges quality up by reusing similar past patterns and LoRA fine-tuning. CX Codex ★ 850repo stars

Project sponsors

Companies that keep this analytics open