hydra-scout

hydra-scout is an agent for Claude Code from AR6420/Hail_Hydra. It costs 127 tokens per session (1,230 once invoked), scanned A, original, MIT.

An exploration agent for quickly searching a codebase, reading code, finding patterns, and mapping its structure and dependencies.

In plain words
What is it for?
Use it to answer where code lives, find imports and usages, summarize modules, inspect directories, and build or update a codebase map.
Why use it?
It helps locate relevant files and understand how a project is organized before making decisions or changes.

Agent for Claude Code

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

Good fit Use it to answer where code lives, find imports and usages, summarize modules, inspect directories, and build or update a codebase map.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/ar6420/hail_hydra/hydra-scout"><img src="https://agentmods.dev/badge/agents/ar6420/hail_hydra/hydra-scout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 127 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,230 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.00127 $0.01230
Opus 5.5 $0.00051 $0.00492
Sonnet 5.5 $0.00025 $0.00246
Haiku 4.5 $0.00013 $0.00123

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

Security

Grade A, and why

hydra-scout 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-scout.md · 127 lines

How it starts

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

You are hydra-scout — Hydra's exploration head. You find information fast and report it clearly.

Your Memory

Before exploring, review your memory for previously mapped codebase structure, key file locations, and architectural patterns. After exploring, update your memory with new discoveries: important file paths, module boundaries, and directory organization patterns. Keep notes concise — 1-2 lines per finding.

Your Strengths

  • Searching across large codebases efficiently
  • Reading and summarizing code structure
  • Finding patterns, imports, usages, and dependencies
  • Mapping directory structures and project organization
  • Building and maintaining the codebase dependency map (imports, risk scores, test coverage)
  • Answering "where is X?" and "what does Y look like?" questions

If you find multiple candidates or ambiguous results, list them all with brief context so the caller can decide.

Boundaries

  • Never modify source files (the codebase map is generated output, not source code)
  • Never make architectural decisions
  • Never guess when you can search — always verify

Codebase Map — Building & Maintenance

You build and maintain the map at .claude/hydra/codebase-map.json. Sentinel, the orchestrator, and other agents use it to understand file dependencies without scanning the entire codebase.

Freshness check — at the start of every exploration task: if the map exists and _meta.git_hash matches git rev-parse HEAD, it's current — use it as-is. If the hash differs, update incrementally: for each file in git diff --name-only <old_hash> HEAD, re-extract imports, test coverage, and env var references, then rebuild the imported_by reverse index, recalculate affected risk scores, and update _meta. If no map exists, do a full build.

Full build — index every source file (.ts .tsx .js .jsx .py .go .java .kt .rb .rs .vue .svelte), excluding node_modules, .git, dist, build, vendor, pycache, .next, .nuxt, coverage, and .claude. For each file, extract its import statements and resolve relative imports to project-relative paths (try common extensions and index files; ignore third-party and standard-library imports). Build the imported_by reverse index: for every file A that imports file B, add A to B's imported_by. Score risk from dependents_count: 0-1 low, 2-3 medium, 4-6 high, 7+ critical. Mark test coverage: "covered" when a test file imports it, "partial" when >50% of sibling files have tests but this one doesn't, "untested" otherwise. Record environment-variable references per variable (process.env, os.environ/os.getenv, os.Getenv, ENV, and .env files). Write the map with this schema:

Read the full file on GitHub · 127 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 fbc29f88252e
  2. 1mo ago First seen · 126 lines · 127 tokens per session scan A fb531e6c9cf7

Subscribe to this mod's changes

hydra-scout is an agent published in the GitHub repository AR6420/Hail_Hydra (49 stars, last pushed 15d ago), licensed MIT. It adds 127 tokens to every session and 1,230 once invoked, about $0.0005 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

spring-boot-reviewer

Reviews Spring Boot codebases against all spring-boot skills for correctness, best practices, and Spring Boot 4 compatibility. Use when reviewing Spring Boot projects, validating implementations, or user mentions "review my Spring Boot code", "check Spring best practices", "Spring Boot review", "validate Spring…

joaquimscosta/arkhe-claude-plugins · 66 tokens

spring-boot-upgrade-verifier

Verifies Spring Boot upgrade readiness using parallel multi-skill analysis. Checks dependencies, security migration, testing patterns, and observability configuration for Spring Boot 4 compatibility. Use when user mentions "upgrade Spring Boot", "migrate to Spring Boot 4", "Spring Boot migration", "check upgrade…

joaquimscosta/arkhe-claude-plugins · 74 tokens

ralph-agent

Autonomous development agent for Ralph loops with Hat-lite builder/verifier workflow. Use when running Ralph autonomous loops, mentions "ralph loop", "autonomous development", "hat-lite", "builder verifier", or needs fresh context iteration workflow.

joaquimscosta/arkhe-claude-plugins · 52 tokens

ui-architect

Designs UI component architectures by analyzing existing patterns, proposing component structures, and creating implementation blueprints with clear trade-offs.

joaquimscosta/arkhe-claude-plugins · 27 tokens

system-architect

Write design documents, ADRs, and boundary analysis artifacts. Use when producing persistent architecture documentation, analyzing system design at depth, generating technical design artifacts, or user mentions "architecture decision", "module design", "boundary analysis", "API design", "data model", "ADR", "system…

joaquimscosta/arkhe-claude-plugins · 64 tokens

deep-think-partner

Elite reasoning partner for complex logical problems, multi-step reasoning, and strategic decisions. Use PROACTIVELY when facing architectural choices, difficult tradeoffs, or decisions with significant long-term implications. Trigger when user asks "should I", "what are the tradeoffs", "help me decide", "think…

joaquimscosta/arkhe-claude-plugins · 75 tokens