repomix

Pack GitHub repositories into AI-friendly XML files with repomix.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/hanthienduc/myprotocol-stack --skill repomix-hanthienduc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: repomix
Source: https://github.com/hanthienduc/myprotocol-stack/tree/main/.claude/skills/repomix
Command: npx skills add https://github.com/hanthienduc/myprotocol-stack --skill repomix-hanthienduc

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

AI models often struggle to process large, complex GitHub repositories efficiently. This skill provides tools and guidance for repomix, a utility that packs entire repositories into AI-friendly formats, enabling better context management and automated analysis.

Core Features & Use Cases

  • AI-Optimized Repository Packing: Convert entire GitHub repositories into a single, structured file (e.g., XML) that preserves directory structure and metadata, making it easier for AI to consume.
  • Batch Processing Automation: Automate the packing of multiple repositories using repomix_batch.py, ideal for large-scale code analysis or knowledge base creation.
  • Configuration Management: Guides on configuring repomix for specific use cases, including ignoring files or customizing output.
  • Use Case: You need to analyze 10 different open-source libraries for common security vulnerabilities using an AI. Use this skill to batch-pack all 10 repositories with repomix_batch.py, then feed the AI-optimized output to your analysis tool, saving significant time and improving analysis quality.

Quick Start

Pack the GitHub repository 'https://github.com/octocat/Spoon-Knife' into an AI-friendly format.