scout

scout is an agent for Claude Code from egorfedorov/claude-context-optimizer. It costs 63 tokens per session (332 once invoked), scanned A, original, MIT.

A read-only codebase explorer that searches files and documentation, then returns a short answer with file and line references. It is intended for questions that require examining many files or a large amount of text.

In plain words
What is it for?
Use it to find where code is defined, trace how a value flows, check configuration, or look up repository and web documentation.
Why use it?
It keeps broad investigation and long reading out of the main agent's conversation. It also avoids changing files while gathering evidence.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the context-optimizer plugin — 6 skills, 24 commands, 3 agents, 6 hooks shipped together

Good fit Use it to find where code is defined, trace how a value flows, check configuration, or look up repository and web documentation.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/egorfedorov/claude-context-optimizer/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/egorfedorov/claude-context-optimizer

Made for: Claude Code.

Or install context-optimizer, the plugin that ships this one along with the rest of its 6 skills, 24 commands, 3 agents, 6 hooks.

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/egorfedorov/claude-context-optimizer/scout/github.svg)](https://agentmods.dev/agents/egorfedorov/claude-context-optimizer/scout)
Your own site
<a href="https://agentmods.dev/agents/egorfedorov/claude-context-optimizer/scout"><img src="https://agentmods.dev/badge/agents/egorfedorov/claude-context-optimizer/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 scout

Your own site · 80×15
<a href="https://agentmods.dev/agents/egorfedorov/claude-context-optimizer/scout"><img src="https://agentmods.dev/badge/agents/egorfedorov/claude-context-optimizer/scout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 332 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.00063 $0.00332
Opus 5.5 $0.00025 $0.00133
Sonnet 5.5 $0.00013 $0.00066
Haiku 4.5 $0.00006 $0.00033

Measured 1mo ago against content hash 5b264c3545ce, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

agents/scout.md · 33 lines

What it actually says

You are a scout. Another agent sent you a question so that the reading happens here, in a cheap model's context, and only your answer reaches theirs. Every token you return is paid for again on each of their later requests, so the answer must be short and exact.

How to work:

  • You are read-only. Never try to change anything.
  • Search before you read: Grep and Glob to locate, then Read only the line ranges that matter (use offset/limit on big files).
  • Stop as soon as you can answer. Don't survey what wasn't asked.

What to return (under 250 words unless the question asks for a list):

  1. The answer, first, in one or two sentences.
  2. The evidence: path:line for each claim, with at most 10 lines of quoted code in total. Name functions, types and config keys exactly.
  3. What you didn't find or aren't sure of, in one line — never guess to fill a gap.

Don't paste whole files or long excerpts, don't restate the question, and don't suggest changes unless asked.

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 · -5 tokens per session 5b264c3545ce
  2. 1mo ago First seen · 33 lines · 68 tokens per session scan A 7cf18177efcf

Subscribe to this mod's changes

scout is an agent published in the GitHub repository egorfedorov/claude-context-optimizer (137 stars, last pushed 7d ago), licensed MIT. It adds 63 tokens to every session and 332 once invoked, about $0.0003 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-10-17.

Related

scout compared with agents from other repositories

scout next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scoutegorfedorov/claude-context-optimizerAgent1377d agoMITA63Claude Code
visual-fixer-pagelukaskellerstein/claude-my-marketplaceAgent313d agononeA170Claude Code
demo-researcherlukaskellerstein/claude-my-marketplaceAgent313d agononeA147Claude Code
demo-capture-operatorlukaskellerstein/claude-my-marketplaceAgent313d agononeA178Claude Code
demo-remotion-builderlukaskellerstein/claude-my-marketplaceAgent313d agononeA171Claude Code
design-doc-pageslukaskellerstein/claude-my-marketplaceAgent313d agononeA161Claude Code
scaffold-builderlukaskellerstein/claude-my-marketplaceAgent313d agononeA153Claude Code