hydra

hydra is a skill for Claude Code from Kasempiternal/Claude-Agent-System. It costs 33 tokens per session (5,563 once invoked), scanned B, original, MIT.

A coordinator for splitting several independent coding tasks among Claude agents, planning them together, and running them in safe parallel waves.

In plain words
What is it for?
Use it when multiple tasks need to be completed at once across a codebase and some tasks may touch overlapping files.
Why use it?
Joint planning helps identify file conflicts before agents edit the same project, while dependencies determine which tasks can run together.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: model in frontmatter; reads .claude/ paths; names the AskUserQuestion tool.

Part of the cas plugin — 19 skills, 3 hooks, 2 MCP servers shipped together

Good fit Use it when multiple tasks need to be completed at once across a codebase and some tasks may touch overlapping files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kasempiternal/claude-agent-system/hydra
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.

Any agent
npx skills add Kasempiternal/Claude-Agent-System --skill hydra
Clone the repo
git clone --depth 1 https://github.com/Kasempiternal/Claude-Agent-System

Made for: Claude Code.

Or install cas, the plugin that ships this one along with the rest of its 19 skills, 3 hooks, 2 MCP servers.

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 hydra

README.md
[![agentmods](https://agentmods.dev/badge/skills/kasempiternal/claude-agent-system/hydra/github.svg)](https://agentmods.dev/skills/kasempiternal/claude-agent-system/hydra)
Your own site
<a href="https://agentmods.dev/skills/kasempiternal/claude-agent-system/hydra"><img src="https://agentmods.dev/badge/skills/kasempiternal/claude-agent-system/hydra/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hydra

Your own site · 80×15
<a href="https://agentmods.dev/skills/kasempiternal/claude-agent-system/hydra"><img src="https://agentmods.dev/badge/skills/kasempiternal/claude-agent-system/hydra.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,563 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00033 $0.05563
Opus 5.5 $0.00013 $0.02225
Sonnet 5.5 $0.00007 $0.01113
Haiku 4.5 $0.00003 $0.00556

Measured 3mo ago against content hash ea89997471e5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

hydra scanned grade B with 1 finding 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 3mo 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

Read `~/.claude/settings.json`. Verify `env.CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS` is `"1"`.
claude-agent-system-plugin/skills/hydra/SKILL.md · 498 lines

How it starts

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

██╗  ██╗██╗   ██╗██████╗ ██████╗  █████╗
██║  ██║╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
███████║ ╚████╔╝ ██║  ██║██████╔╝███████║
██╔══██║  ╚██╔╝  ██║  ██║██╔══██╗██╔══██║
██║  ██║   ██║   ██████╔╝██║  ██║██║  ██║
╚═╝  ╚═╝   ╚═╝   ╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═╝

            ⚔ Multi-Head Swarm ⚔
          CLAUDE AGENT SYSTEM

MANDATORY: Output the banner above verbatim as your very first message to the user, before any tool calls or other output.

You are entering HYDRA ORCHESTRATOR MODE. You are Opus, the multi-headed orchestrator. You coordinate N independent tasks simultaneously — planning them together to detect file conflicts, then executing in parallel waves where safe, and sequentially where files overlap.

This is the HYDRA EDITION: Multiple tasks are analyzed holistically, conflicts are resolved at plan time, and implementation swarms deploy in dependency-ordered waves using Agent Teams.

Hydra is an explicit, deterministic alternative to Claude Dynamic Workflows. Once invoked, Hydra owns decomposition, planning, team creation, wave execution, and verification. Do not hand the request to a dynamic workflow, /zk, /systemcc, or another router.

Your Role: Multi-Task Orchestrator

  • You are the BRAIN, not the HANDS — delegate everything via Task tool with team_name
  • Create a team, spawn teammates for actual work
  • Use the shared task list (TaskCreate/TaskUpdate/TaskList) to track all N tasks across waves
  • Use SendMessage to coordinate teammates and relay context between waves
  • Maximize parallelization ACROSS tasks, not just within them
  • NEVER implement code directly

Phase 0: Prerequisites Check

Step 0: Enforce Delegation Mode Exclusivity

Inspect the current conversation for the latest explicit /gpt-architect on or /gpt-architect off command. New sessions default to OFF.

  • If the latest command is /gpt-architect on: STOP before calling Agent, TeamCreate, or any workflow router. Tell the user:
    HYDRA needs Claude Agent Teams, but GPT Architect currently reserves all delegation for Codex.
    Run /gpt-architect off, then invoke /hydra again.
    
  • If OFF or never enabled: continue.

Read the full file on GitHub · 498 lines

Files

What ships with it

8 files 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. 3mo ago First seen · 498 lines · 33 tokens per session scan B ea89997471e5

Subscribe to this mod's changes

hydra is a skill published in the GitHub repository Kasempiternal/Claude-Agent-System (16 stars, last pushed 4mo ago), licensed MIT. It adds 33 tokens to every session and 5,563 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

hydra compared with skills from other repositories

hydra next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hydraKasempiternal/Claude-Agent-SystemSkill164mo agoMITB33Claude Code
reviewSethGammon/CitadelSkill9436d agoMITA17Claude Code
brooks-sweephyhmrright/brooks-lintSkill1.6kyesterdayMITA178Claude Code
critical-code-reviewerposit-dev/skillsSkill57920d agoMITA67Claude Code
genshijin-reviewInterfaceX-co-jp/genshijinSkill3374d agoMITA78Claude Code
pr-reviewnitinjain999/platform-skillsSkill743d agoApache-2.0A81Claude Code
skill-distilleriliaal/whetstoneSkill37yesterdayMITA91Claude Code