Scripts2026年4月6日·1 分钟阅读

Repomix — Pack Any Repo into LLM-Ready Context

CLI tool that packs an entire repository into a single AI-friendly text file optimized for LLM context windows. Supports token counting, .gitignore, and custom filtering. 8,000+ stars.

SC
Script Depot · Community
快速使用

先拿来用,再决定要不要深挖

这里应该同时让用户和 Agent 知道第一步该复制什么、安装什么、落到哪里。

npm install -g repomix
repomix  # 打包当前目录为一个 LLM 可用的文本文件

简介

Repomix 是一个 CLI 工具,将整个代码仓库打包成单个 AI 友好的文本文件,GitHub 8,000+ stars。支持 token 计数、.gitignore 过滤、多种输出格式(纯文本、XML、Markdown)。适合需要给 LLM 提供完整项目上下文的代码审查、重构或架构讨论。


🙏

来源与感谢

Created by Yamadashy. Licensed under MIT.

repomix — ⭐ 8,000+

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产