Skip to content

Packs whole repositories into single AI-ready files with token counts and secret scanning built in.

CCM score
54 of 100
skills.sh installs
413
GitHub stars
2.2K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers packaging local or remote repositories into XML, Markdown, JSON, or plain text, respecting .gitignore by default
  • Includes include/exclude patterns, comment stripping across about 20 languages, and clipboard output via --copy
  • Runs Secretlint to flag API keys, credentials, and private keys before sharing, with --no-security-check to disable it
  • Designed for code review prep, security audits of third-party libraries, and feeding context to LLMs within token limits

Install

$ npx -y skills add mrgoonie/claudekit-skills --skill repomix -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Repomix Skill

Repomix packs entire repositories into single, AI-friendly files. Perfect for feeding codebases to LLMs like Claude, ChatGPT, and Gemini.

When to Use

Use when:

  • Packaging codebases for AI analysis
  • Creating repository snapshots for LLM context
  • Analyzing third-party libraries
  • Preparing for security audits
  • Generating documentation context
  • Investigating bugs across large codebases
  • Creating AI-friendly code representations

Quick Start

Check Installation

repomix --version

Install

# npm
npm install -g repomix

# Homebrew (macOS/Linux)
brew install repomix

Basic Usage

# Package current directory (generates repomix-output.xml)
repomix

# Specify output format
repomix --style markdown
repomix --style json

# Package remote repository
npx repomix --remote owner/repo

# Custom output with filters
repomix --include "src/**/*.ts" --remove-comments -o output.md

Core Capabilities

Details

Repository
github.com/mrgoonie/claudekit-skills
Categories
Memory & Context, Security
First seen
Jun 3, 2026

Questions

What does the repomix skill do for Claude Code?

The repomix skill packages an entire code repository into a single AI-friendly file. It supports include and exclude patterns, output formats such as XML, Markdown and plain text, and token counting for LLM context limits.

Who should use the repomix skill?

It suits developers who want to feed a codebase to an LLM, such as for AI analysis, repository snapshots, reviewing third-party libraries, security audits, or evaluating an unfamiliar codebase. Its listed use cases cover those situations.

How do I install the repomix skill?

Run npx -y skills add mrgoonie/claudekit-skills --skill repomix -y in your project. The skill then lets the agent pack repositories with the repomix tool, which you install separately with npm or Homebrew.

Where does repomix stand in the Memory & Context category?

The repomix skill is listed in the Memory & Context category on Claude Marketplaces, alongside handoff and several caveman skills. It sets itself apart by packing whole repositories into one file, with secret detection through Secretlint.

More from mrgoonie/claudekit-skills

All 23

Similar to Repomix

More Memory & Context