Development · GitHub repo

Repomix

Packs entire codebases into single AI-friendly files for LLM prompts

Visit github.com ↗

Repomix is a CLI tool and web app that condenses your entire repository into one structured file formatted for large language models. It handles file trees, token counts, and git ignores so you can feed full context to models like Claude, ChatGPT, or Gemini without manual copying. It also integrates Secretlint to avoid leaking credentials and offers Tree-sitter code compression to save context tokens.

What it's for

  • Bundle a full codebase to feed into Claude or ChatGPT for comprehensive code reviews
  • Generate full-project documentation or README files using LLM context windows
  • Analyze remote GitHub repositories without cloning them locally
  • Create test suites and refactoring plans across interdependent source files

Features

  • Supports multiple structured output formats including XML, Markdown, JSON, and Plain Text
  • Built-in token counting for individual files and the entire repository
  • Respects .gitignore, .ignore, and custom .repomixignore rules automatically
  • Tree-sitter-based code compression to extract signatures and reduce token usage
  • Secretlint integration to strip credentials and secrets from output files
  • Remote repository packing via URL or GitHub handle without manual cloning
  • Direct piping via stdin and clipboard output flags for automation

Pricing

Open source

Details

Type
GitHub repo
Category
Development
Topic
Developer Tools
Open source
Yes
Platforms
Command line, Web, Browser extension, macOS, Linux, Windows
For
Developers prompting LLMs with multi-file codebases
Alternative to
Gitingest
Tags
llm, codebase, cli, prompt engineering, context window, ai tools

Why it was saved

  • @GithubProjects, 23 February 2025: Turns any GitHub repo into one text file an LLM can ingest, avoiding manual copy-pasting of files when asking AI about a codebase.

Related

  • react-best-practices

    Curated React performance rules and coding-agent skills by Vercel

  • Agentation

    Connects AI coding agents to browser annotations for automated UI reviews

  • claude-office-skills

    Office document creation and editing skills for Claude Code CLI.

  • Domain SDK

    TypeScript SDK for adding and managing custom customer domains across platforms

  • ECC

    Agent harness optimization system with skills, hooks, and configs for coding agents

  • Eight Dev Tools, Zero Fluff — Part 6

    Curated list of eight front-end design and developer utility tools

All 13 in Developer Tools →

Updated