# Repomix

[BASE product page](<https://base.akulich.dev/en/library/repomix/>) · [Resource](<https://github.com/yamadashy/repomix>)

ID: repomix · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

Packages selected repository files into structured AI context: it helps share code with exclusions and estimated token counts\.

## Type

Developer CLI

## Entry type

tool

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/repomix/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/repomix/#resource-access>)

Code and local use under MIT\.

## [Paid features and costs](<https://base.akulich.dev/en/library/repomix/#resource-access>)

Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Access and limitations](<https://base.akulich.dev/en/library/repomix/#resource-access>)

Code and local use under MIT\. Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Use cases](<https://base.akulich.dev/en/library/repomix/#resource-tasks>)

- Prepare repository context for an AI review
- Build structured context and check the result's content/token volume

## Category IDs

- software
- infrastructure

## Subcategory IDs

- software\.cli
- infrastructure\.developer

## Tags

- Repomix
- CLI
- Development

## Also known as

- yamadashy/repomix
- repomix
- repo\-pack
- ai\-packager

## [Selection purpose](<https://base.akulich.dev/en/library/repomix/#resource-selection>)

Prepare repository context for an AI review

## [Choose this when](<https://base.akulich.dev/en/library/repomix/#resource-selection>)

- Prepare repository context for an AI review
- Build structured context and check the result's content/token volume

## [Requirements](<https://base.akulich.dev/en/library/repomix/#resource-selection>)

- Limit files with \-\-include/\-\-ignore and inspect the final package before sharing it with an AI service\.

## [Limitations](<https://base.akulich.dev/en/library/repomix/#resource-selection>)

- Costs and limits of free use: Computing resources, self\-hosting, and external services are paid for separately if used\.
- Terms of use: MIT for the code; dependencies have separate licenses\.
- Secretlint detects known secret patterns; it does not guarantee the absence of all confidential data\.

## [Questions before use](<https://base.akulich.dev/en/library/repomix/#resource-faq>)

### What can you use for free in Repomix?

Code and local use under MIT\.

### What additional costs might arise with Repomix?

Computing resources, self\-hosting, and external services are paid for separately if used\.

### What terms of use matter for Repomix?

MIT for the code; dependencies have separate licenses\.

### How do you get started with Repomix?

Choose files and exclusions for the relevant project section\. Build structured context and check the result's content/token volume\. Save the working command or script and the result criteria\.

### How can I package only the required code?

\-\-include accepts file glob patterns, while \-\-ignore excludes log files and temporary directories\. Repomix also honors \.gitignore and \.repomixignore\.

### What does \-\-compress do?

Compression uses Tree\-sitter to preserve key code elements and structure with less context\. Token counts can be estimated, but source files and full context should still be kept separately\.

## Sources for the selection guide

- [https://github\.com/yamadashy/repomix](<https://github.com/yamadashy/repomix>)
- [https://raw\.githubusercontent\.com/yamadashy/repomix/HEAD/README\.md](<https://raw.githubusercontent.com/yamadashy/repomix/HEAD/README.md>)
- [https://raw\.githubusercontent\.com/yamadashy/repomix/HEAD/LICENSE](<https://raw.githubusercontent.com/yamadashy/repomix/HEAD/LICENSE>)
- [https://www\.open\-source\-tools\.com/](<https://www.open-source-tools.com/>)

## [Possible workflow](<https://base.akulich.dev/en/library/repomix/#resource-scenario>)

Prepare repository context for an AI review\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- Project files or environment\.
- A shell and supported platform\.

## Steps

1. Choose files and exclusions for the relevant project section\.
2. Build structured context and check the result's content/token volume\.
3. Save the working command or script and the result criteria\.

## Check your result

- The command correctly handles paths, Unicode, and invalid inputs\.
- Repeat runs behave predictably; credentials do not appear in the output\.

## [License](<https://base.akulich.dev/en/library/repomix/#resource-license>)

MIT for the code; dependencies have separate licenses\.

## License explanations for the specified scope

### MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed\-source commercial product\. When sharing copies or substantial portions of the code, retain the license text and copyright notice\. You do not need to open\-source your entire project; the author provides no warranties\.

[License terms](<https://opensource.org/license/mit>)

## [Sources](<https://base.akulich.dev/en/library/repomix/#resource-sources>)

- [Official source](<https://github.com/yamadashy/repomix>)
- [Official source](<https://raw.githubusercontent.com/yamadashy/repomix/HEAD/README.md>)
- [License](<https://raw.githubusercontent.com/yamadashy/repomix/HEAD/LICENSE>)
- [Catalog / discovery source](<https://www.open-source-tools.com/>)

## Editorial review date

2026\-10\-06

## Editorial review scope

The purpose, current repository license, and separate terms for code, services, and models have been reviewed\. The product was not run, and no security audit was performed\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
