codeknit-parse
Installation
SKILL.md
codeknit — static code structure extraction
codeknit parses source code and produces a structural map of symbols and relationships designed for LLM consumption or structured tool integration.
Important: choosing the right output mode
Default to directory-flat (no flag needed) unless you are certain the input is a single file or just a few files. Most projects have more files than you expect, and inline mode dumps everything to stdout which can overwhelm context windows and become unreadable. When in doubt, use the default — it writes chunked .skt files to ./skeleton/ that you can read selectively.
Only use --output-mode inline when:
- The input is a single file
- You explicitly need stdout output for piping
- You have confirmed the project has very few source files (< 5)
Quick start
# Default: chunked .skt files in ./skeleton/ (best for most projects)
codeknit parse ./src