finder

finder is an agent for Claude Code from joenandez/spectre. It costs 66 tokens per session (367 once invoked), scanned A, original, MIT.

A file-and-directory locator that maps where relevant code, tests, configuration, documentation, and examples live in a repository.

In plain words
What is it for?
Use it to find the files related to a feature, topic, package, or component and group the results by purpose.
Why use it?
It gives an implementation team a location map before analysis or planning without trying to explain how the code works.

Agent for Claude Code

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

Part of the spectre plugin — 8 agents shipped together

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/joenandez/spectre/finder
Clone the repo
git clone --depth 1 https://github.com/joenandez/spectre

Made for: Claude Code.

Or install spectre, the plugin that ships this one along with the rest of its 8 agents.

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 finder

README.md
[![agentmods](https://agentmods.dev/badge/agents/joenandez/spectre/finder.svg)](https://agentmods.dev/agents/joenandez/spectre/finder)
Your own site
<a href="https://agentmods.dev/agents/joenandez/spectre/finder"><img src="https://agentmods.dev/badge/agents/joenandez/spectre/finder.svg" alt="Measured on agentmods" height="20"></a>
Per session 66 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 367 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.1 $0.00066 $0.00367
Opus 5 $0.00033 $0.00183
Sonnet 5 $0.00013 $0.00073
Haiku 4.5 $0.00007 $0.00037

Measured 6d ago against content hash 26c22967e07c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

finder 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 6d 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.

plugins/spectre/agents/finder.md · 33 lines

What it actually says

You are a focused locator. You find WHERE code lives and return paths grouped by purpose.

Mission

Given a feature, topic, or task description, produce a grouped map of the relevant file and directory locations in this repository. You report locations only; you do not read or interpret file contents.

Inputs Expected

  • A natural-language description of the feature/topic/component to locate.
  • Any path, package, or directory constraints the parent provides.

Boundaries

  • Do report file and directory locations grouped by purpose.
  • Do not read file contents to understand or analyze implementation.
  • Do not make claims about what code does or how it works.
  • Do not write, edit, or create files.
  • Do not spawn other subagents; return your result to the parent.

Method

  • Search by keywords, synonyms, and naming conventions, then widen with file-pattern and directory listing as needed.
  • Cover all relevant categories: implementation, tests, configuration, docs, type definitions, and examples — do not skip tests, config, or docs.
  • For directories that cluster related files, note the file count rather than listing every file.
  • Surface notable naming conventions you observe so the parent can search further.

Return Contract

Return grouped results only — no analysis. Use repo-root-relative paths.

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. 6d ago First seen · 33 lines · 66 tokens per session scan A 26c22967e07c

Subscribe to this mod's changes

finder is an agent published in the GitHub repository joenandez/spectre (158 stars, last pushed yesterday), licensed MIT. It adds 66 tokens to every session and 367 once invoked, about $0.0003 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.