| name | kco-anatomy |
| description | Generate a compact project map so Kimi understands the codebase without opening every file |
| whenToUse | When the user runs /kco-anatomy or asks for a project map, codebase overview, or per-file token cost breakdown |
Project Anatomy Generator
Generate a compact project map showing every file with its size, token estimate, and category.
This lets Kimi understand the codebase structure by reading one file instead of twenty.
Run the anatomy generator for the current working directory:
node ${KIMI_SKILL_DIR}/../../src/anatomy.js "${CWD}"
Present the output to the user. Highlight:
- Total token cost if all files were read
- Heaviest files that should use offset/limit
- Category breakdown — where most tokens live (source, config, tests, docs)
Suggest saving the output to PROJECT_ANATOMY.md in the project root if the user wants to use it as persistent context.