codebase-exploration

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

A guide for exploring a codebase by finding files, symbols, callers, callees, and imports. It also explains when to use CodeMemory, an optional service for storing and searching code context.

In plain words
What is it for?
Use it when tracing how code is connected, locating definitions and usages, or deciding between ordinary repository search and CodeMemory.
Why use it?
It helps an agent choose an appropriate way to answer repository questions without using unavailable tools. It also prevents unnecessary CodeMemory calls in cloud or CI environments.

Skill for Claude Code

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

Good fit Use it when tracing how code is connected, locating definitions and usages, or deciding between ordinary repository search and CodeMemory.

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

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/harness-manifesto/codebase-exploration/github.svg)](https://agentmods.dev/skills/fmflurry/harness-manifesto/codebase-exploration)
Your own site
<a href="https://agentmods.dev/skills/fmflurry/harness-manifesto/codebase-exploration"><img src="https://agentmods.dev/badge/skills/fmflurry/harness-manifesto/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/harness-manifesto/codebase-exploration"><img src="https://agentmods.dev/badge/skills/fmflurry/harness-manifesto/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 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.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 15d 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 15d 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

Copies of this mod

1 near-identical copy found in the catalogue:

.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. 15d 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/harness-manifesto (173 stars, last pushed 11d 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. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-15.

Related

codebase-exploration compared with skills from other repositories

codebase-exploration next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codebase-explorationfmflurry/harness-manifestoSkill17311d agoMITA33Claude Code
knowledge-ingestopenclaw/openclawSkill395ktodayMITA80Claude Code, Codex
forgetasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A0Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill70k2d agoApache-2.0A217Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill20k11d agoMITA184Claude Code
memoryopensquilla/opensquillaSkill7.2k4d agoApache-2.0A44Claude Code, Codex
ha-data-storesshiwenwen/hope-agentSkill1.9kyesterdayMITA115Claude Code, Codex