A skill your agent uses when a task should run through Hydra's Lead-driven workflow for multi-agent orchestration, or when an existing workflow must be inspected or cleaned up.

MITAuto-check passedAgent Workflows

Install Hydra

skills CLI
$ npx skills add blueberrycongee/termcanvas --skill hydra -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install blueberrycongee/termcanvas hydra --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/blueberrycongee/termcanvas.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/skills/hydra .claude/skills/hydra && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
hydra
GitHub stars
406
Token cost
~2.2k tokens
SKILL.md length
931 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when a task should run through Hydra's Lead-driven workflow for multi-agent orchestration, or when an existing workflow must be inspected or cleaned up.

  • Works in 2 steps: Check outcome → Read the report.md referenced by…
  • A task should run through Hydras Lead-driven workflow for multi-agent orchestration
  • SKILL.md covers Why this design (vs. other…, Lead operational rules, Core workflow and Parallel dev, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Hydra is an agent skill from blueberrycongee/termcanvas. Use when a task should run through Hydra's Lead-driven workflow for multi-agent orchestration, or when an existing workflow must be inspected or cleaned up.

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Multi-agent orchestration. The repository describes itself as: An infinite canvas desktop app for visually managing terminals. The licence is MIT.

When your agent uses it

  • A task should run through Hydras Lead-driven workflow for multi-agent orchestration
  • An existing workflow must be inspected

Example prompts

  • “/hydra”

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. Check outcome
  2. Read the report.md referenced by report_file to decide

What it can do on your machine

Read from SKILL.md and the folder at commit fa25981. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Hydra loads about 2.2k tokens when it runs. Until then it costs about 41 tokens; SKILL.md has 931 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~41
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from blueberrycongee/termcanvas at commit fa25981, republished under its MIT licence (© blueberrycongee). 931 words, ~2,153 tokens.

Download SKILL.mdSave it as .claude/skills/hydra/SKILL.md (or your agent's skills folder).
name
hydra
description
Use when a task should run through Hydra's Lead-driven workflow for multi-agent orchestration, or when an existing workflow must be inspected or cleaned up.

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.

Core workflow

The Lead is the decider — Lead reads the codebase, makes the strategic calls, and dispatches workers for the steps that genuinely need a fresh agent process. There is no "researcher" role: the Lead does the research itself before deciding what to build.

hydra init --intent "Add OAuth login" --repo .
# → { workflow_id, worktree_path }

# (Lead reads the code, reviews related modules, decides the plan.)

hydra dispatch --workflow W --node dev --role dev \
  --intent "Implement OAuth middleware and its tests following the design in CLAUDE.md" --repo .
# → { node_id, assignment_id, status: "dispatched" }

hydra watch --workflow W --repo .
# → DecisionPoint: dev completed

hydra dispatch --workflow W --node review --role reviewer \
  --intent "Independent review of the OAuth change" \
  --depends-on dev --repo .

hydra watch --workflow W --repo .
# → DecisionPoint: review completed

hydra complete --workflow W --repo .

Parallel dev

When the Lead identifies independent work streams, dispatch multiple dev workers with isolated worktrees:

hydra dispatch --workflow W --node dev-frontend --role dev \
  --intent "Frontend OAuth components and their tests" \
  --worktree .worktrees/frontend --repo .

hydra dispatch --workflow W --node dev-backend --role dev \
  --intent "Backend OAuth middleware and its tests" \
  --worktree .worktrees/backend --repo .

hydra watch --workflow W --repo .
# → DecisionPoint: both completed

hydra merge --workflow W --nodes dev-frontend,dev-backend --repo .

Handling agent results

When watchUntilDecision returns a node_completed DecisionPoint:

  1. Check outcome:

    • completed — agent finished. Read report_file to decide next step.
    • stuck — agent can't proceed. Read report_file for what's needed.
    • error — Hydra already retried; if still failing, it reports to you.
  2. Read the report.md referenced by report_file to decide:

    • Dispatch next node → hydra dispatch ...
    • Reset for rework → hydra reset --workflow W --node dev --feedback "..." --repo .
    • Re-dispatch after reset → hydra redispatch --workflow W --node dev --repo .
    • Complete workflow → hydra complete --workflow W --repo .

Hydra promotes blocked nodes to eligible automatically, but you decide when to dispatch. Check newly_eligible in the DecisionPoint to see what's ready.

Show full SKILL.md (453 more words)Show less

Agent role guidance

The role file (in .hydra/roles/<name>.md or shipped builtin) declares an ordered terminals[] list of CLI / model / reasoning_effort triples. Hydra always picks terminals[0] for now; future fallback logic walks the list. The Lead chooses which role to dispatch — the role file chooses which CLI to invoke and at what reasoning level.

lead — The Hydra decider itself. Not dispatched by hydra dispatch; this role file codifies what the Lead terminal (the one holding the lead_terminal_id lock and talking to the human) is supposed to be. Default: Claude Opus at max reasoning.

dev — Writes code AND the tests that cover it. A dev-produced change is not complete until its test surface covers the new behavior. Default: Claude Opus at max reasoning, codex fallback.

reviewer — Independent cross-model second opinion at the highest available reasoning level. Default: Codex at xhigh, Claude Opus max fallback. Runs on a different model family from dev so blind spots don't overlap. The last line of defense before Lead approves a change.

There is no researcher role: the Lead does the research itself before dispatching anything. There is no separate tester role either: dev owns its own test surface, and reviewer provides the cross-model check that tester used to provide.

You can override the model or reasoning effort per-dispatch via --model and a project-level role file in .hydra/roles/.

Commands

CommandPurpose
hydra initCreate workflow context
hydra dispatchDispatch an agent node
hydra watchWait for next decision point
hydra approveMark a node's output as approved
hydra resetReset a node and downstream
hydra mergeMerge parallel worktree branches
hydra completeMark workflow completed
hydra failMark workflow failed
hydra statusShow workflow state
hydra listList workflows
hydra ledgerShow workflow event log
hydra cleanupClean up workflow state
hydra spawnDirect isolated worker (not a full workflow run)

After hydra dispatch or hydra watch, always watch

After dispatching nodes, always call hydra watch to wait for the next decision point. Do not poll manually with tick.

Result contract

Sub-agents write a slim result.json with schema_version: "hydra/result/v0.1" plus a sidecar report.md. The JSON holds only what Hydra needs for routing; all human-readable content lives in report.md.

result.json fields:

  • schema_version, workflow_id, assignment_id, run_id — passthrough IDs
  • outcome: "completed" / "stuck" / "error" — Hydra uses this for routing
  • report_file: relative or absolute path to the report.md written alongside

Hydra rejects any extra fields. Write report.md first, then publish result.json atomically as the final artifact of the run.

json
{
  "schema_version": "hydra/result/v0.1",
  "workflow_id": "wf-...",
  "assignment_id": "asg-...",
  "run_id": "run-...",
  "outcome": "completed",
  "report_file": "report.md"
}

report.md is free-form markdown. Recommended sections: summary of what was done, outputs (file paths + descriptions), evidence (test runs, manual checks), and a reflection on approach / blockers / confidence.

Ledger

Every workflow action is recorded in .hydra/workflows/{id}/ledger.jsonl. Use hydra ledger --workflow W --repo . to inspect the event log.

© blueberrycongee, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/skills/hydra of blueberrycongee/termcanvas.

Open the folder on GitHubat commit fa25981

Compare with similar skills

Hydra next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Hydra compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Hydra this skillblueberrycongee/termcanvas406—~2.2kAutomated safety check: PassMIT
Orca CLIstablyai/orca87k2 repos~593Automated safety check: PassMIT
Paseo Advisor Second Opiniongetpaseo/paseo20k1 repos~756Automated safety check: PassCustom licence
O2 Review Loopopenobserve/openobserve22k—~3.7kAutomated safety check: PassAGPL-3.0
Paseo Committeegetpaseo/paseo20k1 repos~496Automated safety check: PassCustom licence
Mission Control Agent APIbuilderz-labs/mission-control6.3k—~2.1kAutomated safety check: PassMIT

Similar skills

  • Orca CLI

    stablyai/orca

    Operate Orca-managed worktrees, folder contexts, terminals, repos, automations, artifacts, skill sharing, worktree comments, and Orca's embedded browser…

    87k GitHub starsUsed in 2 repos~593 tokens
    Agent WorkflowsAuto-check passed
  • Launches one separate agent through Paseo to give a second opinion on the current task, with a self-contained briefing and no permission to edit files.

    20k GitHub starsUsed in 1 repo~756 tokens
    Agent WorkflowsAuto-check passed
  • O2 Review Loop

    openobserve/openobserve

    Splits a change into planner, coder and independent reviewer roles: you confirm a spec, a subagent implements it, and a separate reviewer checks each round's local WIP commit.

    22k GitHub stars~3.7k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Paseo Committee

    getpaseo/paseo

    Forms a two-agent committee with contrasting profiles to analyze a stuck problem in parallel, reconcile their views and return a consensus plan without editing files.

    20k GitHub starsUsed in 1 repo~496 tokens
    Agent WorkflowsAuto-check passed
  • Mission Control Agent API

    builderz-labs/mission-control

    Teaches an agent to use the Mission Control dashboard API: register, send heartbeats, fetch assigned tasks, report progress and disconnect, with API key auth.

    6.3k GitHub stars~2.1k tokensUpdated 10 days ago
    Agent WorkflowsAuto-check passed
  • Paseo Agent Handoff

    getpaseo/paseo

    Hands off the current task, including context, decisions and failed attempts, to a fresh agent through Paseo by writing a self-contained briefing prompt and launching that agent.

    20k GitHub starsUsed in 1 repo~606 tokens
    Agent WorkflowsAuto-check passed

More from blueberrycongee/termcanvas

  • Challenge

    blueberrycongee/termcanvas

    Adversarial review skill. An agent skill from blueberrycongee/termcanvas.

    406 GitHub stars~1.5k tokensUpdated 4 mo ago
    Auto-check passed
  • Code Review

    blueberrycongee/termcanvas

    Structured code review skill. An agent skill from blueberrycongee/termcanvas.

    406 GitHub stars~804 tokensUpdated 4 mo ago
    Auto-check passed
  • QA

    blueberrycongee/termcanvas

    QA testing skill with real browser automation. An agent skill from blueberrycongee/termcanvas.

    406 GitHub stars~830 tokensUpdated 4 mo ago
    Auto-check passed
  • Investigate

    blueberrycongee/termcanvas

    Systematic debugging skill. An agent skill from blueberrycongee/termcanvas.

    406 GitHub stars~562 tokensUpdated 4 mo ago
    Auto-check passed
  • Security Audit

    blueberrycongee/termcanvas

    Security audit skill. An agent skill from blueberrycongee/termcanvas.

    406 GitHub stars~966 tokensUpdated 4 mo ago
    Auto-check: notes
  • Using Termcanvas

    blueberrycongee/termcanvas

    A skill your agent uses when starting work in a TermCanvas-managed repo to route between direct work, Hydra, or a narrow TermCanvas skill.

    406 GitHub stars~793 tokensUpdated 4 mo ago
    Auto-check passed

Categories

Questions about Hydra

What does Hydra do?

A skill your agent uses when a task should run through Hydra's Lead-driven workflow for multi-agent orchestration, or when an existing workflow must be inspected or cleaned up. Hydra is an agent skill from blueberrycongee/termcanvas. Use when a task should run through Hydra's Lead-driven workflow for multi-agent orchestration, or when an existing workflow must be inspected or cleaned up.

When should I use Hydra?

Hydra fits situations like: A task should run through Hydras Lead-driven workflow for multi-agent orchestration; an existing workflow must be inspected.

How do I install Hydra in Claude Code?

Run `npx skills add blueberrycongee/termcanvas --skill hydra -a claude-code`. Or copy the skill folder (skills/skills/hydra in blueberrycongee/termcanvas) into .claude/skills/hydra in your project. Claude Code loads it when a task matches its description.

How do I install Hydra in Codex?

Run `npx skills add blueberrycongee/termcanvas --skill hydra -a codex`. Or copy the skill folder (skills/skills/hydra in blueberrycongee/termcanvas) into .agents/skills/hydra in your project. Codex loads it when a task matches its description.

Can I use Hydra in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add blueberrycongee/termcanvas --skill hydra -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/hydra, .gemini/skills/hydra, .github/skills/hydra and .opencode/skills/hydra in your project.

What does Hydra need to run?

SKILL.md names no scripts, command-line tools or credentials: Hydra is instructions for the agent only.

Does Hydra access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Hydra safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Hydra use?

Hydra is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Hydra use?

About 2.2k tokens (SKILL.md is roughly 8.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Hydra?

Skills that share tags, products or a category with Hydra: Orca CLI (stablyai/orca, 87k stars), Paseo Advisor Second Opinion (getpaseo/paseo, 20k stars), O2 Review Loop (openobserve/openobserve, 22k stars) and Paseo Committee (getpaseo/paseo, 20k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Hydra?

blueberrycongee (a GitHub user) maintains it in blueberrycongee/termcanvas, which has 406 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on May 31, 2026.

Source: blueberrycongee/termcanvas on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.