/repo-tree:repo-treefrom repo-tree
One command maps a codebase - every file with the classes, functions, and signatures it defines, with line numbers. Reach for this FIRST when exploring unfamiliar code, locating a symbol, or choosing which files to read; one run replaces a whole chain of Glob/Grep/Read calls.
Ships in repo-tree. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Prints a directory tree of a repository where each source file is annotated with the symbols it defines (classes, functions, methods, types), each with its full signature including return type and its line number for direct navigation. Function bodies are not descended into: the map shows module-level and class-level symbols only, not local helpers.
Parsing is done with tree-sitter. Supported languages: Python, JavaScript, TypeScript/TSX, Go, Rust. Files in other languages are listed without symbols.
Run with the Bash tool:
uv run "${CLAUDE_SKILL_DIR}/scripts/parse_repo.py" "<PATH>"
The path can be a directory or a single file; a file target prints just that file's symbols.
uv resolves the script's dependencies automatically on first run; no setup needed.
Output scales with repo size and can consume a lot of tokens. Scope the path to a package or module rather than a whole large repo.
Options:
--source-only — omit files that have no parsed symbols (assets, configs, docs). Use this to cut noise in mixed repos.mypackage/
core/
config.py
class Settings :12
def load(cls, path: Path) -> Settings :24
service.ts
interface RetryPolicy :3
function fetchAll(client: Client): Promise<Item[]> :18
File discovery respects .gitignore when the target is inside a git repository; otherwise hidden directories and well-known artifact directories (node_modules, pycache, dist, and similar) are skipped.
The user sees the output, there is no need to summarize or re-hash unless requested
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub estasney/agent-skills --plugin repo-tree3 plugins in 2 repositories ship this exact skill · first indexed Sep 9, 2026