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.
npx agentmods add skills/opencue/cuecards/hydranpx skills add opencue/cuecards --skill hydragit clone --depth 1 https://github.com/opencue/cuecardsWrote 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.
[](https://agentmods.dev/skills/opencue/cuecards/hydra)<a href="https://agentmods.dev/skills/opencue/cuecards/hydra"><img src="https://agentmods.dev/badge/skills/opencue/cuecards/hydra.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00041 | $0.12554 |
| Opus 5 | $0.00020 | $0.06277 |
| Sonnet 5 | $0.00008 | $0.02511 |
| Haiku 4.5 | $0.00004 | $0.01255 |
Grade B, and why
hydra scanned grade B with 2 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 yesterday.
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.
Asks for rootlowPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
HYDRA_TMP=$(mktemp -d "${TMPDIR:-/tmp}/hydra-XXXXXX") && chmod 700 "$HYDRA_TMP" && echo "$HYDRA_TMP" Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Recursive force deletemediumDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf "$HYDRA_TMP" 2>/dev/null Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
How it starts
The opening of the file, as written. The whole thing — 947 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Hydra
Example invocation
Run Hydra for a deep security and architecture review of this branch.
Four advisors analyze your code from different angles by default (standard mode) -- including Echo, which reviews AI-assisted-development failure modes. Escalate to deep mode for the full council: six advisors, three cross-examining reviewers, and a chairman synthesizing the final verdict.
Standard mode runs 4 advisors + chairman on Opus ($0.35-0.65). Deep mode adds 2 more
advisors (including 2 Codex), 3 reviewers, and cross-model diversity ($1.50-2.50).
Reference files in references/ define all prompts and protocols -- read them at the
relevant step.
Modes
| Mode | CLI | Advisors | Reviewers | Chairman | Total | Est. Cost |
|---|---|---|---|---|---|---|
| standard | (default) | 4 (Cassandra + Mies+ + Sentinel + Echo) | 0 | 1 Opus | 5 | ~$0.35-0.65 |
| deep | --mode deep |
6 (4 Opus + 2 Codex) | 3 (all Opus) | 1 Opus | 10 | ~$1.50-2.50 |
Modifiers (combinable):
--no-codex-- the deep-mode Codex advisors (Mies+, Sentinel) run on Opus instead.--no-review-- Skip peer review phase. Only meaningful with deep (reduces to 7 agents, ~$1.00).
Minimum thresholds -- formula: ceil(N * 0.6), min 2:
| Mode | Min Advisors | Min Reviewers |
|---|---|---|
| standard | 3 of 4 | -- |
| deep | 4 of 6 | 2 of 3 (if reviewers active) |
What ships with it
60 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.
- .claude/hooks/check-codex-freshness.sh 1.4 KB runs code
- .claude/settings.json 240 B
- .gitignore 230 B
- .python-version 7 B
- bench/__init__.py 0 B runs code
- bench/baselines/.gitkeep 0 B
- bench/cases/01-axios-header-injection/diff.patch 560 B
- bench/cases/01-axios-header-injection/expected_findings.jsonl 191 B
- bench/cases/01-axios-header-injection/manifest.yaml 490 B
- bench/cases/01-axios-header-injection/README.md 338 B
- bench/cases/01-axios-header-injection/workspace/src/interceptors/auth.ts 529 B runs code
- bench/cases/02-prisma-n-plus-one/diff.patch 586 B
- bench/cases/02-prisma-n-plus-one/expected_findings.jsonl 230 B
- bench/cases/02-prisma-n-plus-one/manifest.yaml 554 B
- bench/cases/02-prisma-n-plus-one/README.md 419 B
- bench/cases/02-prisma-n-plus-one/workspace/src/services/user-posts.ts 761 B runs code
- bench/cases/03-oauth-pkce-downgrade/diff.patch 948 B
- bench/cases/03-oauth-pkce-downgrade/expected_findings.jsonl 216 B
- bench/cases/03-oauth-pkce-downgrade/manifest.yaml 598 B
- bench/cases/03-oauth-pkce-downgrade/README.md 508 B
- bench/cases/03-oauth-pkce-downgrade/workspace/src/auth/oauth-callback.ts 1.4 KB runs code
- bench/cases/04-react-effect-infinite-loop/diff.patch 578 B
- bench/cases/04-react-effect-infinite-loop/expected_findings.jsonl 231 B
- bench/cases/04-react-effect-infinite-loop/manifest.yaml 643 B
- bench/cases/04-react-effect-infinite-loop/README.md 576 B
- bench/cases/04-react-effect-infinite-loop/workspace/src/components/ProductList.tsx 446 B
- bench/cases/05-fastify-plugin-contract-break/diff.patch 876 B
- bench/cases/05-fastify-plugin-contract-break/expected_findings.jsonl 225 B
- bench/cases/05-fastify-plugin-contract-break/manifest.yaml 582 B
- bench/cases/05-fastify-plugin-contract-break/README.md 580 B
- bench/cases/05-fastify-plugin-contract-break/workspace/src/plugins/rate-limit.ts 545 B runs code
- bench/repos/.gitkeep 0 B
- bench/runner/__init__.py 0 B runs code
- bench/runner/extract_findings.py 1.0 KB runs code
- bench/runner/invoke_hydra_1x.py 5.4 KB runs code
- bench/runner/run_bench.py 2.8 KB runs code
- bench/runner/scoring.py 2.8 KB runs code
- docs/adr/0001-execution-substrate.md 9.4 KB
- docs/gates/part-2-2026-04-17.md 14 KB
- docs/plans/2026-04-17-hydra-2.0-core.md 199 KB
- docs/specs/2026-04-17-hydra-2.0-core-design-v1-rejected.md 38 KB
- docs/specs/2026-04-17-hydra-2.0-core-design-v2.md 61 KB
- hydra/__init__.py 258 B runs code
- hydra/budget.py 2.2 KB runs code
- hydra/config.py 1.7 KB runs code
- hydra/envelopes.py 6.8 KB runs code
- hydra/path_safety.py 2.2 KB runs code
- hydra/phase1/__init__.py 0 B runs code
- hydra/phase1/seed_ids.py 644 B runs code
- hydra/phase1/tools/__init__.py 0 B runs code
- hydra/phase1/tools/semgrep.py 6.6 KB runs code
- hydra/py.typed 0 B
- hydra/run_nonce.py 1.3 KB runs code
- hydra/subprocess_safe.py 2.5 KB runs code
- LICENSE 1.0 KB
- pyproject.toml 1.4 KB
- README.md 11 KB
- references/advisors.md 24 KB
- references/chairman-protocol.md 15 KB
- references/report-template.md 6.8 KB
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.
- yesterday First seen · 947 lines · 41 tokens per session scan B aaf7cd7f9dbd
hydra is a skill published in the GitHub repository opencue/cuecards (5 stars, last pushed yesterday), licensed MIT. It adds 41 tokens to every session and 12,554 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 2 findings (asks for root, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
design-patterns
Rust design patterns for RTK. Newtype, Builder, RAII, Trait Objects, State Machine. Applied to CLI filter modules. Use when designing new modules or refactoring existing ones.
codebase-onboarding
Use when you land in an unfamiliar or inherited codebase and must get productive fast: a breadth-first map of entry points, request flow, module ownership, hidden side effects (cron, webhooks, workers) and churn hotspots, committed as CODEBASE-MAP.md. NOT a deep audit of one module (that is analyze) or chasing one…
fill-in-missing-assumptions
How to use Assumption Surfacing and Sensitivity Analysis to uncover silent presuppositions, prevent architectural failure, and stress-test recommendations.
frontend-feature
Build a frontend feature end-to-end. Routing, data, state, forms, types, all UI states, tests. Reuse first.
database-migrations
Write safe, reversible, backward-compatible database migrations. Avoid downtime, locks, and "oops we lost data".
database-schema
Design a database schema. Naming, types, indexes, soft-delete, multi-tenant. Relational core + document-store notes.