ck:repomix

Pack software repositories into XML, Markdown, JSON, or plain text snapshots.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/jangtrinh/demo-Lam --skill ck-repomix-jangtrinh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ck:repomix
Source: https://github.com/jangtrinh/demo-Lam/tree/main/.claude/skills/repomix
Command: npx skills add https://github.com/jangtrinh/demo-Lam --skill ck-repomix-jangtrinh

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Repomix eliminates the manual effort of preparing a repository snapshot for LLMs by automatically packing relevant files into AI-friendly outputs, while helping reduce context bloat and flagging sensitive data.

Core Features & Use Cases

  • Repository packaging for LLM context: Converts an entire repo (or selected parts) into structured, AI-optimized representations for analysis and review.
  • Multiple output formats: Supports XML, Markdown, JSON, and plain text to match different workflows and tooling.
  • Context and safety controls: Respects .gitignore, supports include/exclude globs, can remove comments, counts tokens, and performs security scanning for secrets.
  • Remote repository support: Packages GitHub repositories (including specific commits) without requiring a local clone.
  • Batch processing utility: Provides a script to run Repomix across multiple repositories using consistent options.

Quick Start

Use repomix to package the current repository into a Markdown snapshot for AI review.

Frequently Asked Questions about ck:repomix

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

FAQPage Schema
How do I package an entire GitHub repository for LLM context without cloning it locally?

You can package remote GitHub repositories for LLM context by providing the repository URL, which automatically fetches and packs the codebase into structured AI-friendly snapshot files without requiring a local clone.

Can I convert a codebase into Markdown or XML for AI analysis while respecting .gitignore?

Yes, converting a codebase into Markdown or XML for AI analysis automatically respects .gitignore rules and supports custom include or exclude glob patterns to scope the repository snapshot precisely.

Does repository packaging for LLM context include token counting and security scanning?

Repository packaging for LLM context includes built-in token counting to manage context limits and performs security scanning to flag sensitive data like secrets within the generated snapshot files.

What is the best way to prepare multiple repositories for AI codebase understanding at once?

The best way to prepare multiple repositories for AI codebase understanding is using the batch processing utility, which applies consistent packaging options across repositories to generate uniform AI-ready snapshots.

How do I reduce context bloat when creating a repository snapshot for debugging preparation?

To reduce context bloat when creating a repository snapshot for debugging preparation, you can enable optional comment removal and use scoped include patterns to output only the essential codebase files.

What output formats are supported when packing a repository for third-party library review?

When packing a repository for third-party library review, the supported output formats are XML, Markdown, JSON, and plain text, allowing seamless integration with various downstream LLM workflows.