Caveman Repository Explorer
JuliusBrussee/caveman
A read-only explorer for cold-start orientation or failed searches that replies with nothing but file path and line range citations, keeping its reads out of main context.
Builds a structural map of a large or unfamiliar codebase by dispatching sub-agents to summarize regions, keeping the main context small.
$ npx skills add yologdev/yoyo-evolve --skill explore-codebase -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install yologdev/yoyo-evolve explore-codebase --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/yologdev/yoyo-evolve.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/explore-codebase .claude/skills/explore-codebase && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "explore-codebase" agent skill from https://github.com/yologdev/yoyo-evolve/tree/main/skills/explore-codebase into .claude/skills/explore-codebase/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "explore-codebase", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/yologdev/yoyo-evolve/tree/main/skills/explore-codebaseType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add yologdev/yoyo-evolve --skill explore-codebase -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install yologdev/yoyo-evolve explore-codebase --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yologdev/yoyo-evolve.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/explore-codebase .agents/skills/explore-codebase && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "explore-codebase" agent skill from https://github.com/yologdev/yoyo-evolve/tree/main/skills/explore-codebase into .agents/skills/explore-codebase/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "explore-codebase", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add yologdev/yoyo-evolve --skill explore-codebase -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install yologdev/yoyo-evolve explore-codebase --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yologdev/yoyo-evolve.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/explore-codebase .cursor/skills/explore-codebase && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "explore-codebase" agent skill from https://github.com/yologdev/yoyo-evolve/tree/main/skills/explore-codebase into .cursor/skills/explore-codebase/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "explore-codebase", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/yologdev/yoyo-evolve.git --path skills/explore-codebase--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add yologdev/yoyo-evolve --skill explore-codebase -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install yologdev/yoyo-evolve explore-codebase --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yologdev/yoyo-evolve.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/explore-codebase .gemini/skills/explore-codebase && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "explore-codebase" agent skill from https://github.com/yologdev/yoyo-evolve/tree/main/skills/explore-codebase into .gemini/skills/explore-codebase/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "explore-codebase", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install yologdev/yoyo-evolve explore-codebaseInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add yologdev/yoyo-evolve --skill explore-codebase -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/yologdev/yoyo-evolve.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/explore-codebase .github/skills/explore-codebase && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "explore-codebase" agent skill from https://github.com/yologdev/yoyo-evolve/tree/main/skills/explore-codebase into .github/skills/explore-codebase/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "explore-codebase", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add yologdev/yoyo-evolve --skill explore-codebase -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install yologdev/yoyo-evolve explore-codebase --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yologdev/yoyo-evolve.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/explore-codebase .opencode/skills/explore-codebase && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "explore-codebase" agent skill from https://github.com/yologdev/yoyo-evolve/tree/main/skills/explore-codebase into .opencode/skills/explore-codebase/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "explore-codebase", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
explore-codebaseBuilds a structural map of a large or unfamiliar codebase by dispatching sub-agents to summarize regions, keeping the main context small.
Large codebases do not fit in one prompt, so this skill applies a recursive pattern: keep the root context small, send sub-agents to read individual files or modules, have each return a structured summary, and combine the summaries into a map of what the code does, how it is organized, and where the entry points and invariants are. It works on any codebase the agent meets, including forks, dependencies and user projects.
It lists when to trigger: a task touching more than 5 files you have not worked on lately, a bug spanning several modules, a new dependency whose API you need to understand, a fork whose changes you need to compare with upstream, or a direct request to map a codebase. It also lists when to skip: a single file under about 300 lines, precise edits across files that need shared context, sequential workflows, regions already known, and any sub-agent at depth 3, which should return what it has.
The procedure begins by defining the exploration scope precisely, such as a directory or a file glob. The excerpt ends there, so later steps are not covered. For analyzing the author's own agent source to find bugs, the skill points to a separate self-assess skill.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit df403df. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Codebase Explorer loads about 2.8k tokens when it runs. Until then it costs about 42 tokens; SKILL.md has 1,278 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from yologdev/yoyo-evolve at commit df403df, republished under its MIT licence (© yologdev). 1,278 words, ~2,753 tokens.
.claude/skills/explore-codebase/SKILL.md (or your agent's skills folder).You are building a mental map of an unfamiliar or large codebase region. The goal is structural comprehension — understanding what the code does, how it's organized, and what the key entry points and invariants are — without loading everything into your main context window.
This skill exists because codebases are too large to read in one prompt. The pattern (Recursive Language Model — see the RLM substrate section in CLAUDE.md) is: keep your root context small, dispatch sub-agents to read individual files or modules, and have each sub-agent return a structured summary. Synthesize the summaries into a coherent map.
This skill covers any codebase the agent encounters — forks, dependencies, unfamiliar regions, user projects. For analyzing yoyo's own source to find bugs and gaps, use self-assess instead.
Trigger this skill when ANY of these hold:
/add brought in a large project and you need structural context before actingDefine the exploration scope — be specific:
src/format/src/agent_builder.rs src/main.rs src/tools.rs~/.cargo/registry/src/*/yoagent-*/src/git diff main..feature-branch --name-onlyIf the scope is vague ("understand this project"), start with orientation (Step 2). If the scope is precise (a named set of files), skip to Step 3.
Before dispatching sub-agents, gather cheap structural signals directly:
# Project structure
find <root> -type f -name '*.rs' | head -50
# or use /map if available in the REPL
# README / docs
cat <root>/README.md 2>/dev/null | head -100
# File sizes (to plan dispatch)
wc -l <root>/src/*.rs | sort -rn | head -20
# Recent activity
git log --oneline -20 -- <root>/src/From this, build a file inventory with rough sizes. Files >300 lines are candidates for sub-agent exploration. Files ≤300 lines can be read directly if needed later.
For each file in the region:
read_file or bash. No sub-agent needed.If the total region is small enough to read directly (≤5 files, all ≤5KB), skip sub-agents entirely — just read and synthesize in your main context.
Store each file's content in shared state, then dispatch a sub-agent to summarize it. One file per sub-agent — files are the natural unit of structure in code.
shared_state set key="explore.<region>.<filename>" value="<file contents>"Namespace convention: explore.<region>.<filename> (e.g., explore.format.markdown, explore.yoagent.agent).
If a single file exceeds 30KB (~120,000 bytes), chunk it before storing:
explore.<region>.<filename>.chunk-1, .chunk-2, etc.sub_agent: You are exploring a source file to build a structural summary.
The file is stored in shared state under key "explore.<region>.<filename>".
Read it with: shared_state get key="explore.<region>.<filename>"
Describe this file's structure in a JSON response. Reply with ONLY a JSON object (no markdown fences, no prose):
{
"file": "<filename>",
"purpose": "1 sentence: what this file does",
"public_api": ["list of exported functions/structs/traits with 1-line descriptions"],
"key_invariants": ["non-obvious behaviors, constraints, or assumptions"],
"dependencies": ["other modules/crates this file depends on"],
"dependents": ["who calls into this file, if visible from imports/use statements"],
"complexity": "low|medium|high",
"deeper_question": "a follow-up question if something is unclear, or null"
}Skills do not chain. Sub-agents don't load this skill or any other; include the full question and shared-state key reference directly in the sub-agent's prompt.
Parse each sub-agent's response as JSON:
explore.<region>.<filename>.summary for the synthesis step.{"file": "<filename>", "purpose": "<first 200 chars of response>", "public_api": [], "key_invariants": [], "dependencies": [], "dependents": [], "complexity": "unknown", "deeper_question": null}.If a sub-agent returns a non-null deeper_question and complexity is "high":
Hard cap: recursion depth = 3. That's: initial dispatch → 1st recursion → 2nd recursion. After depth 3, accept whatever you have. If you find yourself wanting depth 4, your initial scope was probably too broad — narrow the region and retry.
After all per-file summaries are collected, dispatch a synthesis sub-agent (or do this in your main context if the total summary data is small enough, ≤5KB):
sub_agent: You are synthesizing per-file summaries into a structural map of a codebase region.
The following shared-state keys contain per-file summaries:
- explore.<region>.<file1>.summary
- explore.<region>.<file2>.summary
...
Read each summary, then produce a structural map as a JSON object:
{
"region": "<region name>",
"overview": "2-3 sentences: what this region does as a whole",
"module_graph": ["<file-A> -> <file-B>: <relationship>", ...],
"entry_points": ["the key functions/structs a caller would use"],
"invariants": ["cross-file constraints or assumptions"],
"risk_areas": ["files or interactions that look fragile or complex"],
"open_questions": ["things the summaries couldn't resolve"]
}The mental map is your working context for the rest of the session. Reference it when:
Store the final map in shared state under explore.<region>.map so sub-agents in later steps can reference it without re-exploring.
shared_state get instead of re-dispatching sub-agents.An exploration is "good enough" when ALL of:
If the map fails any of these, narrow the region and re-explore the gap, or accept the partial result and document open questions.
self-assess. This skill builds the map; self-assess uses the map to find problems.© yologdev, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/explore-codebase of yologdev/yoyo-evolve.
Open the folder on GitHubat commit df403df
Codebase Explorer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Codebase Explorer this skillyologdev/yoyo-evolve | 1.9k | — | ~2.8k | Automated safety check: Pass | MIT | |
| Caveman Repository ExplorerJuliusBrussee/caveman | 110k | 1 repos | ~492 | Automated safety check: Pass | Apache-2.0 | |
| ccc Semantic Code Searchcocoindex-io/cocoindex-code | 2.7k | — | ~938 | Automated safety check: Pass | Apache-2.0 | |
| Repomix Codebase Packeryamadashy/repomix | 29k | — | ~1.3k | Automated safety check: Notes | MIT | |
| Code Context Slicingtrailofbits/skills | 7.4k | — | ~2.1k | Automated safety check: Pass | CC-BY-SA-4.0 | |
| MoAI Foundation Coremodu-ai/moai-adk | 1.2k | — | ~5k | Automated safety check: Pass | Apache-2.0 |
JuliusBrussee/caveman
A read-only explorer for cold-start orientation or failed searches that replies with nothing but file path and line range citations, keeping its reads out of main context.
cocoindex-io/cocoindex-code
Semantic code search and index management with the ccc CLI: the agent initializes, indexes and queries the project by concept, filtering by language or path.
yamadashy/repomix
Packs a local directory or remote GitHub repository into one AI-friendly file with Repomix, then searches it to explore structure, find patterns and count tokens.
trailofbits/skills
Picks a small, graph-based slice of source with Trailmark and hands a focused code task to a smaller or local model without exposing the whole repository.
modu-ai/moai-adk
Reference for MoAI-ADK's core development principles: TRUST 5 quality gates, SPEC-first domain-driven workflow, agent delegation and token budgeting.
agentsope/SkillAlchemy
Coder-agent working-file budget discipline: keep the editable working set (files you /add into writable context) under ~25k tokens, separate "read" from "edit", delegate breadth to a read-only…
yologdev/yoyo-evolve
Diagnoses a recurring failure such as a stuck task, repeated CI error or frequent reverts by sending sub-agents through the logs and returning one root-cause diagnosis.
yologdev/yoyo-evolve
Runs a structured critique of code, architecture or APIs to surface what familiarity hides, such as panics, security holes and design debt.
yologdev/yoyo-evolve
Sets a warm, plain-spoken voice for an agent's journal entries and GitHub issue replies, with rules on openings, jargon, honesty and endings.
yologdev/yoyo-evolve
Decides when a Rust crate is due for a release and gates publishing to crates.io, using a short git-based cadence check run at the start of a session.
yologdev/yoyo-evolve
Sets ground rules for a coding agent that edits its own Rust source: read the code and journal first, write tests first, commit small changes and check compilation after each file.
yologdev/yoyo-evolve
Analyze your own source code and capabilities to find bugs, gaps, and improvement opportunities
Categories
Builds a structural map of a large or unfamiliar codebase by dispatching sub-agents to summarize regions, keeping the main context small. Large codebases do not fit in one prompt, so this skill applies a recursive pattern: keep the root context small, send sub-agents to read individual files or modules, have each return a structured summary, and combine the summaries into a map of what the code does, how it is organized, and where the entry points and invariants are. It works on any codebase the agent meets, including forks, dependencies and user projects.
Codebase Explorer fits situations like: starting work in a large unfamiliar repository before planning changes; investigating a bug that crosses several modules you have not read recently; learning a new dependency's public API and key invariants before integrating it.
Run `npx skills add yologdev/yoyo-evolve --skill explore-codebase -a claude-code`. Or copy the skill folder (skills/explore-codebase in yologdev/yoyo-evolve) into .claude/skills/explore-codebase in your project. Claude Code loads it when a task matches its description.
Run `npx skills add yologdev/yoyo-evolve --skill explore-codebase -a codex`. Or copy the skill folder (skills/explore-codebase in yologdev/yoyo-evolve) into .agents/skills/explore-codebase in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add yologdev/yoyo-evolve --skill explore-codebase -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/explore-codebase, .gemini/skills/explore-codebase, .github/skills/explore-codebase and .opencode/skills/explore-codebase in your project.
Going by SKILL.md and its folder, Codebase Explorer needs the command-line tools its instructions call (git). Our summary lists: An agent that can dispatch sub-agents.
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Codebase Explorer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Codebase Explorer: Caveman Repository Explorer (JuliusBrussee/caveman, 110k stars), ccc Semantic Code Search (cocoindex-io/cocoindex-code, 2.7k stars), Repomix Codebase Packer (yamadashy/repomix, 29k stars) and Code Context Slicing (trailofbits/skills, 7.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
yologdev (a GitHub user) maintains it in yologdev/yoyo-evolve, which has 1,888 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on October 8, 2026.
Source: yologdev/yoyo-evolve on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.