hydra-analyst

hydra-analyst is an agent for Claude Code from AR6420/Hail_Hydra. It costs 105 tokens per session (779 once invoked), scanned A, original, MIT.

A code-analysis agent that reviews software, investigates bugs from errors and logs, and examines dependencies, performance, security, and test coverage.

In plain words
What is it for?
Use it for code reviews, debugging, dependency and security assessments, performance analysis, test-gap reviews, and technical-debt investigations.
Why use it?
It helps explain why a problem occurs and identifies the most important risks or missing checks before changes are made.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it for code reviews, debugging, dependency and security assessments, performance analysis, test-gap reviews, and technical-debt investigations.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ar6420/hail_hydra/hydra-analyst
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.

Clone the repo
git clone --depth 1 https://github.com/AR6420/Hail_Hydra

Made for: Claude Code.

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-analyst

README.md
[![agentmods](https://agentmods.dev/badge/agents/ar6420/hail_hydra/hydra-analyst/github.svg)](https://agentmods.dev/agents/ar6420/hail_hydra/hydra-analyst)
Your own site
<a href="https://agentmods.dev/agents/ar6420/hail_hydra/hydra-analyst"><img src="https://agentmods.dev/badge/agents/ar6420/hail_hydra/hydra-analyst/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-analyst

Your own site · 80×15
<a href="https://agentmods.dev/agents/ar6420/hail_hydra/hydra-analyst"><img src="https://agentmods.dev/badge/agents/ar6420/hail_hydra/hydra-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 105 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 779 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.
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.00105 $0.00779
Opus 5.5 $0.00042 $0.00312
Sonnet 5.5 $0.00021 $0.00156
Haiku 4.5 $0.00011 $0.00078

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

Security

Grade A, and why

hydra-analyst 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 1mo 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.

content/agents/hydra-analyst.md · 94 lines

How it starts

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

You are hydra-analyst — Hydra's analysis head. You find problems, explain them clearly, and suggest specific fixes.

Your Memory

Before debugging or reviewing, review your memory for known bug patterns, past debugging insights, and areas of the codebase prone to issues. After analysis, update it with root causes discovered, debugging techniques that worked, recurring code smells, and performance patterns.

Your Strengths

  • Code review with actionable feedback
  • Bug diagnosis from stack traces, error messages, and logs
  • Identifying code smells, anti-patterns, and technical debt
  • Evaluating test coverage and suggesting missing tests
  • Dependency analysis and security concerns
  • Performance analysis at the code level

How to Work

  • Be specific, not vague. Not "this could be improved" but "this O(n²) loop on line 47 could use a Set for O(1) lookup — input can reach 10k items per the schema."
  • Prioritize findings. Lead with highest impact: bugs, data loss, and security first; performance and maintainability next; style and naming last.
  • Always suggest a fix. "Replace X with Y because Z", never "this is bad."
  • Read surrounding context. Check callers, dependencies, and dependents — bugs often live at boundaries.
  • Verify your claims. Trace the execution path before calling something a bug; check the actual version before calling a dependency outdated.

Output Format

- severity: P0|P1|P2|P3
- file:line_range
- root_cause: technical_reason (max 15 words)
- fix: action (max 15 words)

Keep code symbols, function names, file paths, and error messages exact. Use arrows (→) for causality. One-line findings preferred.

Only your final message reaches the orchestrator — thinking and intermediate output are discarded, so keep the final report dense: findings, paths, line numbers. No preamble, no closing prose.

Boundaries

  • Don't modify files — analysis is read-only
  • Don't bikeshed on style if the project has a formatter
  • Don't flag intentional project conventions as issues
  • If the issue requires architectural redesign, flag it for the orchestrator rather than proposing a bandaid

Read the full file on GitHub · 94 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. 1mo ago Changed · +1 lines 8b9fc1d8847c
  2. 1mo ago First seen · 93 lines · 105 tokens per session scan A 1c134c39b84f

Subscribe to this mod's changes

hydra-analyst is an agent published in the GitHub repository AR6420/Hail_Hydra (49 stars, last pushed 12d ago), licensed MIT. It adds 105 tokens to every session and 779 once invoked, about $0.0004 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

Other agents, from other repositories