config — Claude Code command: pair programming setup
Loads a reference for pair programming settings: driver, navigator and switch modes, verification thresholds, test runs and agent profiles kept in .claude-flow/pair-config.json.
no license ★ 850 updated 2026-10-26
.claude/commands/pair-config.mdWhat config does
This slash command brings the pair programming configuration guide into the session. The values themselves sit in .claude-flow/pair-config.json, where the pair block sets enabled, defaultMode, defaultAgent and a theme.
Other sections handle verification with a 0.95 threshold and automatic rollback, tests through jest with a coverage floor of 80, complexity caps under review, the commit template in git, session autosave, model settings in ai. Agents get their own list: senior-dev, tdd-specialist, debugger-expert, junior-dev, and any you add under customAgents.
The guide changes nothing on its own. A value moves only when you edit the JSON or run claude-flow pair config set, and config get or config export report the current state. Environment variables such as CLAUDE_PAIR_MODE take priority over the file, so a mismatch there explains a setting that refuses to apply.
What it helps with
- switch driver and navigator roles on a timer
- set a verification threshold with rollback on failure
- run tests every time a file is saved
- pick a default agent for the session
- export pair settings to a JSON file
Example prompts for the agent
/pair-configshow the basic pair config and turn onswitchmode with a 10 minute interval/pair-configsetverification.thresholdto 0.98 and tell me what changes/pair-configexport the current settings and check that coverage stays at 80
How to install config
Manually: put the files in place
.claude/commands/pair-config.mdThe built-in /config overrides a file with the same name, so the file is renamed. Call it with /pair-config. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/config.mdCall it with /prompts:config. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/config.prompt.mdManually: put the files in place
.gemini/commands/config.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about config
How do I install config in Claude Code?
Copy the command file into your project at .claude/commands/pair-config.md. It then runs as /pair-config.
What does config do?
It loads a reference for pair programming settings: working modes, verification, tests, agents and the rest of the keys under pair.
Where are the pair settings stored?
In .claude-flow/pair-config.json. Environment variables like CLAUDE_PAIR_MODE override what that file contains.