yaks: Agent for Claude Code

.pi/agents/scout.md

scout is an agent for Claude Code from mattwynne/yaks. It costs 17 tokens per session (294 once invoked), scanned A, a copy of scout, MIT.

A codebase reconnaissance agent that quickly finds important files, code structures, dependencies, and starting points for another developer or agent.

In plain words
What is it for?
Use it to locate relevant files, trace imports, identify key functions and types, explain how components connect, and prepare a concise handoff.
Why use it?
It reduces the time needed to understand an unfamiliar repository before making changes or planning work.

Agent for Claude Code

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

This is mattwynne/yaks's own configuration. It tells Claude Code how to work on yaks itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything yaks configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mattwynne/yaks. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mattwynne/yaks/main/.pi/agents/scout.md
Clone the repo
git clone --depth 1 https://github.com/mattwynne/yaks

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 scout

README.md
[![agentmods](https://agentmods.dev/badge/agents/mattwynne/yaks/scout/github.svg)](https://agentmods.dev/agents/mattwynne/yaks/scout)
Your own site
<a href="https://agentmods.dev/agents/mattwynne/yaks/scout"><img src="https://agentmods.dev/badge/agents/mattwynne/yaks/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/mattwynne/yaks/scout"><img src="https://agentmods.dev/badge/agents/mattwynne/yaks/scout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00017 $0.00294
Opus 5.5 $0.00007 $0.00118
Sonnet 5.5 $0.00003 $0.00059
Haiku 4.5 $0.00002 $0.00029

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

Origin

This is a copy

100% identical to scout — 8 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.

.pi/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. 1mo ago 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 mattwynne/yaks (61 stars, last pushed yesterday), licensed MIT. It adds 17 tokens to every session and 294 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to scout, differing in 8 lines, and is treated as a copy.

Related

Other agents, from other repositories

silent-failure-hunter

Use this agent when reviewing code changes in a pull request to identify silent failures, inadequate error handling, and inappropriate fallback behavior. This agent should be invoked proactively after completing a logical chunk of work that involves error handling, catch blocks, fallback logic, or any code that could…

troykelly/claude-skills · 0 tokens

react18-batching-fixer

Automatic batching regression specialist. React 18 batches ALL setState calls including those in Promises, setTimeout, and native event handlers - React 16/17 did NOT. Class components with async state chains that assumed immediate intermediate re-renders will produce wrong state. This agent finds every vulnerable…

github/awesome-copilot · 76 tokens

react19-auditor

Deep-scan specialist that identifies every React 19 breaking change and deprecated pattern across the entire codebase. Produces a prioritized migration report at .github/react19-audit.md. Reads everything, touches nothing. Invoked as a subagent by react19-commander.

github/awesome-copilot · 61 tokens

C#/.NET Janitor

Perform janitorial tasks on C#/.NET code including cleanup, modernization, and tech debt remediation.

github/awesome-copilot · 27 tokens

semble-search

Code search agent for exploring any codebase. Use for finding code by intent, locating implementations, understanding how something works, or discovering related code. Prefer over runshellcommand/readfile for any semantic or exploratory question.

MinishLab/semble · 46 tokens

fixer

Use for quick fixes, hotfixes, urgent patches, and time-sensitive bug repairs.

AgentWorkforce/relay · 21 tokens