codebase-exploration

codebase-exploration is a skill for Claude Code from fmflurry/settings-opencode. It costs 33 tokens per session (2,103 once invoked), scanned A, a copy of codebase-exploration, MIT.

A repository-navigation guide for finding files, symbols, callers, callees, and imports. It also explains when to use an optional CodeMemory service or ordinary search tools.

In plain words
What is it for?
Use it to explore a codebase, trace how functions are connected, and choose an appropriate search method.
Why use it?
It reduces guesswork when locating relevant code in an unfamiliar project. It also prevents using an unavailable search service in cloud or local environments.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code; mentions OpenCode.

Good fit Use it to explore a codebase, trace how functions are connected, and choose an appropriate search method.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fmflurry/settings-opencode/codebase-exploration
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 fmflurry/settings-opencode --skill codebase-exploration
Clone the repo
git clone --depth 1 https://github.com/fmflurry/settings-opencode

Made for: Claude Code.

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 codebase-exploration

README.md
[![agentmods](https://agentmods.dev/badge/skills/fmflurry/settings-opencode/codebase-exploration/github.svg)](https://agentmods.dev/skills/fmflurry/settings-opencode/codebase-exploration)
Your own site
<a href="https://agentmods.dev/skills/fmflurry/settings-opencode/codebase-exploration"><img src="https://agentmods.dev/badge/skills/fmflurry/settings-opencode/codebase-exploration/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 codebase-exploration

Your own site · 80×15
<a href="https://agentmods.dev/skills/fmflurry/settings-opencode/codebase-exploration"><img src="https://agentmods.dev/badge/skills/fmflurry/settings-opencode/codebase-exploration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,103 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 100% copy Near-identical to another mod 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.00033 $0.02103
Opus 5.5 $0.00013 $0.00841
Sonnet 5.5 $0.00007 $0.00421
Haiku 4.5 $0.00003 $0.00210

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

Security

Grade A, and why

codebase-exploration 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.

Origin

This is a copy

100% identical to codebase-exploration — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/codebase-exploration/SKILL.md · 119 lines

How it starts

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

Codebase exploration

why-not-tooled: which tool fits the question, and whether CodeMemory is reachable, is environment-specific.

Tool names differ by harness. Apply the matching section. The cloud and remote rules are the same in both.

Claude Code

Codebase Exploration

Cloud and remote agents

Skip the CodeMemory mandate below when CodeMemory is off. Do not call CodeMemory, and do not treat a missing call as a failure. Use grep, glob, and read.

FMFLURRY_CODEMEMORY always wins: off skips, on keeps the mandate, and an empty value or auto detects. Auto skips on a cloud or CI signal (CLAUDE_CODE_REMOTE=true, a Cursor metadata agent/runtime of managed, or GITHUB_ACTIONS / GITLAB_CI / CIRCLECI / BUILDKITE / TF_BUILD / JENKINS_URL). A normal local macOS session keeps the mandate, including when the local services are down. If the session is neither a known cloud signal nor macOS, and FalkorDB 127.0.0.1:6379 and Qdrant 127.0.0.1:6333 are not both reachable, skip and continue. Details: docs/codememory-cloud.md.

ROUTING PRECEDENCE: First-tool routing gate (Orchestration & Routing) determines whether to delegate to a specialist Agent. After that gate is satisfied, CodeMemory-first mandate applies to exploration within whichever agent is executing (including the primary when no specialist matches).

HARD DEFAULT: When mcp__code-memory__* tools are connected, they are the FIRST and REQUIRED choice for any code search, symbol lookup, callers/callees, definitions, dependencies, or importers. Grep/Glob/Bash are fallbacks ONLY — reach for them only when code-memory cannot answer (raw directory listing, filename glob, reading a known path region, or no index for the project). Do not "start with grep" or "try grep first". Start with code-memory.

Applies whenever the code-memory MCP server is connected (tools named mcp__code-memory__*). Skip entirely if the server is absent.

Priority

For any codebase exploration — search, callers, callees, definitions, dependencies, importers, "where is X used?", "what calls Y?", "find references to Z", semantic Q&A over the repo — use mcp__code-memory__* tools first.

Read the full file on GitHub · 119 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. 1mo ago First seen · 119 lines · 33 tokens per session scan A 4f77e5ed30ba

Subscribe to this mod's changes

codebase-exploration is a skill published in the GitHub repository fmflurry/settings-opencode (170 stars, last pushed 25d ago), licensed MIT. It adds 33 tokens to every session and 2,103 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to codebase-exploration, differing in 0 lines, and is treated as a copy.

Related

codebase-exploration compared with skills from other repositories

codebase-exploration next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codebase-explorationfmflurry/settings-opencodeSkill17025d agoMITA33Claude Code
orbit-notionnexu-io/open-designSkill110ktodayApache-2.0A117Claude Code, Codex
agentmailpaperclipai/paperclipSkill118kyesterdayMITA30Claude Code, Codex
rowboat-spacesrowboatlabs/rowboatSkill18kyesterdayApache-2.0A60Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill20k11d agoMITA184Claude Code
feishuHmbown/CodeWhaleSkill41kyesterdayMITA33Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k5d agoMITA52Claude Code, Codex