From ai-dev-team
Multi-provider adversarial investigation. Claude (Opus) and Codex (GPT-5.5) debate through structured rounds. Use for ideation, architecture decisions, risk analysis, or any topic that benefits from adversarial scrutiny before committing to an approach.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ai-dev-team:investigate <topic or question to investigate><topic or question to investigate>The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Structured debate between Claude (Opus) and Codex (GPT-5.5) where they challenge each other's ideas through multiple rounds. **Runs in background** — you can continue working while the debate happens.
Structured debate between Claude (Opus) and Codex (GPT-5.5) where they challenge each other's ideas through multiple rounds. Runs in background — you can continue working while the debate happens.
/investigate runs in background — adversarial Claude + Codex debate, returns convergence report
User-input prompt presentation in this skill follows the banner
convention in docs/user-input-banner-convention.md. The async-result
follow-up fork in "When Results Arrive" carries the AWAITING YOUR INPUT
banner.
Caveman compression is mandatory in this flow. The wire prefix [COMPRESSION:terse] MUST be prepended to every subagent Task description and to every Codex MCP developer-instructions: field within this flow. Machine-output payloads (haiku scorer JSON, render_findings / dedupe_findings IO, parser inputs) are exempt per skills/caveman/SKILL.md §7.
$ARGUMENTS is the topic or question to investigate--rounds N — number of debate rounds (default 3, max 5)--codebase — include repository context in the debate (auto-detected if topic references code)--focus <area> — narrow the debate to a specific aspectExamples:
/investigate should we migrate from Axelar to Wormhole for the bridge?
/investigate --rounds 4 --codebase is our current fee calculation safe against precision loss?
/investigate --focus security what are the risks of adding flash loan support?
DO NOT block the main conversation. Dispatch to the investigator agent and return control immediately.
Extract:
--rounds or default 3--codebase flag or topic references files/code--focus or nullUse the Agent tool to launch the investigator subagent with run_in_background: true:
Prompt template:
Investigate the following topic through adversarial debate.
topic: [parsed topic]
max_rounds: [N]
codebase_context: [true/false]
focus: [area or "general"]
working_directory: [cwd]
[If codebase_context: brief summary of relevant files/architecture]
Immediately respond:
Investigation started in background: "[topic]" Claude (Opus) and Codex (GPT-5.5) will debate for up to [N] rounds. I'll present the convergence report when they finish. You can continue working.
Then return control. Do NOT wait.
When the investigator agent completes:
Investigation finished — pick the next move.
investigate-deeper — re-open the debate with a narrower angle (e.g. a specific tension, a new constraint, an alternative framing).accept-and-proceed — take the current recommendation as the decision and move on.pivot — abandon this line and start a new investigation on a different angle.Which path?
The investigator agent runs structured rounds:
Each round builds on the previous. Codex maintains conversation context via codex-reply threadId. Both sides must acknowledge good arguments from the other (intellectual honesty).
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub roman-karpovich/ai-dev-team --plugin ai-dev-team