repomix

Package entire code repositories into AI-friendly XML, Markdown, JSON, or plain text files.

Updated Jan 24, 2026
One-click install
npx skills add https://github.com/Khoatran1999/aquarium-commerce --skill repomix-khoatran1999
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: repomix
Source: https://github.com/Khoatran1999/aquarium-commerce/tree/main/.claude/skills/repomix
Command: npx skills add https://github.com/Khoatran1999/aquarium-commerce --skill repomix-khoatran1999

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Packaging large codebases into AI-friendly, token-efficient snapshots for analysis, audits, and documentation.

Core Features & Use Cases

  • AI-optimized repository packaging in XML, Markdown, JSON, and plain text formats
  • Token-aware output with preserved structure, token counting, and include/exclude patterns
  • Suitable for AI analysis, security audits, cross-repo comparisons, and contextual documentation

Quick Start

Run Repomix on your repository to generate an AI-friendly snapshot for context.

Frequently Asked Questions about repomix

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I package a code repository for AI context analysis?

To package a code repository for AI context, you can use a repository packaging tool to consolidate your codebase into AI-friendly files. This generates token-efficient snapshots optimized for large language models.

What output formats are supported when packaging code for large language models?

When packaging code for large language models, the supported multi-format outputs include XML, Markdown, JSON, and plain text. These formats preserve repository structure while maintaining token-aware formatting.

Can I use include and exclude patterns to filter files during a repository security audit?

Yes, you can use include and exclude patterns during a repository security audit. This filters specific files and directories, ensuring the generated contextual snapshot only contains relevant code for the analysis.

What is the best way to prepare large codebases for cross-repo comparisons?

The best way to prepare large codebases for cross-repo comparisons is to generate token-aware contextual snapshots. This packages each repository into AI-optimized files, enabling rapid and structured comparative analysis.

Does token counting work automatically when generating AI-friendly repository snapshots?

Yes, token counting works automatically when generating AI-friendly repository snapshots. The packaging process produces token-aware output with preserved structure, ensuring the context fits within large language model limits.

When do I need to package an entire codebase into a single file for AI documentation generation?

You need to package an entire codebase into a single file for AI documentation generation when providing comprehensive context to large language models. This approach creates structured, multi-format snapshots for accurate contextual outputs.