Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Executes agent-enhanced council queries by spawning parallel Claude subagents that each query a provider, evaluate response quality, ask follow-up questions, and return structured insights with confidence ratings and blind spot analysis. Invoked when the --agents flag is used or when complex architectural decisions are detected.
.claude/skills/hex-deep-execution/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-08 | ✗→✓ | ▲ Improved | -8% | 0% |
| case-09 | ✗→✓ | ▲ Improved | -19% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 6% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 25% | 0% |
| case-13 | ✗→✓ | ▲ Improved | 3% | 0% |
Use parallel Claude subagents for deeper analysis. Each subagent queries its provider, evaluates response quality, can ask follow-up questions, and returns structured insights.
For each selected provider, gather:
${CLAUDE_PLUGIN_ROOT}/scripts/providers/{name}.shbash ${CLAUDE_PLUGIN_ROOT}/scripts/query-council.sh --list-available or read the provider script defaultsLaunch ALL provider agents in a single message (multiple Agent tool calls) for parallel execution. Use run_in_background: true and subagent_type: "general-purpose" for each.
Agent prompt template: See agent-prompt-template.md for the full template. Read it and fill in {PROVIDER}, {SCRIPT_PATH}, and {QUESTION} for each agent.
CRITICAL: If a role was assigned to a provider (via --roles), build the role-injected question with the same helper the standard flow uses — source scripts/lib/prompts.sh and scripts/lib/roles.sh, then build_prompt_with_role "<question>" "<role>" — and pass its output as the agent's {QUESTION}. The role format itself is defined in ${CLAUDE_PLUGIN_ROOT}/prompts/role-injection.md.
CRITICAL: If file context was gathered (via --file or auto-context), include it in the question passed to each agent.
As each background agent completes, you will be automatically notified. Wait for ALL agents to complete before proceeding to display.
If an agent fails or times out, note the failure and continue with available results.
Validate each agent's reply against the contract before using it. Write the reply to a file first (its JSON may contain quotes, backticks, and $() that an inline echo would let the shell mangle or execute), then feed it on stdin:
bashcat > /tmp/council-reply.json <<'COUNCIL_REPLY_EOF' <paste the agent's raw JSON reply here, verbatim, unescaped> COUNCIL_REPLY_EOF bash ${CLAUDE_PLUGIN_ROOT}/scripts/validate-analysis.sh < /tmp/council-reply.json
under the provider's header inside a fenced block, marked [invalid agent analysis - raw reply preserved], list the validator's reasons, and exclude that provider from confidence-weighted synthesis (mention it under Divergence/failures instead).
For each provider with a valid analysis, display it using this format:
## {EMOJI} {PROVIDER} ({MODEL}) — Agent Analysis
**Quality**: {quality} | **Confidence**: {confidence} | **Retried**: {retried}
### Key Recommendations
{recommendations}
### Unique Perspective
{unique_perspective}
### Blind Spots
{blind_spots}
---
<details>
<summary>Full {PROVIDER} Response</summary>
{full_response}
</details>Provider emojis (ALWAYS use emoji + space):
With pre-analyzed responses, generate a richer synthesis than the standard mode:
Weight agreement by each provider's confidence level. High-confidence agreement is stronger signal than low-confidence agreement — but only about the reasoning, never about the premises. Every provider read the same description of a system none of them can inspect, so confident unanimity can equally mean the question asserted something false and each provider reasoned from it correctly. When agreement is both broad and confident, say so and then name the premise the whole answer rests on, and whether anyone was in a position to check it.
Cross-reference each provider's blind spots against other providers' recommendations. Flag risks that NO provider considered.
Where providers disagree, explain WHY they likely diverge (different assumptions, different optimization targets, different risk tolerance).
Synthesize the strongest approach, noting which providers support it and at what confidence level.
Save the complete output (all provider analyses + synthesis) to a cache file:
bashmkdir -p .claude/council-cache
Write the output to .claude/council-cache/council-agents-{TIMESTAMP}.md where TIMESTAMP is the current Unix timestamp.
Tell the user: > --- > Full agent analysis saved to .claude/council-cache/council-agents-{TIMESTAMP}.md
Other measured skills in the registry, with their headline benchmark lift.