Pair Programming

An AI-assisted pair-programming workflow with driver and navigator roles, testing, code review, debugging, and refactoring modes. TDD, or test-driven development, means writing tests before the code they check.

In plain words
What is it for?
Use it for guided implementation, TDD, debugging, refactoring, mentoring, reviews, test generation, security checks, and performance analysis.
Why use it?
It gives coding sessions a structured collaboration pattern and checks work continuously. This helps catch quality, security, and performance issues while code is being written.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/aegntic/cldcde/pair-programming
Any agent
npx skills add aegntic/cldcde --skill pair-programming
Clone the repo
git clone --depth 1 https://github.com/aegntic/cldcde

Made for: Claude Code, Codex.

Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,280 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found 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 $0.00061 $0.06280
Opus 5 $0.00030 $0.03140
Sonnet 5 $0.00012 $0.01256
Haiku 4.5 $0.00006 $0.00628

Measured 2d ago against content hash 32ef344d86f6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d 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.

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.

.claude/skills/pair-programming/SKILL.md · 1,203 lines

How it starts

The opening of the file, as written. The whole thing — 1,203 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

Prerequisites

Required:

  • Claude Flow CLI installed (npm install -g claude-flow@alpha)
  • Git repository (optional but recommended)

Recommended:

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

Quick Start

Basic Session

# Start simple pair programming
claude-flow pair --start

TDD Session

# Test-driven development
claude-flow pair --start \
  --mode tdd \
  --test-first \
  --coverage 90

Complete Guide

Session Control Commands

Starting Sessions
# Basic start
claude-flow pair --start

# Expert refactoring session
claude-flow pair --start \
  --agent senior-dev \
  --focus refactor \
  --verify \
  --threshold 0.98

# Debugging session
claude-flow pair --start \
  --agent debugger-expert \
  --focus debug \
  --review

# Learning session
claude-flow pair --start \
  --mode mentor \
  --pace slow \
  --examples
Session Management
# Check status
claude-flow pair --status

# View history
claude-flow pair --history

# Pause session
/pause [--reason <reason>]

# Resume session
/resume

# End session
claude-flow pair --end [--save] [--report]

Read the full file on GitHub · 1,203 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. 2d ago First seen · 1,203 lines · 61 tokens per session scan A 32ef344d86f6

Subscribe to this mod's changes

Pair Programming is a skill published in the GitHub repository aegntic/cldcde (11 stars, last pushed 6d ago), licensed MIT. It adds 61 tokens to every session and 6,280 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

hono-core

Hono ultrafast web framework fundamentals - routing, context, handlers, and response patterns for multi-runtime deployment.

bobmatnyc/claude-mpm-skills · 26 tokens

tauri-django-react

Agents should invoke this skill for Tauri + Django + React desktop apps, especially backend lifecycle, CORS/auth, frontend integration, mandatory light/dark theming, German/English i18n, build packaging, dual desktop/web deployment, Rust commands, and platform-specific gotchas.

Firstp1ck/pi-coding-agent-forge · 63 tokens

project-readme

Use when creating, updating, reviewing, restructuring, or harmonizing a repository's project README from verified local evidence for user-oriented or developer/library-oriented readers.

Firstp1ck/pi-coding-agent-forge · 35 tokens

subagent-governance

Delegation admissibility governance for a parent orchestrator. Use when deciding whether to launch, sequence, replace, or accept one or more delegated child runs while preserving role fit, plan-backed worker contracts, one-writer isolation, bounded retry safety, and reviewer finding disposition. Covers admissibility…

Firstp1ck/pi-coding-agent-forge · 74 tokens

html-report

Creates polished self-contained HTML explanation reports for complex, multi-step topics using overview tables, evidence cards, adaptive graphs or diagrams, meaningful SVG/media, and accessible tabs for long pages. Use when the user requests a browser-readable diagnostic report, technical guide, decision analysis…

Firstp1ck/pi-coding-agent-forge · 67 tokens

repo-explorer

Agents should invoke this skill before modifying unfamiliar codebases, answering where/how something is implemented, tracing dependencies, mapping repo structure, or planning changes. Explores a repository and returns a strict JSON handoff with key files, symbols, risks, and evidence.

Firstp1ck/pi-coding-agent-forge · 55 tokens