code2prompt
一个CLI工具,可将你的代码库转换为单个LLM提示,包含源代码树、提示模板和token计数。
A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and token counting.
怎么安装
git clone https://github.com/mufeedvh/code2prompt ~/.claude/skills/code2prompt 简介
--- **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. ⚡ Quick Install Cargo bash cargo install code2prompt To enable optional Wayland support (e.g., for clipboard integration on Wayland-based systems), use the wayland feature flag: bash cargo install --features wayland code2prompt Homebrew bash brew install code2prompt SDK with pip 🐍 bash pip install co…
推荐参考
信息
- 协议
- MIT
- 语言
- Rust
- GitHub 星标
- 7.7K
- 月下载
- –
- 最近更新
- 2026-09-18
- 创建于
- 2024-03-09
基础安全检查
- 检查结果
- curated 收录但无 npm 包/安装命令
- 收录来源
- curated:LangGPT/awesome-claude-code
- 主题标签
- ai, chatgpt, claude, cli, command-line, command-line-tool, gpt, llm, prompt, prompt-engineering, prompt-generator, prompt-toolkit, rust
同类推荐
langfuse
langfuse/langfuse
🪢 开源AI工程平台:LLM评估、可观测性、指标、提示管理、游乐场、数据集。与OpenTelemetry、LangChain、OpenAI SDK、LiteLLM等集成。🍊YC W23