repomix

Package local and remote codebases into AI-friendly single files.

1|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/dzackgarza/ai --skill repomix-dzackgarza
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: repomix
Source: https://github.com/dzackgarza/ai/tree/main/opencode/skills/repomix
Command: npx skills add https://github.com/dzackgarza/ai --skill repomix-dzackgarza

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Repomix packages entire repositories into AI-friendly single files, enabling fast and scalable analysis of large codebases.

Core Features & Use Cases

  • AI-ready packaging: convert multi-file projects into compact representations for model ingestion.
  • Remote and local support: snapshot code regardless of where it lives.
  • Security and auditing: preserve code structure while enabling efficient reviews.

Quick Start

Run repomix on your project to generate a single-file snapshot in your preferred format.

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 file for LLM context?

Packaging an entire codebase into a single file for LLM context converts multi-file projects into compact representations. This enables efficient model ingestion and rapid code review across large local or remote repositories.

Can I generate a repository snapshot from a remote Git URL?

Yes, you can generate a repository snapshot from a remote Git URL. This capability allows you to snapshot code regardless of where it lives, enabling security auditing and documentation context without requiring local cloning.

What is the best way to prepare large projects for AI code analysis?

The best way to prepare large projects for AI code analysis is converting them into AI-friendly single files. This approach preserves the code structure while enabling efficient security reviews and scalable model ingestion.

Does repomix support filtering specific file patterns when packaging code?

Yes, repomix supports optional pattern filtering when packaging code. This allows you to include or exclude specific files during repository snapshotting to generate focused outputs in multiple formats.

Do I need the Repomix CLI installed to package my local repository?

Yes, you need the Repomix CLI installed to package your local repository. The CLI processes local and remote inputs to output AI-ready single files for efficient code analysis and security auditing.