From agentcouncil
Run the AgentCouncil challenge protocol. You (Claude) act as orchestrator AND lead defender. Codex is the independent outside attacker via persistent MCP session. Use when you want adversarial stress-testing of plans, designs, or approaches -- finding failure modes and attacking assumptions.
How this skill is triggered — by the user, by Claude, or both
Slash command
/agentcouncil:challengeThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are running the AgentCouncil challenge protocol. You are BOTH the orchestrator and the lead defender. Codex is the independent outside attacker, running as a persistent MCP server with session memory.
You are running the AgentCouncil challenge protocol. You are BOTH the orchestrator and the lead defender. Codex is the independent outside attacker, running as a persistent MCP server with session memory.
Target: $ARGUMENTS
Clearly state what plan/design/approach is being challenged. Identify:
This frames the challenge for both agents and the user.
Before Codex sees anything, write your own independent defense of the target. For each key assumption, state:
Display it clearly labeled as Claude's Defense.
This step is critical. If you see Codex's attack before writing your own defense, the independence is gone and the whole protocol is worthless.
Write a brief containing ONLY factual context:
CRITICAL: Do NOT include your defense strategy, confidence level, or any defensive framing. The brief must contain zero defensive content. No "I am confident", "my defense is", "the plan is strong because" -- purely factual context about what to stress-test.
Call mcp__codex__codex to start a codex session with this brief. Save the threadId.
Send your full independent defense to Codex so it can attack the defense arguments. Use mcp__codex__codex-reply:
"Here is the lead agent's independent defense (written before seeing yours): {your full defense from Step 2}. Attack the defense arguments. Find weaknesses in the reasoning. Identify where the defense is based on unproven assumptions or wishful thinking."
Default to 2 rounds (1 exchange pair). For the exchange:
Read Codex's attack on your defense. Write your counter-defense addressing their specific attacks. Send it via mcp__codex__codex-reply. Read Codex's response.
Key: Codex attacks your defense arguments, NOT the original artifact. The exchange is about whether your defense holds up, not about finding new problems with the plan.
Send the synthesis request on the same thread via mcp__codex__codex-reply:
"Based on our full attack/defense discussion, produce a final synthesis. Return JSON with these exact keys: readiness (ready/needs_hardening/not_ready), summary (string), failure_modes (array of objects with id, assumption_ref, description, severity, impact, confidence, disposition, mitigation, source_refs), surviving_assumptions (array of strings), break_conditions (array of strings), residual_risks (array of strings), next_action (string). Rules: adversarial only -- attack assumptions, do NOT propose repairs or fixes. Set readiness to ready ONLY if no credible attack found. Set disposition to must_harden/monitor/mitigated/accepted_risk/invalidated accurately."
Parse Codex's JSON response and present:
## Challenge Result
**Readiness:** {readiness}
### Summary
{summary}
### Failure Modes
For each failure mode:
- **[{id}] {assumption_ref}** (severity: {severity}, disposition: {disposition})
Description: {description}
Impact: {impact}
Confidence: {confidence}
### Surviving Assumptions
- {each assumption that withstood attack}
### Break Conditions
- {each condition under which the plan fails}
### Residual Risks
- {each remaining risk}
### Next Action
{next_action}
If JSON fails to parse, report readiness as "not_ready" and show raw response.
npx claudepluginhub kirankrishnna/agentcouncil --plugin agentcouncilProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.