Repomix Codebase Context Packer for LLMs

Repomix packs an entire code repository into a single AI-friendly file optimized for LLM consumption. It provides token counting, security scanning via Secretlint, Tree-sitter-based code compression, and outputs in XML, Markdown, or plain text format.

agentskillexchange Updated 28 repo stars

File contents

Repomix Codebase Context Packer for LLMs

Repomix packs an entire code repository into a single AI-friendly file optimized for LLM consumption. It provides token counting, security scanning via Secretlint, Tree-sitter-based code compression, and outputs in XML, Markdown, or plain text format.

Installation

Use the upstream install or setup path that matches your environment:

  • npx repomix@latest
  • npm install -g repomix
  • yarn global add repomix
  • brew install repomix

Requirements and caveats from upstream:

  • If you're using Python, you might want to check out Gitingest, which is better suited for Python ecosystem and data
  • Docker Usage 🐳

  • You can also run Repomix using Docker.

Basic usage or getting-started notes:

Source

agentskillexchange/skills/tree/main/skills/repomix-codebase-context-packer-llm commit 29709fa925

Frequently asked questions

npx skillmds@latest add agentskillexchange/repomix-codebase-context-packer-for-llms