Generates a compact project map listing every file's size, token estimate, and category. Highlights total token cost, heaviest files, and structure breakdown for quick codebase understanding.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-context-optimizer:cco-anatomyThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate a compact project map showing every file with its size, token estimate, and category.
Generate a compact project map showing every file with its size, token estimate, and category. This lets Claude understand the codebase structure by reading one file instead of twenty.
Run the anatomy generator for the current working directory:
node ${CLAUDE_PLUGIN_ROOT}/src/anatomy.js "${CWD}"
Present the output to the user. Highlight:
Suggest saving the output to PROJECT_ANATOMY.md in the project root if the user wants to use it as persistent context.
npx claudepluginhub egorfedorov/claude-context-optimizerExplores large codebases using Gemini CLI's context window, generating reports on architecture, dependencies, patterns, or all. For unfamiliar repos or those exceeding 50K tokens.
Orchestrates parallel subagents to map any codebase, creating docs/CODEBASE_MAP.md with architecture, file roles, dependencies, and navigation. Updates incrementally via git or scans.
Maps codebase file structure: identifies root and project type, directory layout, file counts by extension, and hotspots like large files. Use before architecture reviews, refactoring, or exploring unfamiliar codebases.