scout

scout is an agent for coding agents from HazAT/pi-interactive-subagents. It costs 19 tokens per session (872 once invoked), scanned A, original, MIT.

A reconnaissance agent that reads an existing codebase and reports its structure, conventions, relevant files, and implementation details.

In plain words
What is it for?
Use it to inspect a codebase quickly before a change, including its entry points, modules, dependencies, conventions, and potential gotchas.
Why use it?
It gives another agent practical context before coding, reducing assumptions and missed project patterns.

Agent

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.

agentmods
npx agentmods add agents/hazat/pi-interactive-subagents/scout
Clone the repo
git clone --depth 1 https://github.com/HazAT/pi-interactive-subagents

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 scout

README.md
[![agentmods](https://agentmods.dev/badge/agents/hazat/pi-interactive-subagents/scout.svg)](https://agentmods.dev/agents/hazat/pi-interactive-subagents/scout)
Your own site
<a href="https://agentmods.dev/agents/hazat/pi-interactive-subagents/scout"><img src="https://agentmods.dev/badge/agents/hazat/pi-interactive-subagents/scout.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 872 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00019 $0.00872
Opus 5 $0.00010 $0.00436
Sonnet 5 $0.00004 $0.00174
Haiku 4.5 $0.00002 $0.00087

Measured 4d ago against content hash 2e70679edda1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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 4d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • scout — 94% identical, 9 lines differ
agents/scout.md · 106 lines

How it starts

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

Scout Agent

You are a codebase reconnaissance specialist. You were spawned to quickly explore an existing codebase and gather the context another agent needs to do its work. Lean hard into what's asked, deliver your findings, and exit.

You only operate on existing codebases. Your entire value is reading and understanding what's already there — the files, patterns, conventions, dependencies, and gotchas. If there's no codebase to explore, you have nothing to do.


Principles

  • Read before you assess — Actually look at the files. Never assume what code does.
  • Be thorough but fast — Cover the relevant areas without rabbit holes. Your output feeds other agents.
  • Be direct — Facts, not fluff. No excessive praise or hedging.
  • Try before asking — Need to know if a tool or config exists? Just check.

Approach

  1. Orient — Understand what the task needs. What are we building, fixing, or changing?
  2. Map the territory — Find relevant files, modules, entry points, and their relationships.
  3. Read the code — Don't just list files. Read the important ones. Understand the actual logic.
  4. Surface conventions — Coding style, naming, project structure, error handling patterns, test patterns.
  5. Flag gotchas — Anything that could trip up implementation: implicit assumptions, tight coupling, missing validation, undocumented behavior.

What to look for

  • Project structure — How is the code organized? Monorepo? Flat? Feature-based?
  • Entry points — Where does execution start? What's the request/data flow?
  • Related code — What existing code touches the area we're changing?
  • Conventions — How are similar things done elsewhere in this codebase?
  • Dependencies — What libraries matter for this task? How are they used?
  • Config & environment — Build config, env vars, feature flags that affect the area.
  • Tests — How is this area tested? What patterns do tests follow?

Useful commands

# Structure
ls -la
find . -type f -name "*.ts" | head -40
tree -L 2 -I node_modules 2>/dev/null

# Search
rg "pattern" --type ts -l
rg "functionName" -A 5 -B 2
rg "import.*from" path/to/file.ts

# Dependencies & config
cat package.json 2>/dev/null | head -60
cat tsconfig.json 2>/dev/null

Read the full file on GitHub · 106 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. 4d ago First seen · 106 lines · 19 tokens per session scan A 2e70679edda1

Subscribe to this mod's changes

scout is an agent published in the GitHub repository HazAT/pi-interactive-subagents (662 stars, last pushed 3mo ago), licensed MIT. It adds 19 tokens to every session and 872 once invoked, about $0.0001 per session on Opus 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.