aicoolies logo
Repomix logo
Repomix logo

Repomix

Pack your entire codebase into a single AI-friendly file

open sourceupdated Aug 16, 2026

Repomix packages entire repositories into single AI-optimized files for feeding to LLMs like Claude, ChatGPT, and Gemini. It outputs XML, Markdown, JSON, or plain text with token counting, security scanning via Secretlint, and Tree-sitter-based code compression. Works as CLI, MCP server, or Chrome extension for GitHub. Supports Claude Agent Skills generation. 26K+ GitHub stars, MIT licensed, with a web interface at repomix.com for zero-install usage.

Read our Repomix review

A detailed review by the aicoolies team — click to read

Repomix solves the context problem for AI-assisted development: getting your entire codebase into an LLM's context window. Run npx repomix in any project directory and it generates a single file combining all source files with clear separators, an AI-oriented header explaining the structure, and token counts per file and directory. The output respects .gitignore automatically and runs Secretlint security checks to prevent accidentally sharing API keys or credentials.

The MCP server mode is particularly powerful — configure Repomix as an MCP server in Claude Desktop, Cursor, or Cline and AI assistants can directly package and analyze repositories without manual file preparation. The --compress flag uses Tree-sitter parsing to extract key code elements (function signatures, class definitions, type declarations) while stripping implementation details, dramatically reducing token count while preserving structural understanding.

Recent additions include Claude Agent Skills generation (--skill-generate) that creates structured reference packages for Claude Code, and --split-output for automatically splitting large codebases into multiple files sized for AI tools with upload limits. The Chrome extension adds a Repomix button to any GitHub repository page. With MIT license and active development, Repomix has become essential infrastructure for developers using AI coding assistants.

Pricing

Free and open-source (MIT); web interface at repomix.com

Platforms

CLI (npx), MCP Server, Chrome Extension, Web UI

Categories

Tags

Use Cases

Related Tools

computed discovery: shared active categories · kept separate from editor-verified Alternatives

Grok logo

Grok Build

Top Pick

xAI's terminal coding agent with parallel subagents and worktree-aware automation

Grok Build is xAI's terminal-first coding agent for planning, editing, testing, and reviewing code from a local CLI. The early beta exposes subagent controls, worktree mode, headless JSON output, best-of-N parallel attempts, sandbox profiles, and experimental memory. It fits developers comparing Claude Code, Codex, and Gemini CLI for local agentic workflows with deeper parallel execution.

paid
Ghostty logo

Ghostty

Top Pick

Fast, native terminal emulator

GPU-accelerated terminal emulator written in Zig by Mitchell Hashimoto (HashiCorp co-founder). Native UI rendering on macOS and Linux. Supports ligatures, true color, Kitty graphics protocol, and splits/tabs. Configurable via a simple key-value file with sensible defaults. Open-source with 20K+ GitHub stars and a focus on correctness, speed, and minimal resource usage. Growing as a modern alternative to iTerm2, Alacritty, and WezTerm.

Open Source
Codex logo

Codex

Top Pick

OpenAI coding agent for app, editor, terminal, and cloud work

Codex is OpenAI's coding agent for software development across the Codex app, editor, terminal, and cloud tasks. It helps write, review, debug, refactor, and automate code, with ChatGPT plan access for managed surfaces and API-key usage for CLI, SDK, and IDE workflows. The open-source CLI and SDK support local repository work, while cloud features add GitHub review, Slack/Linear integrations, worktrees, skills, MCP, and automations.

freemium
Agent Skills logo

Agent Skills

Open standard for portable skills across AI agents

Agent Skills is the open SKILL.md folder specification for packaging reusable instructions, scripts, references, and assets that compatible AI agents load through progressive disclosure. Originally developed by Anthropic and released as an open standard, it defines the portable format itself—not an example library, marketplace, or hosted agent product.

Open Source
roborev logo

roborev

Continuous local code-review loops for commits produced by AI coding agents

roborev is an MIT-licensed local review system that checks every commit in the background, stores findings in a review queue, and feeds actionable issues back into AI coding sessions. Git hooks, a TUI, branch and dirty-tree analysis, Codex and Claude agent hooks, plus iterative fix/refine commands turn review into a continuous agent workflow.

Open SourceTelemetry
BeeAI Framework logo

BeeAI Framework

Python and TypeScript framework for production multi-agent systems

BeeAI Framework is an Apache-2.0 toolkit for building production-ready AI agents and multi-agent systems in Python and TypeScript. Its docs cover agents, tools, RAG, memory, workflows, backend providers, serving, and A2A/MCP integration surfaces, making it a vendor-neutral option for teams comparing LangGraph, CrewAI, Mastra, and related agent runtimes.

Open SourceTelemetry

Used in Stacks

Comparisons

code2prompt vs Repomix — Rust CLI Codebase Serializer vs Node.js Prompt Generator

code2prompt and Repomix both convert codebases into LLM-ready prompts, but they differ in language, template systems, and optimization strategies. code2prompt is a Rust CLI with Handlebars templates and token budget management, while Repomix is a Node.js tool focused on intelligent file selection with built-in security checking and multiple output formats for different AI coding workflows.

FAQ

What is Repomix?

Repomix packages entire repositories into single AI-optimized files for feeding to LLMs like Claude, ChatGPT, and Gemini. It outputs XML, Markdown, JSON, or plain text with token counting, security scanning via Secretlint, and Tree-sitter-based code compression. Works as CLI, MCP server, or Chrome extension for GitHub. Supports Claude Agent Skills generation. 26K+ GitHub stars, MIT licensed, with a web interface at repomix.com for zero-install usage.

Is Repomix free?

Yes — Repomix is open source and free to use. Free and open-source (MIT); web interface at repomix.com

Is Repomix open source?

Yes — Repomix is open source.

What are the best Repomix alternatives?

The top editor-verified Repomix alternatives are Ollama, Composio, Claude Code.

How does Repomix score in our review?

Our hands-on review scores Repomix 86/100 overall, based on speed, privacy, and developer-experience testing.