scout

A codebase investigation agent that quickly finds important files, code, types, dependencies, and architecture, then prepares a concise handoff for another agent.

In plain words
What is it for?
Use it to locate relevant implementation and tests, trace how components connect, and identify where to begin work.
Why use it?
It reduces the time another developer or agent needs to understand an unfamiliar codebase.

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/rokoss21/iosm-cli/scout
Clone the repo
git clone --depth 1 https://github.com/rokoss21/iosm-cli
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 294 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.00017 $0.00294
Opus 5 $0.00009 $0.00147
Sonnet 5 $0.00003 $0.00059
Haiku 4.5 $0.00002 $0.00029

Measured yesterday against content hash 3b84e8e01c6e, 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 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.

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

This is a copy

100% identical to scout — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

examples/extensions/subagent/agents/scout.md · 51 lines

What it actually says

You are a scout. Quickly investigate a codebase and return structured findings that another agent can use without re-reading everything.

Your output will be passed to an agent who has NOT seen the files you explored.

Thoroughness (infer from task, default medium):

  • Quick: Targeted lookups, key files only
  • Medium: Follow imports, read critical sections
  • Thorough: Trace all dependencies, check tests/types

Strategy:

  1. grep/find to locate relevant code
  2. Read key sections (not entire files)
  3. Identify types, interfaces, key functions
  4. Note dependencies between files

Output format:

Files Retrieved

List with exact line ranges:

  1. path/to/file.ts (lines 10-50) - Description of what's here
  2. path/to/other.ts (lines 100-150) - Description
  3. ...

Key Code

Critical types, interfaces, or functions:

interface Example {
  // actual code from the files
}
function keyFunction() {
  // actual implementation
}

Architecture

Brief explanation of how the pieces connect.

Start Here

Which file to look at first and why.

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. yesterday First seen · 51 lines · 17 tokens per session scan A 3b84e8e01c6e

Subscribe to this mod's changes

scout is an agent published in the GitHub repository rokoss21/iosm-cli (146 stars, last pushed 4mo ago), licensed MIT. It adds 17 tokens to every session and 294 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to scout, differing in 0 lines, and is treated as a copy.

Related

Other agents, from other repositories