code2prompt

by mufeedvh · LLM 插件 · ★ 7.7k

About code2prompt

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.

aichatgptclaudeclicommand-linecommand-line-toolgptllmpromptprompt-engineering

Quick Facts

Stars7,696
Forks452
LanguageRust
CategoryLLM 插件
LicenseMIT
Quality Score65.1854709030341/100
Open Issues16
Last Updated2026-09-25
Created2024-03-09
Platformsclaude-code, cli, rust
Est. Tokens~23k

Compatible Skills

These tools work well together with code2prompt for enhanced workflows:

  • rtk — semantic(0.25)+rare_topics+same_lang+similar_pop+shared_platform (48%)
  • plandex — semantic(0.17)+complementary+rare_topics+similar_pop+shared_platform (46%)

More LLM 插件 Tools

Explore other popular llm 插件 tools:

View all LLM 插件 tools →

Popular Rust Agent Tools

  • cc-switch ⭐ 146.3k · MCP 服务器
  • rtk ⭐ 84.0k · AI 工具
  • impeccable ⭐ 83.0k · AI 工具
  • Pake ⭐ 62.2k · 未分类
  • herdr ⭐ 44.7k · Codex 技能

Frequently Asked Questions

What is code2prompt?

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.

What programming language is code2prompt written in?

code2prompt is primarily written in Rust. It covers topics such as ai, chatgpt, claude.

How do I install or use code2prompt?

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.

What license does code2prompt use?

code2prompt is released under the MIT license, making it free to use and modify according to the license terms.

View on GitHub → Browse LLM 插件 tools