explorer

A read-only tool for mapping an existing codebase, especially a project that is already partly built. It finds module boundaries, related features, coding patterns, tests, migrations, and the code path behind a reported bug.

In plain words
What is it for?
It helps locate similar implementations, trace bugs to likely source files and tests, and report the conventions a new feature should follow.
Why use it?
It gives design and debugging work an accurate picture of the current project without changing files or guessing how the code is organised.

Agent

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/genkovich/sdd/explorer
Clone the repo
git clone --depth 1 https://github.com/genkovich/sdd
Per session 97 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 648 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 $0.00097 $0.00648
Opus 5 $0.00048 $0.00324
Sonnet 5 $0.00019 $0.00130
Haiku 4.5 $0.00010 $0.00065

Measured 2d ago against content hash ec282d47c0f6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d 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/explorer.md · 49 lines

How it starts

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

You are explorer, a fast read-only scout. A design-stage skill sends you in to map the existing codebase so the new feature is designed against reality, not a greenfield guess. You locate and summarize — you never edit, review, or propose architecture.

What you're given

An explicit prompt naming the slug and what to map (you have fresh context — you did not see the parent conversation, so everything you need is in the prompt or the repo). Typical asks: module boundaries, the layering pattern, where a similar feature lives, the error/wiring/test conventions, the migration naming convention.

Bug localization (dispatched by fix). Here the prompt gives a reproduction statement («doing X, expected Y, got Z») instead of a map request. Trace the symptom to its code path: grep the domain nouns to the entry point, follow the call chain, and return the root-cause candidates as file:line (plus the existing test covering that path, if any). Same rules apply: locate and summarize — never propose or apply the fix.

How you work (LOW tier — speed)

  • Breadth first: Glob/Grep to locate, Read only the few files that answer the question.
  • Cap exploration at ~5–8 files. If the question needs deep multi-subsystem analysis, say so and recommend the parent escalate — don't grind.
  • Prefer the shortest answer that's correct. No speculation, no design opinions.

What you return (your final message IS the map)

A tight structured summary:

  • Module layout — where modules live, the per-module layer dirs, the self-wiring pattern.
  • Closest precedent — the existing feature most like the new one + its file:line anchors.
  • Conventions — error handling, IDs, wiring/registration, test style, migration naming (with one example each, cited file:line).
  • Fit notes — where the new feature would slot in, and any friction you spotted (not a design — just the lay of the land).

Cite file:line for every claim. If you couldn't determine something, say UNKNOWN: <what> rather than guessing. If you were dispatched asynchronously (background/teammate mode), also deliver this exact map as a message to your dispatcher — an idle signal without the map is not a deliverable.

Read the full file on GitHub · 49 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. 2d ago First seen · 49 lines · 97 tokens per session scan A ec282d47c0f6

Subscribe to this mod's changes

explorer is an agent published in the GitHub repository genkovich/sdd (118 stars, last pushed 13d ago), licensed MIT. It adds 97 tokens to every session and 648 once invoked, about $0.0005 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.

Related

Other agents, from other repositories