Skip to content
Skill

Pair consult

Gets an independent second opinion from a headless Codex or Claude reviewer

Pair consult is an open-source agent skill for developer tools. It is available on Claude Code and Codex.

Scripts
shell
Platforms
Claude Code, Codex
GitHub stars
10
Last commit
License
MIT
Listing updated

Similar skills

About Pair consult

Pair consult runs a bounded review loop between the agent you are chatting with and the other agent CLI. The orchestrating agent writes a proposal and packages it into files under a .consult folder, then a headless reviewer critiques it without seeing the chat, numbering its critiques across rounds. The orchestrator answers each critique, verifies the reviewer's claims, and eventually synthesizes a final summary for the user to decide on.

The skill ships a handoff.sh helper that is sourced rather than read, with functions for initializing, handing off, waiting, closing, checking status and resuming a consult. A peer brief and file format reference guide the reviewer and the round templates. Users can watch the reviewer live or leave steering notes in a second terminal.

It expects bash and a working headless Codex or Claude CLI on the machine, and it is aimed at one question, proposal or small change rather than multi-step implementation.

When your agent uses it

Second opinion from the other agent CLI before the user decides: you propose, a headless Codex or Claude reviewer critiques it cold over a bounded number of rounds, you synthesize and ask the user. Use for one question, proposal, or small change that deserves an independent review; not for multi-step implementation.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 4 files (25 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/pair-consult to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/pair-consult &&
cp -R "$tmp/pair-consult" ~/.claude/skills/pair-consult &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/pair-consult inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/pair-consult to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/pair-consult &&
cp -R "$tmp/pair-consult" ~/.agents/skills/pair-consult &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/pair-consult inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/pair-consult to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/pair-consult &&
cp -R "$tmp/pair-consult" ~/.cursor/skills/pair-consult &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/pair-consult inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/ccomkhj/skills.git --path pair-consult

Or copy the folder to ~/.gemini/skills/pair-consult yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/pair-consult:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/pair-consult &&
cp -R "$tmp/pair-consult" ~/.copilot/skills/pair-consult &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/pair-consult inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/ccomkhj/skills.git

Then copy skills/pair-consult into your agent's skills folder as pair-consult. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Independent headless review
A reviewer CLI critiques the proposal cold, using only the repo and the consult files.
Bounded review rounds
A round cap controls how many propose, critique and respond exchanges happen.
Shell handoff helpers
Sourced functions handle init, handoff, waiting, closing, status and resuming.
Resumable consult state
A status check reports which side acts next so an interrupted consult can continue.
Live watching and steering
Users can tail the reviewer's progress and leave notes for the orchestrator.
Synthesized decision summary
The final round writes a summary and asks the user for a go or no-go decision.

Good for

  • Get a second opinion on a design proposal before building it
  • Have another agent review a small code change for regressions
  • Stress-test a single technical question before committing to an answer
  • Check a plan's weak claims with an independent reviewer

Pair consult FAQ

When does Pair consult trigger?

It is meant for one question, proposal or small change that deserves an independent review, and not for multi-step implementation.

What does the reviewer need to run?

The skill uses bash helpers and a headless Codex or Claude CLI, with the reviewer working from the repo and the .consult folder.

Can the user stop or steer a consult?

Yes. Messages during the loop act as steers, and a second terminal can tail the reviewer or add a note to USER_NOTES.md.

How many rounds does Pair consult run?

The round count is capped by a setting such as --number, and the consult can end early if the reviewer raises no critiques or the response adds nothing new.

How do I install Pair consult in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/pair-consult to use it in all your projects, or to .claude/skills/pair-consult in one project.

Does Pair consult run scripts?

Yes. It runs shell scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Pair consult?

Claude Code and Codex. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Pair consult?

The closest alternatives to Pair consult are Sub consult, Run by experts, Harness review, Cursor ask and Council multi model.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from ccomkhj/skills

  1. Audits AGENTS.md project memory files and proposes targeted, approved updates

    • Open source
    • 10 GitHub stars
    • Developer tools
  2. Builds interactive HTML lessons that teach AI, ML or science concepts through worked cases

    • Open source
    • 10 GitHub stars
    • Education and exam prep
  3. Runs a project and builds an interactive walkthrough from what actually executed

    • Open source
    • 10 GitHub stars
    • Developer tools
  4. Turns a clear improvement target into a measurable Claude Code /goal condition

    • Open source
    • 10 GitHub stars
    • Developer tools
  5. Races Claude against Codex in separate git worktrees until a measurable goal is met

    • Open source
    • 10 GitHub stars
    • Developer tools
  6. Runs a per-turn race between two coding agents and keeps the better diff

    • Open source
    • 10 GitHub stars
    • Developer tools