smart-explore

smart-explore is a skill for Claude Code from FlorianBruniaux/claude-code-plugins. It costs 75 tokens per session (4,486 once invoked), scanned A, original, MIT.

A code-exploration method that shows a project's structure and function signatures before opening full implementations. It then drills into selected functions or their callers as needed.

In plain words
What is it for?
Use it to explore unfamiliar codebases, inspect modules, find functions and types, and trace selected callers before implementing a feature.
Why use it?
It reduces the amount of code an agent must read when learning an unfamiliar module. This makes it easier to find the right place for a change without scanning entire files.

Skill for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Part of the code-quality plugin — 17 skills, 6 agents shipped together

Good fit Use it to explore unfamiliar codebases, inspect modules, find functions and types, and trace selected callers before implementing a feature.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/florianbruniaux/claude-code-plugins/smart-explore
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.

Any agent
npx skills add FlorianBruniaux/claude-code-plugins --skill smart-explore
Clone the repo
git clone --depth 1 https://github.com/FlorianBruniaux/claude-code-plugins

Made for: Claude Code.

Or install code-quality, the plugin that ships this one along with the rest of its 17 skills, 6 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 smart-explore

README.md
[![agentmods](https://agentmods.dev/badge/skills/florianbruniaux/claude-code-plugins/smart-explore/github.svg)](https://agentmods.dev/skills/florianbruniaux/claude-code-plugins/smart-explore)
Your own site
<a href="https://agentmods.dev/skills/florianbruniaux/claude-code-plugins/smart-explore"><img src="https://agentmods.dev/badge/skills/florianbruniaux/claude-code-plugins/smart-explore/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 smart-explore

Your own site · 80×15
<a href="https://agentmods.dev/skills/florianbruniaux/claude-code-plugins/smart-explore"><img src="https://agentmods.dev/badge/skills/florianbruniaux/claude-code-plugins/smart-explore.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,486 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00075 $0.04486
Opus 5.5 $0.00030 $0.01794
Sonnet 5.5 $0.00015 $0.00897
Haiku 4.5 $0.00007 $0.00449

Measured 4d ago against content hash ccc0c7fff551, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

smart-explore scanned grade A with 1 finding 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 4d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

result = subprocess.run(
plugins/code-quality/skills/smart-explore/SKILL.md · 510 lines

How it starts

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

Smart explore: Progressive code exploration

Skill: Read code structure before reading code. Show Claude function signatures and types first, then let it drill into specific functions only when needed.

Inspired by: Alex Newman (Claude-MEM) + Aider repo map pattern (validated at 40k+ stars)

The problem

When Claude reads files to understand a codebase, it reads everything:

# What actually happens
Read src/auth.rs    → 400 lines → ~2,800 tokens
Read src/session.rs → 300 lines → ~2,100 tokens
Read src/user.rs    → 500 lines → ~3,500 tokens
# Total: 8,400 tokens for 3 files

Most of that content is irrelevant. Claude needed to know that auth.rs has fn login() and fn logout() — not 400 lines of implementation.

Progressive exploration fixes this:

Step 1: What's in auth.rs?       →  ~200 tokens (signatures only)
Step 2: Show me fn login() body  →  ~350 tokens (one function)
Step 3: Who calls login()?       →  ~150 tokens (cross-reference)
# Total: 700 tokens instead of 8,400 — 92% reduction

When to use

Signal Use smart-explore Use standard Read
"Understand this module/feature" ✅ ❌
Exploring unfamiliar codebase ✅ ❌
Finding where to add a feature ✅ ❌
Need to read one specific function ❌ ✅
Debugging a known line ❌ ✅
File is < 100 lines ❌ ✅ (just read it)

Don't use for:

  • Small projects (< 20 files) — overhead not worth it
  • Single-file tasks — Read is faster
  • Already know what to read — go directly

Decision tree

Exploration task?
├─ Yes, understand a module
│  └─ Files > 200 lines each?
│     ├─ Yes → smart-explore (structure first)
│     └─ No  → just Read (file is small)
├─ Search for something specific
│  └─ By name/pattern → Grep
│  └─ By meaning → grepai semantic search
└─ Need one specific function → Read with offset

Three approaches (ascending setup)

Approach A: No setup — progressive reading discipline

Read the full file on GitHub · 510 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. 4d ago First seen · 510 lines · 75 tokens per session scan A ccc0c7fff551

Subscribe to this mod's changes

smart-explore is a skill published in the GitHub repository FlorianBruniaux/claude-code-plugins (47 stars, last pushed 5d ago), licensed MIT. It adds 75 tokens to every session and 4,486 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-26.

Related

smart-explore compared with skills from other repositories

smart-explore next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
smart-exploreFlorianBruniaux/claude-code-pluginsSkill475d agoMITA75Claude Code
pentest-forensicsfatihkan/badiSkill81mo agoMITA60Claude Code
pentest-malwarefatihkan/badiSkill81mo agoMITA69Claude Code
security-checkfatihkan/badiSkill81mo agoMITA91Claude Code
productivityfatihkan/badiSkill81mo agoMITA0Claude Code
expo-troubleshootingfatihkan/badiSkill81mo agoMITC0Claude Code
send-emailaeonfun/aeonSkill800yesterdayMITA39Claude Code, Codex