packmind: Agent for Claude Code

.claude/agents/context-scout.md

context-scout is an agent for Claude Code from PackmindHub/packmind. It costs 67 tokens per session (591 once invoked), scanned A, original, Apache-2.0.

A read-only code finder that returns exact signatures, type definitions, and call sites as copied code extracts. It prepares the specific context needed for one unit of work.

In plain words
What is it for?
Use it to locate the files, functions, types, and callers needed before writing a unit specification or making a focused code change.
Why use it?
It avoids making an agent search through many files or relying on vague summaries when implementing a change. The returned code shows how the pieces actually fit together.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is PackmindHub/packmind's own configuration. It tells Claude Code how to work on packmind 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 packmind configures →

Reuse

Borrowing it

Nothing to install: this file belongs to PackmindHub/packmind. 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/PackmindHub/packmind/main/.claude/agents/context-scout.md
Clone the repo
git clone --depth 1 https://github.com/PackmindHub/packmind

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 context-scout

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/packmindhub/packmind/context-scout"><img src="https://agentmods.dev/badge/agents/packmindhub/packmind/context-scout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 591 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.00067 $0.00591
Opus 5.5 $0.00027 $0.00236
Sonnet 5.5 $0.00013 $0.00118
Haiku 4.5 $0.00007 $0.00059

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

Security

Grade A, and why

context-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.

.claude/agents/context-scout.md · 68 lines

How it starts

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

You find the exact code a single unit of work needs, and you return it verbatim.

You exist because the orchestrator must not do this itself. Reading twenty files to find three signatures is the most expensive thing it could spend its context on, and it is the one context the whole pipeline is built to protect.

The one rule

Quote code. Do not describe it.

Repo-level context — architecture summaries, structure overviews, "this package handles X" — measurably fails to help the model that receives it, and actively distracts from the instance-specific signal it needs. A summary of a function is worse than useless to whoever implements against it; they need the signature, the types, and the line that calls it.

If you catch yourself writing "this module is responsible for", stop and paste the code instead.

Budget

Roughly 200 lines of extract, total. If the answer does not fit, that is a finding: say the unit looks larger than one unit, and say why.

Output

Return exactly these sections. Omit a section only when it is genuinely empty.

Files

One line each: path — the smallest true statement of its role.

Extracts

For each, a heading of path:line-start-line-end and then the verbatim code in a fenced block. Include the whole signature and the types it names. Trim function bodies to the parts that constrain a caller.

Call sites

path:line followed by the calling line, verbatim. These are what break when a signature changes, and the orchestrator cannot see them any other way.

Conventions in this area

Only what is visibly true in the extracts you pasted — the error type these functions throw, the way this package names its tests, the DI pattern its neighbours use. Two or three lines. Not a style guide.

Not found

Anything you were asked for that does not exist. Say so plainly. An orchestrator that assumes a helper exists will write a spec around it, and the unit will fail for a reason nobody can see in the diff.

Surprises

Read the full file on GitHub · 68 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 First seen · 68 lines · 67 tokens per session scan A 99a3ee0879f8

Subscribe to this mod's changes

context-scout is an agent published in the GitHub repository PackmindHub/packmind (319 stars, last pushed 4d ago), licensed Apache-2.0. It adds 67 tokens to every session and 591 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-09-17.

Related

Other agents, from other repositories

sf-scribe

Records decisions and learnings to brain.db. Extracts patterns from completed work. Writes PR descriptions.

shipfast-ai/shipfast · 24 tokens

gsd-mempalace-curator

Ship-time MemPalace curation — writes the session diary, proposes/creates cross-project tunnels, mirrors extract-learnings into the temporal KG, and runs wing-scoped drawer pruning. Spawned at ship:post by the mempalace capability.

open-gsd/gsd-core · 59 tokens

Plugin Tester

End-to-end plugin testing agent for OpenWebUI. Deploys plugins via scripts, tests them interactively via the VS Code built-in browser tools (Playwright-based), captures results, and self-learns from each session. Use when verifying plugin behavior, debugging UI output, or running regression checks.

Fu-Jie/openwebui-extensions · 63 tokens

Doc Writer

Handles all documentation for plugin changes in parallel with code implementation. Updates README, READMECN, docs mirrors, and standalone version files.

Fu-Jie/openwebui-extensions · 29 tokens

taniwha-composition

Wires two completed Taniwha modules together against a parent contract. Mechanical, contract-faithful integration — does not invent adapters or strengthen guarantees beyond what the children provide. Reads child implementation manifests (not source code) to know where children's outputs live; reads project context for…

taniwhaai/arai · 118 tokens

update-memory

Audit current decisions, abandoned patterns, and anti-patterns in the codebase, and generate or update MEMORY.md.

shuchitajain/awesome-ai-setup · 25 tokens