pair:modes

pair:modes is a command for Claude Code from monoes/monomind. It costs 26 tokens per session (805 once invoked), scanned A, original, Apache-2.0.

A set of pair-programming working styles for sharing coding tasks with an AI assistant. It covers driver mode, where you write and the assistant reviews, navigator mode, where the assistant writes and you guide it, plus testing, review, and debugging modes.

In plain words
What is it for?
Use it when learning a pattern, implementing a feature, debugging a suspected problem, writing tests with TDD, or reviewing code as you go.
Why use it?
It gives you a clear way to divide work and choose how much control the assistant has. The included prompts help keep feedback focused instead of relying on vague requests.

Command for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it when learning a pattern, implementing a feature, debugging a suspected problem, writing tests with TDD, or reviewing code as you go.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/monoes/monomind/modes
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.

Clone the repo
git clone --depth 1 https://github.com/monoes/monomind

Made for: Claude Code.

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:modes

README.md
[![agentmods](https://agentmods.dev/badge/commands/monoes/monomind/modes/github.svg)](https://agentmods.dev/commands/monoes/monomind/modes)
Your own site
<a href="https://agentmods.dev/commands/monoes/monomind/modes"><img src="https://agentmods.dev/badge/commands/monoes/monomind/modes/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:modes

Your own site · 80×15
<a href="https://agentmods.dev/commands/monoes/monomind/modes"><img src="https://agentmods.dev/badge/commands/monoes/monomind/modes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 805 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.
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.1 $0.00026 $0.00805
Opus 5.5 $0.00010 $0.00322
Sonnet 5.5 $0.00005 $0.00161
Haiku 4.5 $0.00003 $0.00081

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

Security

Grade A, and why

pair:modes 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.

.claude/commands/pair/modes.md · 123 lines

How it starts

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

Pair Programming Modes

Different collaboration patterns for different goals. Choose based on what you're trying to accomplish.

Driver Mode — You Write, Claude Reviews

You do the coding. Claude watches, suggests, and catches issues in real time.

Start it:

"I'm implementing [feature]. Watch what I'm building and review each piece as I share it. Point out issues, security problems, and improvements."

Best for:

  • Learning new patterns (you get hands-on + feedback)
  • Implementing features you understand but want reviewed
  • Debugging when you have a hypothesis to test

Effective prompts during driver mode:

  • "Here's what I wrote — what do you think?"
  • "I'm about to add validation here. Any pitfalls?"
  • "Is this the right pattern for this situation?"
  • "Review this function before I move on."

Claude does the coding. You provide direction, review output, and control architecture decisions.

Start it:

"Implement [feature]. I'll guide the direction and review each section before you move on. Start with [specific first piece]."

Best for:

  • Rapid prototyping
  • Boilerplate and scaffolding
  • Exploring approaches you haven't used before
  • Getting unstuck quickly

Effective prompts during navigator mode:

  • "Implement X. Use [pattern/library]."
  • "That's good but change [specific thing]."
  • "Before writing the next piece, explain your approach."
  • "Show me an alternative approach to this."

TDD Mode — Tests First

Write failing tests, then implement just enough to pass, then refactor.

Start it:

"We're doing TDD for [feature]. Write the failing tests first, explain what each test covers, then I'll implement. We refactor together after tests pass."

The cycle:

  1. Claude writes a failing test — you understand it
  2. You implement minimal passing code
  3. Claude reviews the implementation
  4. Together you refactor
  5. Repeat

Invoke the TDD skill for full workflow:

Skill("mastermind-debug")   # Phase 4: failing test first, then Red-Green-Refactor

Read the full file on GitHub · 123 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 First seen · 123 lines · 26 tokens per session scan A 24eff31ef141

Subscribe to this mod's changes

pair:modes is a command published in the GitHub repository monoes/monomind (23 stars, last pushed yesterday), licensed Apache-2.0. It adds 26 tokens to every session and 805 once invoked, about $0.0001 per session on Opus 5.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-10-26.