pair

pair is a skill for Claude Code, Codex from hyj28/claude-codex-pair. It costs 48 tokens per session (4,795 once invoked), scanned B, original, MIT.

An optional workflow in which Claude Code plans and reviews a software change while Codex implements it. It only starts when the user types `/pair`.

In plain words
What is it for?
Use it for coordinated coding tasks with fast, standard, or strict review rules. It can check the repository, create a handoff plan, run the implementation, and review the result.
Why use it?
It separates planning, implementation, and review between fresh agent sessions. This gives code changes an additional review step without manually copying context between terminals.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; names the AskUserQuestion tool; mentions Claude Code.

Good fit Use it for coordinated coding tasks with fast, standard, or strict review rules. It can check the repository, create a handoff plan, run the implementation, and review the result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hyj28/claude-codex-pair/pair
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 hyj28/claude-codex-pair --skill pair
Clone the repo
git clone --depth 1 https://github.com/hyj28/claude-codex-pair

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hyj28/claude-codex-pair/pair"><img src="https://agentmods.dev/badge/skills/hyj28/claude-codex-pair/pair.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,795 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00048 $0.04795
Opus 5.5 $0.00019 $0.01918
Sonnet 5.5 $0.00010 $0.00959
Haiku 4.5 $0.00005 $0.00479

Measured 1mo ago against content hash 74ab012f027f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

pair scanned grade B with 1 finding 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 1mo 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

not be inherited from `~/.codex/config.toml`, where a temporary global `danger-full-access`
skills/pair/SKILL.md · 340 lines

How it starts

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

/pair — Claude plans, Codex implements, Claude reviews

You (Claude Code) are the orchestrator and reviewer. Codex CLI is the implementer, invoked headlessly via codex exec — the user never copies context between terminals.

Arguments

/pair [fast|strict] <task description>

  • First word fast or strict selects the profile; otherwise profile is standard.
  • Everything else is the task description.
Profile Plan handoff doc Human plan approval Run gate (Phase 4) Claude review loop Extra codex review
fast no (one-paragraph instruction) no no no no
standard yes no yes, when the change has a runtime surface yes (max 2 rounds) no
strict yes yes — wait for approval yes; scenarios approved with the plan yes (max 2 rounds) yes (codex exec review)

Preflight (all profiles)

  1. Verify this is a git repository (git rev-parse --git-dir). If not, ask the user whether to git init or abort.
  2. Verify codex is on PATH. If not, stop and tell the user.
  3. If the working tree has uncommitted changes, ask the user whether to proceed anyway (changes will get mixed into the new branch) or stop so they can commit/stash first.
  4. Note the current branch name — it is the base branch for diffs and review.
  5. Record the baseline. Detect the project's gate commands (see Phase 4) and run them before handing anything to Codex. Write down, for each: the command, its exit code, and the test runner's own count line (42 passed, ok 17, …). Everything in Phase 4 is judged against this baseline, not against zero — otherwise a suite that was already red burns a fix round on someone else's debt, and a suite that silently collects no tests looks like success. If a runner reports no count, record "count unavailable" and say so in the final report; never substitute a guess.

Read the full file on GitHub · 340 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. 1mo ago First seen · 340 lines · 48 tokens per session scan B 74ab012f027f

Subscribe to this mod's changes

pair is a skill published in the GitHub repository hyj28/claude-codex-pair (4 stars, last pushed 1mo ago), licensed MIT. It adds 48 tokens to every session and 4,795 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

setup-caliber

Sets up Caliber for automatic AI agent context sync. Installs pre-commit hooks so CLAUDE.md, Cursor rules, and Copilot instructions update automatically on every commit. Use when Caliber hooks are not yet installed or when the user asks about keeping agent configs in sync.

caliber-ai-org/ai-setup · 61 tokens

worktree-isolate

A workflow for doing risky or experimental changes in an isolated Git worktree, which is a separate working copy of the same repository. The changes can then be merged into the main checkout or discarded.

open-octo/octo-agent · 91 tokens

atomic-git-discipline

Compressed commit message and PR body generator. Cuts noise from both while preserving intent and reasoning. Conventional Commits format. Subject ≤50 chars, body only when "why" isn't obvious; PR bodies state only what the diff can't show, 120 words max. Use when user says "write a commit", "commit message", "generate…

damusix/atomic-claude · 106 tokens

pypi-release

This skill should be used when releasing tunacode-cli to PyPI. It keeps the existing local release checks, then hands the actual PyPI upload to a GitHub Actions workflow that uses the repository's PYPIAPITOKEN secret.

alchemiststudiosDOTai/tunacode · 52 tokens

git

Skill "git" from dhaupin/vant, covering git, when to use, what to do, 1. basic commands and 2. branches.

dhaupin/vant · 5 tokens

github

Skill "github" from dhaupin/vant, covering github, when to use, how to use, create pr and via cli.

dhaupin/vant · 7 tokens