repomix logo

repomix

yamadashy/repomix

Powerful repository packager for AI integration

GraphCanon updated 4d · GitHub synced 4d · 59 views this month

28k stars1.5k forksLast push 4d TypeScript MIT

Decision brief

Repomix is specifically designed to consolidate repositories into single files optimized for feeding into LLMs and AI tools like Claude or ChatGPT.

Good fit when

  • Use Repomix when you need to prepare your entire codebase in a format that can be efficiently consumed by Large Language Models (LLMs).
  • Integrate Repomix if your project involves generating documentation, refactoring assistance, or similar tasks using AI tools like Claude, ChatGPT, and DeepSeek.

Avoid when

  • Avoid using Repomix if your project primarily involves non-code assets or when the repository structure is not intended to be consumed by AI tools, as it may introduce unnecessary complexity.
  • Do not use Repomix in scenarios where real-time interaction with LLMs is required; its utility lies more in pre-processing than real-time interactions.
Hosting:
unknown - There is no specific data indicating where repomix's codebase is hosted, but typically such tools are found on platforms like GitHub.
Requirements:
Repomix requires the latest stable version of Node.js due to its TypeScript foundation.; The development environment should be capable of running TypeScript code.

Observed Jul 11, 2026 · Source: enrich:decision_facts

Verify the decision

Adoption

Package downloads where a registry match exists. GitHub stars (27,881) are secondary evidence.

npm downloads (30d)
359,020·npm downloads API·4d

Maintenance and security

Full trust report
Maintenance
Very active (0d since push)
As of 4d
Provenance
Not a fork · Personal account
As of 4d
Security (OSV)
No MCP manifest
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

npm install repomix
npm

How it fits your stack(11)

Typed graph edges - alternatives, integrations, successors, and dependencies. Ranked by relationship type, not raw GitHub stars.

Related

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

Similar tools

Same-category neighbours not already linked as typed edges.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

Repomix is a tool that consolidates entire repositories into single files optimized for feeding into Large Language Models (LLMs) and other AI tools.

Capability facts

Deploy
Self-host

Source: dockerfile:Dockerfile · Aug 16, 2026

Docker
Dockerfile present

Source: dockerfile:Dockerfile · Aug 16, 2026

CLI
CLI entrypoint

Source: package.json:bin|scripts · Aug 16, 2026

MCP server
Ships MCP server

Source: package.json:@modelcontextprotocol/* · Aug 16, 2026

Languages
typescript, javascript

Source: github.language+package.json · Aug 16, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Node.js runtimeNode.js

Source: README excerpt (regex_v1, Aug 16, 2026)

npm install -g repomix
Source link

Tags

README

Install using npm

npm install -g repomix


Docker Usage 🐳

You can also run Repomix using Docker.
This is useful if you want to run Repomix in an isolated environment or prefer using containers.

Basic usage (current directory):

docker run -v .:/app -it --rm ghcr.io/yamadashy/repomix

To pack a specific directory:

docker run -v .:/app -it --rm ghcr.io/yamadashy/repomix path/to/directory

Process a remote repository and output to a output directory:

docker run -v ./output:/app -it --rm ghcr.io/yamadashy/repomix --remote https://github.com/yamadashy/repomix

Install MCP server plugin (recommended foundation)

/plugin install repomix-mcp@repomix


Install commands plugin (extends functionality)

/plugin install repomix-commands@repomix


Install repository explorer plugin (AI-powered analysis)

/plugin install repomix-explorer@repomix


**Note**: The `repomix-mcp` plugin is recommended as a foundation. The `repomix-commands` plugin provides convenient slash commands, while `repomix-explorer` adds AI-powered analysis capabilities. While you can install them independently, using all three provides the most comprehensive experience.

**Alternatively, use the interactive plugin installer:**

```text
/plugin

This will open an interactive interface where you can browse and install available plugins.

Available Plugins

1. repomix-mcp (MCP Server Plugin)

Foundation plugin that provides AI-powered codebase analysis through MCP server integration.

Features:

  • Pack local and remote repositories
  • Read and search packed outputs
  • Automatic Tree-sitter compression (~70% token reduction)

2. repomix-commands (Slash Commands Plugin)

Provides convenient slash commands for quick operations with natural language support.

Available Commands:

  • /repomix-commands:pack-local - Pack local codebase with various options
  • /repomix-commands:pack-remote - Pack and analyze remote GitHub repositories

Example usage:

/repomix-commands:pack-local
Pack this project as markdown with compression

/repomix-commands:pack-remote yamadashy/repomix
Pack only TypeScript files from the yamadashy/repomix repository

3. repomix-explorer (AI Analysis Agent Plugin)

AI-powered repository analysis agent that intelligently explores codebases using Repomix CLI.

Features:

  • Natural language codebase exploration and analysis
  • Intelligent pattern discovery and code structure understanding
  • Incremental analysis using grep and targeted file reading
  • Automatic context management for large repositories

Available Commands:

  • /repomix-explorer:explore-local - Analyze local codebase with AI assistance
  • /repomix-explorer:explore-remote - Analyze remote GitHub repositories with AI assistance

Example usage:

/repomix-explorer:explore-local ./src
Find all authentication-related code

/repomix-explorer:explore-remote facebook/react
Show me the main component architecture

The agent automatically:

  1. Runs npx repomix@latest to pack the repository
  2. Uses Grep and Read tools to efficiently search the output
  3. Provides comprehensive analysis without consuming excessive context

Benefits

  • Seamless Integration: Claude can directly analyze codebases without manual preparation
  • Natural Language: Use conversational commands instead of remembering CLI syntax
  • Always Latest: Automatically uses npx repomix@latest for up-to-date features
  • Secret Scanning: Secretlint flags files matching known credential formats so they are left out of the output
  • Token Optimization: Tree-sitter compression for large codebases

For more details, see the plugin documentation in the .claude/plugins/ directory.


Installation

npm install repomix

📜 License

This project is licensed under the MIT License.

   

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.