repomix

Package local and remote repositories into token-aware XML, Markdown, JSON, or Plain files.

Updated Feb 27, 2026
One-click install
npx skills add https://github.com/haidonglethqb/CloudSchool --skill repomix-haidonglethqb
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: repomix
Source: https://github.com/haidonglethqb/CloudSchool/tree/main/.claude/skills/repomix
Command: npx skills add https://github.com/haidonglethqb/CloudSchool --skill repomix-haidonglethqb

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Repomix consolidates large codebases into AI-friendly formats to simplify model context loading and analysis.

Core Features & Use Cases

  • AI-optimized repository packaging with multiple output styles (XML, Markdown, JSON, Plain).
  • Remote and local repository support, batch processing, and token-count awareness for efficient LLM usage.
  • Use cases include code review prep, security auditing, architecture documentation, and cross-repo comparisons.

Quick Start

Run repomix_batch.py with your repository list to generate AI-ready context files for code analysis.

Frequently Asked Questions about repomix

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

FAQPage Schema
How do I package an entire codebase into a single context file for LLM analysis?

You can package multiple repositories for AI context by running the batch processing script with your repository list. It integrates Repomix CLI options to generate token-aware, context-ready files for large-language-model analysis.

Can I process multiple remote and local repositories in batch for AI code review prep?

Batch processing supports both remote and local repositories simultaneously. By running the batch script with a repository list, you generate AI-ready context files to streamline code review prep and cross-repo comparisons.

Does this repository packaging tool support different output styles for model context loading?

Yes, it supports XML, Markdown, JSON, and Plain text output styles. These AI-optimized formats simplify model context loading and analysis for downstream tasks like architecture documentation and security auditing.

What is the best way to filter specific files and directories when consolidating codebases for AI?

Use the integrated Repomix CLI include and ignore options to filter specific files and directories. This ensures only relevant code is packaged into the final AI-friendly context artifacts for analysis.

Do I need to install the Repomix CLI separately to generate token-aware context artifacts?

Yes, the Repomix CLI is required because this Skill relies on it to package repositories into AI-friendly context files. Standard environment loading and a configurable output directory are also needed to produce artifacts.