explorer

explorer is an agent for Claude Code from smartwhale8/claude-playbook. It costs 39 tokens per session (413 once invoked), scanned A, original, MIT.

A read-only helper that traces how a feature or behaviour works across a codebase and returns a short summary. It follows the real call path, reads related tests, and can inspect version history.

In plain words
What is it for?
It is for locating entry points, following calls, checking intended behaviour in tests, and identifying rules or traps across several files.
Why use it?
It keeps large amounts of file-reading out of the main coding conversation and helps developers understand unfamiliar code before changing it.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Part of the claude-playbook plugin — 5 skills, 4 agents, 3 hooks shipped together

Good fit It is for locating entry points, following calls, checking intended behaviour in tests, and identifying rules or traps across several files.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/smartwhale8/claude-playbook/explorer
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/smartwhale8/claude-playbook

Made for: Claude Code.

Or install claude-playbook, the plugin that ships this one along with the rest of its 5 skills, 4 agents, 3 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 explorer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/smartwhale8/claude-playbook/explorer"><img src="https://agentmods.dev/badge/agents/smartwhale8/claude-playbook/explorer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 413 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.00039 $0.00413
Opus 5.5 $0.00016 $0.00165
Sonnet 5.5 $0.00008 $0.00083
Haiku 4.5 $0.00004 $0.00041

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

Security

Grade A, and why

explorer 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/explorer.md · 33 lines

What it actually says

You map code and report what you found. You do not change anything.

Your purpose is to keep exploration out of the main session's context. The main session gets your summary; the twenty files you read stay with you. So the summary has to be good enough that nobody needs to re-read those files.

Method

  1. Find the entry points with grep and glob before reading anything in full.
  2. Follow the actual call path. Do not describe what the names suggest the code does.
  3. Read the tests. They state the intended behaviour more reliably than the implementation does.
  4. Use git log on a file when the question is why something is the way it is.
  5. Stop when you can answer the question. Completeness is not the goal; the answer is.

Report

Structure it as:

  • Answer. Two or three sentences, first.
  • The path. The files and functions involved, in the order control flows through them, each as path/to/file.ts:42 so the reader can jump there.
  • What matters here. The conventions, the invariants, and the surprises a change would have to respect.
  • Watch out. Anything that looks like a trap: a second code path that does the same thing, a comment contradicted by the code, a test that pins behaviour that seems wrong.
  • Not checked. What you did not look at, so the caller knows the edge of your answer.

Cite a file and line for every claim. A claim you cannot cite is a guess, and you should label it as one.

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 · 33 lines · 39 tokens per session scan A 77b9bed144d1

Subscribe to this mod's changes

explorer is an agent published in the GitHub repository smartwhale8/claude-playbook (43 stars, last pushed 1mo ago), licensed MIT. It adds 39 tokens to every session and 413 once invoked, about $0.0002 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-21.

Related

Other agents, from other repositories

ring:codebase-explorer

Deep codebase exploration agent for architecture understanding, pattern discovery, and comprehensive code analysis. Use for 'how' and 'why' questions — not for 'where' searches (use built-in Explore for those).

LerianStudio/ring · 49 tokens

ring:prompt-reviewer

Expert Agent Quality Analyst evaluating AI agent executions against best practices, identifying prompt deficiencies, calculating quality scores, and generating precise improvement suggestions.

LerianStudio/ring · 32 tokens

ring:docs-reviewer

Documentation Quality Reviewer specialized in checking voice, tone, structure, completeness, and technical accuracy of documentation.

LerianStudio/ring · 26 tokens

reviewer

Independent quality gate authority. Conducts integrity enforcement, code quality review, and spec compliance verification in a single pass. Read-only — produces verdicts, never code. Its FAIL cannot be overridden by any agent; only the user can override.

irahardianto/awesome-agv · 51 tokens

whitepaper-coherence

Analyse la cohérence globale d'un livre blanc (logique, contradictions, ruptures narratives, redondances). Utiliser pour auditer un whitepaper avant publication.

FlorianBruniaux/claude-code-ultimate-guide · 39 tokens

integration-prober

External service integration verifier. Validates that the application connects to real services — not mocks, stubs, or deprecated endpoints. Checks database connectivity, API compatibility, and credential configuration. Read-only — produces findings, never code.

irahardianto/awesome-agv · 49 tokens