hydra

hydra is a skill for Claude Code from blueberrycongee/termcanvas. It costs 33 tokens per session (2,075 once invoked), scanned A, original, MIT.

A workflow system for coordinating several coding agents on one larger task. A lead agent makes decisions while Hydra dispatches workers, tracks dependencies, retries work, checks health, and collects structured results.

In plain words
What is it for?
Breaking a task into dependent or parallel assignments, managing agent worktrees, retrying workers, collecting results, and merging completed work.
Why use it?
It organizes parallel work and makes worker outcomes predictable, including when an agent is stuck or needs more information.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions subagents; mentions Claude Code.

Part of the skills plugin — 7 skills, 1 hook shipped together

Good fit Breaking a task into dependent or parallel assignments, managing agent worktrees, retrying workers, collecting results, and merging completed work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/blueberrycongee/termcanvas/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 blueberrycongee/termcanvas --skill hydra
Clone the repo
git clone --depth 1 https://github.com/blueberrycongee/termcanvas

Made for: Claude Code.

Or install skills, the plugin that ships this one along with the rest of its 7 skills, 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 hydra

README.md
[![agentmods](https://agentmods.dev/badge/skills/blueberrycongee/termcanvas/hydra/github.svg)](https://agentmods.dev/skills/blueberrycongee/termcanvas/hydra)
Your own site
<a href="https://agentmods.dev/skills/blueberrycongee/termcanvas/hydra"><img src="https://agentmods.dev/badge/skills/blueberrycongee/termcanvas/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/blueberrycongee/termcanvas/hydra"><img src="https://agentmods.dev/badge/skills/blueberrycongee/termcanvas/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 2,075 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.02075
Opus 5.5 $0.00013 $0.00830
Sonnet 5.5 $0.00007 $0.00415
Haiku 4.5 $0.00003 $0.00208

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

Security

Grade A, and why

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

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/skills/hydra/SKILL.md · 196 lines

How it starts

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

Hydra Orchestration Toolkit

Hydra is a Lead-driven orchestration toolkit. You (the Lead agent) make strategic decisions; Hydra handles operational management (dispatch, retry, health checks, result collection).

Sub-agents output semantic intent (done/needs_rework/replan), not routing information. Hydra manages the lifecycle; you decide what happens next.

Why this design (vs. other coding-agent products)

  • SWF decider pattern, specialized for LLM deciders. Hydra is the AWS SWF / Cadence / Temporal decider pattern. hydra watch is PollForDecisionTask; the Lead is the decider; lead_terminal_id enforces single-decider semantics.
  • Parallel-first, not bolted on. dispatch + depends_on + worktree + merge are first-class. Other products (Factory.ai's Droid, Amp, Claude Code subagents) treat parallelism as open research; Hydra makes it the default.
  • Typed result contract. Workers publish a schema-validated result.json (outcome: completed | stuck | error, optional stuck_reason: needs_clarification | needs_credentials | needs_context | blocked_technical). Other products return free-text final messages and require downstream parsing.
  • Lead intervention points. hydra reset --feedback lets the Lead actually intervene at decision points instead of being block-and-join. A stale or wrong run is one reset away.

Lead operational rules

Core rules:

  • Root cause first. Fix the real implementation problem before changing tests, fixtures, or mocks.
  • Do not hack tests to force a green result. If a test is wrong, fix it honestly.
  • No silent fallbacks or swallowed errors. Surface failure with outcome=stuck or outcome=error.

Agent launch rule:

  • When dispatching Claude/Codex through TermCanvas, start a fresh agent terminal with termcanvas terminal create --prompt "...".
  • Do not use termcanvas terminal input for task dispatch — it is not a supported automation path.

Telemetry polling:

  • Treat hydra watch as the main polling loop. Do not infer progress from terminal prose.
  • Before deciding wait / retry / takeover, query:
    • termcanvas telemetry get --workflow <workflowId> --repo .
    • termcanvas telemetry get --terminal <terminalId>
    • termcanvas telemetry events --terminal <terminalId> --limit 20
  • Watch the derived telemetry states: awaiting_contract means the worker has not yet published result.json; stall_candidate means the worker may be hung. Trust derived_status and task_status over terminal prose.

Read the full file on GitHub · 196 lines

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 · 196 lines · 33 tokens per session scan A e04ba70ed22a

Subscribe to this mod's changes

hydra is a skill published in the GitHub repository blueberrycongee/termcanvas (419 stars, last pushed 6mo ago), licensed MIT. It adds 33 tokens to every session and 2,075 once invoked, about $0.0001 per session on Opus 5.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.

Related

hydra compared with skills from other repositories

hydra next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hydrablueberrycongee/termcanvasSkill4196mo agoMITA33Claude Code
summarize-ideaspaultyng/ideateSkill10todayMITA75Claude Code
accordjuliakrivchikova/AccordAgents-desktop-appSkill7todayApache-2.0A74Claude Code, Codex
app-chat-requestjuliakrivchikova/AccordAgents-desktop-appSkill7todayApache-2.0A65Claude Code, Codex
ai-evaluation-patternsFerroxLabs/waylandSkill61819d agoAGPL-3.0A86Claude Code, Codex
automation-architectFerroxLabs/waylandSkill61819d agoAGPL-3.0A90Claude Code, Codex
convert-auditFerroxLabs/waylandSkill61819d agoAGPL-3.0A138Claude Code, Codex