用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/jleechanorg/claude-commands --skill pairv2-usage命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Token-efficient second opinion slash command /advice. Extracts decision point + artifact (≤150 lines), then fans out in parallel: (1) Opus subagent reviewer with fallback chain codex→agy→cursor, (2) /research on the decision topic, (3) /secondo multi-model opinion. Use instead of advisor() which ships the full conversation uncached.
Use this skill when working in repositories managed by Agent Orchestrator or when the user asks how to use `ao` properly. Covers the default AO workflow: bootstrap with `ao start`, dispatch work with `ao spawn`, inspect progress with `ao status` or `ao session ls`, steer sessions with `ao send`, and recover or clean up sessions safely. Includes strict parameter fidelity, pre-spawn cap cleanup, quota-wall fallback, and post-spawn verification.
Generate a full agento PR status report — draft readiness, canonical /green, zero-touch rate, inline display, and Slack summary.
基于 SOC 职业分类
正在显示 SKILL.md
| name | pairv2-usage |
| description | How to run pairv2 directly and via the benchmark script, including what "minimax" means as a CLI option |
| type | usage |
| scope | project |
pair_execute_v2.py is a LangGraph-based pair-programming executor. It:
--max-cycles times if verification failsFiles:
.claude/pair/pair_execute_v2.py.claude/pair/benchmark_pair_executors.py.claude/contracts/left_contract.template.json, right_contract.template.json--coder-cli / --verifier-climinimax is NOT a CLI binary. There is no minimax command on PATH.
--coder-cli minimax means: run the claude CLI binary with the MiniMax API endpoint injected via environment variables.
The orchestration library (orchestration/task_dispatcher.py) handles this:
"minimax": {
"binary": "claude", # still the claude CLI
"env_set": {
"ANTHROPIC_BASE_URL": "https://api.minimax.io/anthropic",
"ANTHROPIC_MODEL": "MiniMax-M2.5",
"ANTHROPIC_API_KEY": "<from MINIMAX_API_KEY>",
},
"env_unset": ["ANTHROPIC_AUTH_TOKEN", "CLAUDECODE"],
}
Auth is resolved automatically from $MINIMAX_API_KEY → ~/.bashrc → ~/.automation_env.
Other CLI options work similarly:
claude — Claude Code CLI, direct Anthropic OAuth (no key needed)codex — OpenAI Codex CLI (codex exec --yolo)gemini — Gemini CLI (gemini -m <model> --yolo)cursor — Cursor CLI (cursor-agent -f)codexs means for pair (local alias)In this environment, ~/.bashrc defines:
alias codexs='codexd -m gpt-5.3-codex-spark --config model_reasoning_effort=high'
pair_execute_v2.py does not accept codexs as a --coder-cli/--verifier-cli value.
Use codex for both roles, then pass the alias settings through extra args:
./vpython .claude/pair/pair_execute_v2.py \
--coder-cli codex \
--verifier-cli codex \
--coder-extra-arg=-m \
--coder-extra-arg=gpt-5.3-codex-spark \
--coder-extra-arg=--config \
--coder-extra-arg=model_reasoning_effort=high \
--verifier-extra-arg=-m \
--verifier-extra-arg=gpt-5.3-codex-spark \
--verifier-extra-arg=--config \
--verifier-extra-arg=model_reasoning_effort=high \
--max-cycles 1 \
--no-worktree \
"Your task description here"
venv/bin/python3 .claude/pair/pair_execute_v2.py \
--coder-cli minimax \
--verifier-cli minimax \
--no-worktree \
"Your task description here"
With explicit contracts:
venv/bin/python3 .claude/pair/pair_execute_v2.py \
--coder-cli minimax \
--verifier-cli codex \
--left-contract .claude/contracts/left_contract.template.json \
--right-contract .claude/contracts/right_contract.template.json \
--no-worktree \
--max-cycles 3 \
"Your task description here"
Key flags:
| Flag | Default | Description |
|---|---|---|
--coder-cli | minimax | Agent that writes code |
--verifier-cli | codex | Agent that reviews code |
--max-cycles | 5 | Max retry loops |
--no-worktree | off | Skip git worktree isolation |
--live-timeout | 600 | Heartbeat timeout in seconds |
--fan-out | 1 | Parallel coder attempts |
--validate-contracts-only | off | Check contracts without running agents |
Output JSON is printed to stdout and saved to --artifact-dir (default: /tmp/.../pairv2_latest/).
The benchmark runs pairv2 (and optionally legacy pair executors) on a task and records timing/verdict.
Use --ta[REDACTED_OPENAI_KEY] when you want a common workload without re-typing the full prompt.
hello_world: legacy default contract smoke task.amazon_clone: Flask-based Amazon clone with browser test + video/screenshot evidence (11 expected files).amazon_clone_full: backward-compatible alias for amazon_clone.message_tests: unit tests for message coordination functions (8+ test cases).session_validation: TDD input validation for session management (6+ test cases).monitor_edge_cases: PairMonitor edge case tests (6+ test cases).agent_name_generation: comprehensive agent name generation tests (10+ test cases).sdui_blog_tdd: 10k+ LOC SDUI blog e-commerce, 12-phase TDD (70+ expected files).Presets with structured metadata (test_command, expected_files) are stored in
TASK_PRESET_META in the benchmark file. The shared source of truth is now
.claude/pair/benchmarks/benchmark_tasks.json (used by benchmark_pair_executors.py
and testing_llm/pair/run_pair_benchmark.py).
Show presets:
./vpython .claude/pair/benchmark_pair_executors.py --list-ta[REDACTED_OPENAI_KEY]
Current defaults (as of Feb 2026):
pairv2-onlyminimaxminimax# Run with all defaults (pairv2-only, minimax+minimax, hello world task)
venv/bin/python3 .claude/pair/benchmark_pair_executors.py
# Run the Amazon-style clone example
venv/bin/python3 .claude/pair/benchmark_pair_executors.py \
--ta[REDACTED_OPENAI_KEY] amazon_clone \
--pairv2-max-cycles 2 \
--timeout-seconds 1200
# Custom task
venv/bin/python3 .claude/pair/benchmark_pair_executors.py \
--task "Implement a Python function that reverses a linked list"
# pairv2 vs legacy pair comparison
venv/bin/python3 .claude/pair/benchmark_pair_executors.py \
--executor-set legacy-vs-v2 \
--benchmark-iterations 2
# All three executors in parallel
venv/bin/python3 .claude/pair/benchmark_pair_executors.py \
--executor-set all \
--parallel
Key output fields (from result JSON):
{
"mode": "pairv2_only",
"pairv2_langgraph": { "avg_ms": 404900, "count": 1 },
"pairv2_status_counts": { "completed": 1 },
"pairv2_raw": [{ "verdict": "PASS", "cycle_count": 1, "duration_ms": 404900 }]
}
The benchmark imposes a process-level timeout cap of 1800s (30 min).
minimax.md — MiniMax in the context of PR automation (pr-monitor, fixpr)pair-benchmark-all-executors.md — Benchmark executor-set referenceagents.md — Agent orchestration patterns