code2prompt
A command-line tool that turns a codebase into a single structured prompt with a source tree, respecting ignore rules and reporting the token count before you send it.
Services
- Codebase-to-prompt export
- Handlebars templates
- Token counting
- Glob filtering
Highlights
Source: Official GitHub repository. Last checked 2026-09-18. Spot an error? Tell us.