explore-codebase

explore-codebase is a skill for Claude Code, Codex from Arasz/ai-raccoon. It costs 139 tokens per session (1,082 once invoked), scanned A, original, MIT.

A guided method for learning the shape of an unfamiliar codebase before reading individual files. It starts with project size, languages, entry points, and module boundaries.

In plain words
What is it for?
Use it when joining a repository or exploring an unfamiliar area. It helps identify directories, dependencies, entry points, languages, and meaningful module boundaries.
Why use it?
It reduces the risk of forming a misleading view by opening files only in search-result order. The approach helps establish where the main parts of a project actually are.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when joining a repository or exploring an unfamiliar area. It helps identify directories, dependencies, entry points, languages, and meaningful module boundaries.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arasz/ai-raccoon/explore-codebase
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 Arasz/ai-raccoon --skill explore-codebase
Clone the repo
git clone --depth 1 https://github.com/Arasz/ai-raccoon

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/arasz/ai-raccoon/explore-codebase"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/explore-codebase.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 139 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,082 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.00139 $0.01082
Opus 5.5 $0.00056 $0.00433
Sonnet 5.5 $0.00028 $0.00216
Haiku 4.5 $0.00014 $0.00108

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

Security

Grade A, and why

explore-codebase 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 yesterday.

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.

.ai-badger/skills/explore-codebase/SKILL.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.

Explore codebase

Orient before reading. The failure this skill exists to prevent: opening files in the order a search engine returned them and calling the resulting impression an understanding.

The workflow derives from the skill templates the code-review-graph project auto-installs (MIT, © 2026 Tirth Kanani), rewritten here to be tool-agnostic: every step carries a baseline that needs no graph server.

Steps

  1. Establish the shape before the content — how large, what languages, how many entry points. Accelerated: a graph-stats call (e.g. list_graph_stats-shaped; discover the real tool name from the server's own listing). Baseline: git ls-files | wc -l, cloc or git ls-files | sed 's/.*\.//' | sort | uniq -c | sort -rn for the language split, and the project's own manifest (package.json, *.csproj, pyproject.toml) for its declared dependencies and entry points.

  2. Find the module boundaries the project actually has, not the ones its directory names suggest. Accelerated: an architecture-overview or community-listing call (e.g. get_architecture_overview-shaped) clusters by real coupling. Baseline: read the top-level directory tree, then check it against the imports — a directory whose files import mostly from one other directory is one module wearing two names.

  3. Read the entry points first. A main, an HTTP route table, a CLI command registry, a message consumer, a scheduled job. These are where the project states what it is for. Accelerated: a flow listing (e.g. list_flows-shaped) names the paths the project itself considers significant. Baseline: grep for the framework's entry-point markers — route decorators, if __name__ == "__main__", Main(, .MapGet(, a bin or scripts entry in the manifest.

  4. Follow one real path end to end before reading anything else. One request, one command, one message — from entry point to persistence and back. Accelerated: a flow query (e.g. get_flow-shaped) returns the whole path in one call. Baseline: read each hop in sequence. One traced path teaches more than ten skimmed files, because it shows which abstractions the project actually uses rather than which it declares.

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. yesterday First seen · 86 lines · 139 tokens per session scan A f3c902a45639

Subscribe to this mod's changes

explore-codebase is a skill published in the GitHub repository Arasz/ai-raccoon (7 stars, last pushed today), licensed MIT. It adds 139 tokens to every session and 1,082 once invoked, about $0.0006 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-12-05.

Related

explore-codebase compared with skills from other repositories

explore-codebase next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
explore-codebaseArasz/ai-raccoonSkill7todayMITA139Claude Code, Codex
cronGen-Verse/PAST-BenchSkill404mo agoApache-2.0A8Claude Code, Codex
channel_messageagentscope-ai/QwenPawSkill39kyesterdayApache-2.0A58Claude Code, Codex
wiki-dashboardAr9av/obsidian-wikiSkill3.9ktodayMITA42Claude Code
scheduling-tasksletta-ai/letta-codeSkill4.0ktodayApache-2.0A40Claude Code, Codex
customizing-statuslineletta-ai/letta-codeSkill4.0ktodayApache-2.0A36Claude Code, Codex
imsgBitterbot-AI/bitterbot-desktopSkill2.5k2d agoMITA19Claude Code, Codex