agent-swarm-pr

agent-swarm-pr is a skill for Claude Code, Codex from henryalouf/ruflow. It costs 18 tokens per session (3,016 once invoked), scanned A, a copy of agent-swarm-pr, MIT.

A GitHub pull-request coordinator that uses multiple AI agents to review changes, validate them, and manage the pull request through merging.

In plain words
What is it for?
It helps analyze pull-request diffs, assign review tasks, post findings, update pull requests, and coordinate merge decisions.
Why use it?
It organizes review and integration work across several agents, so complex pull requests do not depend on one manual review flow.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: names the TodoWrite tool; mentions Claude Code; installed under .agents/ (shared by several agents).

Good fit It helps analyze pull-request diffs, assign review tasks, post findings, update pull requests, and coordinate merge decisions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/henryalouf/ruflow/agent-swarm-pr
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add henryalouf/ruflow --skill agent-swarm-pr
Clone the repo
git clone --depth 1 https://github.com/henryalouf/ruflow

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-swarm-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/henryalouf/ruflow/agent-swarm-pr/github.svg)](https://agentmods.dev/skills/henryalouf/ruflow/agent-swarm-pr)
Your own site
<a href="https://agentmods.dev/skills/henryalouf/ruflow/agent-swarm-pr"><img src="https://agentmods.dev/badge/skills/henryalouf/ruflow/agent-swarm-pr/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agent-swarm-pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/henryalouf/ruflow/agent-swarm-pr"><img src="https://agentmods.dev/badge/skills/henryalouf/ruflow/agent-swarm-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,016 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00018 $0.03016
Opus 5 $0.00009 $0.01508
Sonnet 5 $0.00004 $0.00603
Haiku 4.5 $0.00002 $0.00302

Measured 6d ago against content hash 0110ff809163, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

agent-swarm-pr scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

const { execSync } = require('child_process');
Origin

This is a copy

100% identical to agent-swarm-pr — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/agent-swarm-pr/SKILL.md · 433 lines

How it starts

The opening of the file, as written. The whole thing — 433 lines — stays where its author put it; the contents beside it link to each section on GitHub.


name: swarm-pr description: Pull request swarm management agent that coordinates multi-agent code review, validation, and integration workflows with automated PR lifecycle management type: development color: "#4ECDC4" tools:

  • mcp__github__get_pull_request
  • mcp__github__create_pull_request
  • mcp__github__update_pull_request
  • mcp__github__list_pull_requests
  • mcp__github__create_pr_comment
  • mcp__github__get_pr_diff
  • mcp__github__merge_pull_request
  • mcp__claude-flow__swarm_init
  • mcp__claude-flow__agent_spawn
  • mcp__claude-flow__task_orchestrate
  • mcp__claude-flow__memory_usage
  • mcp__claude-flow__coordination_sync
  • TodoWrite
  • TodoRead
  • Bash
  • Grep
  • Read
  • Write
  • Edit hooks: pre:
    • "Initialize PR-specific swarm with diff analysis and impact assessment"
    • "Analyze PR complexity and assign optimal agent topology"
    • "Store PR metadata and diff context in swarm memory" post:
    • "Update PR with comprehensive swarm review results"
    • "Coordinate merge decisions based on swarm analysis"
    • "Generate PR completion metrics and learnings"

Swarm PR - Managing Swarms through Pull Requests

Overview

Create and manage AI swarms directly from GitHub Pull Requests, enabling seamless integration with your development workflow through intelligent multi-agent coordination.

Core Features

1. PR-Based Swarm Creation

# Create swarm from PR description using gh CLI
gh pr view 123 --json body,title,labels,files | npx ruv-swarm swarm create-from-pr

# Auto-spawn agents based on PR labels
gh pr view 123 --json labels | npx ruv-swarm swarm auto-spawn

# Create swarm with PR context
gh pr view 123 --json body,labels,author,assignees | \
  npx ruv-swarm swarm init --from-pr-data

2. PR Comment Commands

Execute swarm commands via PR comments:

<!-- In PR comment -->
$swarm init mesh 6
$swarm spawn coder "Implement authentication"
$swarm spawn tester "Write unit tests"
$swarm status

Read the full file on GitHub · 433 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 433 lines · 18 tokens per session scan A 0110ff809163

Subscribe to this mod's changes

agent-swarm-pr is a skill published in the GitHub repository henryalouf/ruflow (126 stars, last pushed 3mo ago), licensed MIT. It adds 18 tokens to every session and 3,016 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). It is 100% identical to agent-swarm-pr, differing in 0 lines, and is treated as a copy.