Convert your codebase into a single LLM prompt. Website • Documentation • Discord Code2Prompt is a powerful context engineering tool designed to ingest codebases and format them for Large Language Models. Whether you are manually copying context for ChatGPT, building AI agents via Python, or running a MCP server, Code2Prompt streamlines the context preparation process.
| Stars | 7,696 |
| Forks | 452 |
| Language | Rust |
| Category | LLM 插件 |
| License | MIT |
| Quality Score | 65.1854709030341/100 |
| Open Issues | 16 |
| Last Updated | 2026-09-25 |
| Created | 2024-03-09 |
| Platforms | claude-code, cli, rust |
| Est. Tokens | ~23k |
These tools work well together with code2prompt for enhanced workflows:
Explore other popular llm 插件 tools:
code2prompt is A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and token counting.. It is categorized as a LLM 插件 with 7.7k GitHub stars.
code2prompt is primarily written in Rust. It covers topics such as ai, chatgpt, claude.
You can find installation instructions and usage details in the code2prompt GitHub repository at github.com/mufeedvh/code2prompt. The project has 7.7k stars and 452 forks, indicating an active community.
code2prompt is released under the MIT license, making it free to use and modify according to the license terms.