brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Before you execute a drafted plan/spec/design doc, run a multi-agent adversarial cross-review to surface the flaws that cause downstream rework, aggregating "evidenced, cross-family-verified" objections into a verdict. Use when the user asks to "review this plan/spec", "can this
Claude Code
$ npx -y skills add hiadrianchen/challenge-plans --skill challenge-plans --agent claude-code
Codex
$ npx skills add hiadrianchen/challenge-plans --skill challenge-plans -a codex -y
Cursor
$ npx skills add hiadrianchen/challenge-plans --skill challenge-plans -a cursor -y
Gemini CLI
$ npx skills add hiadrianchen/challenge-plans --skill challenge-plans -a gemini-cli -y
GitHub Copilot
$ npx skills add hiadrianchen/challenge-plans --skill challenge-plans -a github-copilot -y
OpenCode
$ npx skills add hiadrianchen/challenge-plans --skill challenge-plans -a opencode -y
Windsurf
$ npx skills add hiadrianchen/challenge-plans --skill challenge-plans -a windsurf -y
name: challenge-plans description: Before you execute a drafted plan/spec/design doc, run a multi-agent adversarial cross-review to surface the flaws that cause downstream rework, aggregating "evidenced, cross-family-verified" objections into a verdict. Use when the user asks to "review this plan/spec", "can this approach be executed", "poke holes / adversarial review / QA this", "harden before executing", or when an agent is about to hand a drafted decision/QA back to the user — first run this skill and present the cross-review recommendation plus surviving objections. Runs on local subscription CLIs (claude/codex), no per-token API cost. Not for "help me pick among options" — that's the weigh-options deliberation skill. runtime_mode: cli_tool
Harden a plan/spec in multi-agent adversarial review before execution, to reduce rework. Slots into `writing-plans → challenge-plans → executing-plans`.
# Installed from PyPI (pip install challenge-plans) — the console command is available directly. # Already installed but on an old version? update: pip install -U challenge-plans (pipx: pipx upgrade; uvx: append @latest). challenge-plans doctor # check adapter login state first challenge-plans run <artifact> --type spec --profile standard --sink markdown # review a plan/spec challenge-plans run <artifact> --type spec --profile standard --sink markdown --lang zh # localized output # code-diff gate: git diff > change.diff && challenge-plans run change.diff --type diff --sink markdown # From a source checkout instead (not pip-installed): PYTHONPATH=src python3 -m challenge_plans.cli <args>
challenge-plans needs **at least one logged-in subscription CLI** (it has no model of its own and uses no API keys). If `doctor` shows nothing `ready`, don't retry blindly — **ask the user, then route**: 1. **Has a Claude or ChatGPT subscription, but the CLI is missing / logged out** → walk them through the exact step `doctor` prints (install it, or `claude` → `/login`, or sign in to `codex`). 2. **No subscription yet but wants one** → point them to subscribe (Claude Pro/Max or ChatGPT), then install + log in the CLI. 3. **No subscription and doesn't want one** → explain challenge-plans cannot run without one, and stop — don't loop.
`doctor` already prints the per-backend fix plus this guidance; surface it to the user rather than failing silently.
**BYO backends (optional).** The user can register extra Anthropic-compatible endpoints (GLM/Kimi/a proxy) via env: `CP_BYO_<n>_BASE_URL` + `CP_BYO_<n>_FAMILY` + `CP_BYO_<n>_TOKEN` (all required; `_MODEL` optional; `_1/_2/…` for several). Two caveats to relay honestly: (1) the declared family is **user-declared, not verified** — confirmations through it render `✓(user-declared family)` and diversity built on it is flagged, so never present a BYO pairing as the verified builtin claude+gpt cross-family guarantee; (2) the token goes only into that backend's subprocess and never appears in any output — but advise the user to set it via a secrets manager / leading-space export rather than plain shell history. A backend missing one of the three vars is skipped with a warning (never a fallback to subscription auth).
A **backend CLI that is logged in but out of date** is a distinct failure from "logged out": `login status` still passes, but a real call is rejected server-side (observed: codex 400 "the model requires a newer version of Codex"), so a voter reports `exit
中文文档: README-zh.md Adversarially review a plan before you execute it — across the AI coding CLIs you already have logged in. No API keys.
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.