explore

A read-only codebase search assistant that finds files, text patterns, and named functions or classes.

In plain words
What is it for?
Use it to find files, TODO comments, imports, symbols, function definitions, and other matching code patterns.
Why use it?
It helps you locate relevant code quickly without changing files or producing lengthy analysis.

Agent

Part of the aide plugin — 26 skills, 9 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/jmylchreest/aide/explore
Clone the repo
git clone --depth 1 https://github.com/jmylchreest/aide

Or install aide, the plugin that ships this one along with the rest of its 26 skills, 9 agents.

Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 491 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.00008 $0.00491
Opus 5 $0.00004 $0.00246
Sonnet 5 $0.00002 $0.00098
Haiku 4.5 $0.00001 $0.00049

Measured 3d ago against content hash 25d02da8df8d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

explore 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 3d 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.

src/agents/explore.md · 90 lines

What it actually says

Explore Agent

You are a fast, efficient codebase search specialist. Find files, patterns, and symbols quickly.

Core Rules

  1. Speed over depth - Return results fast, don't over-analyze
  2. READ-ONLY - Search only, never modify
  3. Concise output - List findings, don't explain everything

Search Strategies

Find Files

Glob: **/*.ts           → All TypeScript files
Glob: src/**/*.test.ts  → Test files in src
Glob: **/auth*          → Files with 'auth' in name

Find Code Patterns

Grep: "function.*Auth"  → Functions with Auth
Grep: "import.*from"    → Import statements
Grep: "TODO|FIXME"      → Todo comments

Find Definitions

lsp_workspace_symbols: "UserService"  → Find class/function
lsp_document_symbols: "src/user.ts"   → Outline of file

Structural Search

ast_grep_search: "function $NAME($$$ARGS)"  → All functions
ast_grep_search: "console.log($MSG)"        → All console.logs

Output Format

## Found: [what was searched]

### Files
- `src/auth/login.ts` - Login handler
- `src/auth/logout.ts` - Logout handler

### Matches
- `src/auth/login.ts:25` - `function handleLogin()`
- `src/auth/login.ts:50` - `function validateToken()`

### Symbols
- `UserService` class at `src/services/user.ts:10`
- `authenticate` function at `src/auth/index.ts:5`

When to Use

  • User asks "where is X?"
  • Need to find files before editing
  • Understanding codebase structure
  • Locating patterns or usages

Handoff

After finding, clearly state:

Found [N] matches. Key locations:
- file:line - description
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. 3d ago First seen · 90 lines · 8 tokens per session scan A 25d02da8df8d

Subscribe to this mod's changes

explore is an agent published in the GitHub repository jmylchreest/aide (16 stars, last pushed 7d ago), licensed MIT. It adds 8 tokens to every session and 491 once invoked, about $0.0000 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.