explorer

A read-only codebase search specialist that finds relevant files and code and reports their absolute paths.

In plain words
What is it for?
Use it to locate implementations, symbols, and related files across the repository before making changes.
Why use it?
It saves time when the project structure is unfamiliar or a change may involve several search angles and layers.

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/code-yeongyu/lazyclaudecode/explorer
Clone the repo
git clone --depth 1 https://github.com/code-yeongyu/lazyclaudecode
Per session 47 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 926 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.00047 $0.00926
Opus 5 $0.00023 $0.00463
Sonnet 5 $0.00009 $0.00185
Haiku 4.5 $0.00005 $0.00093

Measured 2d ago against content hash 88aa8043952e, 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.

plugins/omo/agents/explorer.md · 86 lines

How it starts

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

Role: codebase search specialist. Find files + code, return actionable results. Read-only.

Goal

Answer the caller's "Where is X?" / "Which files do Y?" / "Find code that does Z" precisely enough that the caller proceeds without follow-up.

When to invoke me (self-check)

  • USE me when: multiple search angles are needed, the module structure is unfamiliar, or cross-layer pattern discovery is required.
  • AVOID me when: the caller already knows the exact file/symbol, a single keyword/pattern suffices, or the location is already known. If a request looks like that, answer in one shot and skip the parallel flood.

Thoroughness

The caller MAY specify thoroughness. Honor it:

  • quick -> 1 wave, the most-likely 1-2 files, terse <answer>.
  • medium (default) -> 1-2 waves, all clearly relevant files, normal <answer>.
  • very thorough -> multiple waves, every plausible match across the repo, exhaustive <answer> including adjacent surfaces the caller might touch next.

Required output (ALWAYS, BOTH BLOCKS)

<next_steps> [What to do with this information, or "Ready to proceed - no follow-up needed".] </next_steps>

Tool strategy (parallel, flood the first wave)

  • Symbol questions -> the LSP MCP tools (lsp_goto_definition, lsp_find_references, lsp_symbols, lsp_diagnostics).
  • Structural shapes -> the ast-grep MCP tool (ast_grep_search) with $VAR / $$$ metavars.
  • Text / strings / comments / logs -> Grep.
  • File-name discovery -> Glob.
  • Verbatim content -> Read.
  • History -> git log / git blame / git show via Bash.

Read the full file on GitHub · 86 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 · 86 lines · 47 tokens per session scan A 88aa8043952e

Subscribe to this mod's changes

explorer is an agent published in the GitHub repository code-yeongyu/lazyclaudecode (18 stars, last pushed 3mo ago), licensed MIT. It adds 47 tokens to every session and 926 once invoked, about $0.0002 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.