deep-execution

deep-execution is a skill for Claude Code, Codex from hex/claude-council. It costs 61 tokens per session (1,196 once invoked), scanned A, original, MIT.

A workflow for deeper council questions that uses parallel Claude subagents to ask AI providers, assess answer quality, ask follow-up questions, and return structured findings with confidence ratings and blind-spot analysis.

In plain words
What is it for?
Use it for complex architecture or other questions when the council command enables agent mode. It helps compare provider answers and organize confidence and blind spots.
Why use it?
It adds independent evaluation and follow-up to a multi-provider question, which helps surface uncertainty and missing considerations. The description does not say that the subagents use different AI systems.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the claude-council plugin — 4 skills, 3 commands, 1 agent, 1 hook shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/hex/claude-council/deep-execution
Any agent
npx skills add hex/claude-council --skill deep-execution
Clone the repo
git clone --depth 1 https://github.com/hex/claude-council

Made for: Claude Code, Codex.

Or install claude-council, the plugin that ships this one along with the rest of its 4 skills, 3 commands, 1 agent, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for deep-execution

README.md
[![agentmods](https://agentmods.dev/badge/skills/hex/claude-council/deep-execution.svg)](https://agentmods.dev/skills/hex/claude-council/deep-execution)
Your own site
<a href="https://agentmods.dev/skills/hex/claude-council/deep-execution"><img src="https://agentmods.dev/badge/skills/hex/claude-council/deep-execution.svg" alt="Measured on agentmods" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,196 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00061 $0.01196
Opus 5 $0.00030 $0.00598
Sonnet 5 $0.00012 $0.00239
Haiku 4.5 $0.00006 $0.00120

Measured 4d ago against content hash d107dba72511, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

deep-execution scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/deep-execution/SKILL.md · 139 lines

How it starts

The opening of the file, as written. The whole thing — 139 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent-Enhanced Council Execution

Use parallel Claude subagents for deeper analysis. Each subagent queries its provider, evaluates response quality, can ask follow-up questions, and returns structured insights.

Step 1: Determine Provider Details

For each selected provider, gather:

  • Provider name and script path: ${CLAUDE_PLUGIN_ROOT}/scripts/providers/{name}.sh
  • Model name: run bash ${CLAUDE_PLUGIN_ROOT}/scripts/query-council.sh --list-available or read the provider script defaults

Step 2: Spawn Provider Agents in Parallel

Launch 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.

Step 3: Collect and Validate Results

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:

cat > /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

Read the full file on GitHub · 139 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 139 lines · 61 tokens per session scan A d107dba72511

Subscribe to this mod's changes

deep-execution is a skill published in the GitHub repository hex/claude-council (673 stars, last pushed 8d ago), licensed MIT. It adds 61 tokens to every session and 1,196 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.