Pair Programming

Pair Programming is a skill for Claude Code from ruvnet/ruflo. It costs 61 tokens per session (5,504 once invoked), scanned A, a copy of Pair Programming, MIT.

An AI pair-programming workflow where two roles—one writing code and one checking the approach—can switch during a development session. It also supports testing, debugging, code review, and learning modes.

In plain words
What is it for?
Use it to implement or refactor code, investigate bugs, write and run tests, review changes, and check for security or performance issues.
Why use it?
It gives coding work a second set of checks while you work, helping catch mistakes and verify changes continuously. It also provides structure for test-driven development (TDD), where tests are written before the code they check.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code; installed under .agents/ (shared by several agents); $skill-name invocation.

Part of the claude-flow plugin — 135 skills, 52 commands, 11 agents, 4 hooks, 1 MCP server shipped together

Good fit Use it to implement or refactor code, investigate bugs, write and run tests, review changes, and check for security or performance issues.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ruvnet/ruflo/pair-programming
About the project

Ruflo is an execution and coordination layer for Claude Code and Codex that equips AI coding agents with tools, memory, control loops, sandboxes, and collaboration mechanisms. Developers use it to organize specialized agents into swarms, coordinate workflows, retain knowledge across sessions, and communicate across machines. The catalogue entries are Ruflo’s skills, commands, agents, hooks, and plugin components.

ruvnet/ruflo · 82,912 stars · on GitHub · cognitum.one

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 ruvnet/ruflo --skill pair-programming
Clone the repo
git clone --depth 1 https://github.com/ruvnet/ruflo

Made for: Claude Code.

Or install claude-flow, the plugin that ships this one along with the rest of its 135 skills, 52 commands, 11 agents, 4 hooks, 1 MCP server.

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 Pair Programming

README.md
[![agentmods](https://agentmods.dev/badge/skills/ruvnet/ruflo/pair-programming/github.svg)](https://agentmods.dev/skills/ruvnet/ruflo/pair-programming)
Your own site
<a href="https://agentmods.dev/skills/ruvnet/ruflo/pair-programming"><img src="https://agentmods.dev/badge/skills/ruvnet/ruflo/pair-programming/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 Pair Programming

Your own site · 80×15
<a href="https://agentmods.dev/skills/ruvnet/ruflo/pair-programming"><img src="https://agentmods.dev/badge/skills/ruvnet/ruflo/pair-programming.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,504 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 23 Oct 2026
  • Snyk pass 18 Nov 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00061 $0.05504
Opus 5.5 $0.00024 $0.02202
Sonnet 5.5 $0.00012 $0.01101
Haiku 4.5 $0.00006 $0.00550

Measured yesterday against content hash 515a04d3e197, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Pair Programming scanned grade A with 0 findings 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 yesterday.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to Pair Programming — 610 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/pair-programming/SKILL.md · 985 lines

How it starts

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

Pair Programming

Collaborative AI pair programming with intelligent role management, real-time quality monitoring, and comprehensive development workflows.

What This Skill Does

This skill provides professional pair programming capabilities with AI assistance, supporting multiple collaboration modes, continuous verification, and integrated testing. It manages driver$navigator roles, performs real-time code review, tracks quality metrics, and ensures high standards through truth-score verification.

Key Capabilities:

  • Multiple Modes: Driver, Navigator, Switch, TDD, Review, Mentor, Debug
  • Real-Time Verification: Automatic quality scoring with rollback on failures
  • Role Management: Seamless switching between driver$navigator roles
  • Testing Integration: Auto-generate tests, track coverage, continuous testing
  • Code Review: Security scanning, performance analysis, best practice enforcement
  • Session Persistence: Auto-save, recovery, export, and sharing

How Claude Code Uses This

The CLI holds the session state; Claude Code reads it. There is no REPL to type into.

  1. At the start of every turn run ruflo pair status --json. If active is false, this skill is dormant.
  2. Follow mode and aiRole. As driver you write the code and the human reviews. As navigator you review and suggest and never edit unless asked. tdd, review, mentor and debug refine that behaviour as described below.
  3. When switchDue is true, run ruflo pair switch, announce the swap, and continue in the new role.
  4. Change mode mid-session with ruflo pair mode <mode>. The human can run the same commands from their shell.

State lives in .claude-flow/sessions/pair/current.json. ruflo pair end archives it to history.jsonl next to it.

Prerequisites

Required:

  • Ruflo CLI installed (npm install -g ruflo), which provides the ruflo pair command
  • Git repository (optional but recommended)

Recommended:

  • Testing framework (Jest, pytest, etc.)
  • Linter configured (ESLint, pylint, etc.)
  • Code formatter (Prettier, Black, etc.)

Read the full file on GitHub · 985 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. yesterday Changed · -229 lines 515a04d3e197
  2. 1mo ago Changed · +11 lines f70ffddc76f9
  3. 3mo ago First seen · 1,203 lines · 61 tokens per session scan A 9cb477122f86

Subscribe to this mod's changes

Pair Programming is a skill published in the GitHub repository ruvnet/ruflo (82,912 stars, last pushed yesterday), licensed MIT. It adds 61 tokens to every session and 5,504 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to Pair Programming, differing in 610 lines, and is treated as a copy.

Related

Pair Programming compared with skills from other repositories

Pair Programming next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Pair Programmingruvnet/rufloSkill83kyesterdayMITA61Claude Code
orchestrated-executiona5c-ai/babysitterSkill2.0k1mo agoMITA37Claude Code
team-implementbostonaholic/teamSkill1114d agoMITA21Claude Code, Codex
github-pr-workflowpaperclipai/paperclipSkill120ktodayMITA39Claude Code, Codex
behavior-contracta5c-ai/babysitterSkill2.0k1mo agoMITA25Claude Code
codebase-synca5c-ai/babysitterSkill2.0k1mo agoMITA32Claude Code
code-review-pipelinea5c-ai/babysitterSkill2.0k1mo agoMITA28Claude Code