📖 The AI Tool Bible

Repomix

✓ Editorially verified

Packs an entire codebase into a single AI-friendly file so LLMs can actually read your repo.

Free· Free and open source (MIT)CodingChatGPT, Claude, Gemini, Grok8.1 / 10
Visit website →
Best for

Pick Repomix if you regularly hand whole projects to Claude or ChatGPT and want one clean, token-counted bundle instead of copy-pasting files.

Skip if

Skip it if your workflow is already inside an IDE agent like Cursor or Claude Code that indexes the repo for you.

Repomix is an open-source utility that flattens a whole repository into one structured file (XML, Markdown, JSON, or plain text) optimized for ingestion by ChatGPT, Claude, Gemini, and other LLMs. Instead of pasting files one at a time or wiring up a custom RAG pipeline just to ask 'how does auth work in this project,' you run `npx repomix@latest` and hand the resulting bundle to the model. It respects .gitignore, counts tokens per file, runs Secretlint to strip secrets, and can compress code with Tree-sitter for roughly 70% token reduction.

It's aimed squarely at developers who use AI assistants for code review, refactoring, bug hunts, and onboarding into unfamiliar codebases. Pricing is the easiest part of the review: Repomix is MIT-licensed and completely free, distributed as a CLI, Node library, Docker image, and Chrome extension. There's also a hosted web UI at repomix.com for one-off packs of public repos.

It's not an AI product in the strict sense - there's no model behind it - but it sits in the daily loop of anyone pairing with a frontier LLM on a real codebase. The main caveats are the usual ones for context-packing tools: very large monorepos still blow past context windows even after compression, and you need to actually read the security-scan output rather than trusting it blindly before pasting code into a third-party model.

Editor's take

Repomix is one of those small, sharp tools that quietly becomes part of your daily AI workflow. It doesn't try to be clever - it just produces the single artifact every frontier model actually wants. The Tree-sitter compression and Secretlint pass are what elevate it above the dozen weekend-project clones on GitHub.

— The AI Tool Bible editorial team

Pros

  • Free, MIT-licensed, and runs locally with no account required
  • Tree-sitter compression cuts tokens by ~70% on most codebases
  • Secretlint pass strips API keys and secrets before you paste
  • Works as CLI, Node lib, Docker image, Chrome extension, and hosted UI
  • Respects .gitignore and supports remote repo URLs out of the box

Cons

  • ⚠️ Not an AI itself - you still need a capable LLM to do the actual work
  • ⚠️ Huge monorepos can exceed context windows even after compression
  • ⚠️ Hosted web UI is convenient but means uploading code to a third party

Use cases

codebase-to-llmcode-reviewrefactoringai-onboardingcontext-packing

Explore related

Compare with similar tools

All in Coding

Cursor

Featured
Coding · Claude / GPT (configurable)
9.5

AI-first VS Code fork — chat, edit, and agentic coding in one IDE.

Freemium· Free hobby; Pro $20/mo; Business $40/mocodingrefactors

GitHub Copilot

Featured
Coding · GPT / Claude / OpenAI o-series (configurable)
9.1

The original AI pair programmer, now with chat and agents.

Paid· Free for individuals; $10/mo Pro; $19/mo Businessautocompletechat

Replit Agent

Featured
Coding · Multi-model (Claude / GPT configurable)
8.7

Build & deploy a full app from a single prompt.

Freemium· Free credits; Core $20/mo; Teams $35/moprototypesinternal tools

Warp

Coding · Multi-model: OpenAI, Anthropic Claude, Amazon Bedrock, plus BYO via OpenRouter and LiteLLM
8.8

The agentic development environment, from the terminal up

Freemium· Free / Build $20 per mo ($18 annual) / Max $200 per mo ($180 annual) / Business $50 per user/mo ($45 annual, up to 25 seats) / Enterprise customAgentic debugging of failing builds and testsNatural-language shell command generation

Cline

Coding · Model-agnostic: Claude (Anthropic), GPT (OpenAI), Gemini (Google), DeepSeek, Grok, Mistral, Cerebras, plus local Ollama/LM Studio
8.7

Open-source agentic coding assistant that plans, edits, and runs code inside your IDE

Freemium· Open Source: free (BYOK or pay model inference at cost via ClinePass) / Enterprise: custom pricing (contact sales for SSO, SLA, RBAC, team management)Multi-file feature scaffoldingLarge-scale refactors

Aider

Coding · BYO (Claude / GPT-4 / Gemini / DeepSeek)
8.4

Terminal-based AI pair programmer that writes commits.

Free· Free / open-source; you pay the underlying LLM API costsCLIgit workflow