Back to Skills

repomix

verified

Pack codebases into AI-friendly XML/Markdown bundles for context loading. Supports auto-discovery, segmented bundles, compression. Use for code review, debugging, architecture understanding. Keywords: repomix, bundle, codebase, context.

View on GitHub

Marketplace

teslasoft-skills

teslasoft-de/claude-skills-marketplace

Plugin

repomix

developer-tools

Repository

teslasoft-de/claude-skills-marketplace

plugins/repomix/skills/repomix/SKILL.md

Last Verified

January 25, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/teslasoft-de/claude-skills-marketplace/blob/main/plugins/repomix/skills/repomix/SKILL.md -a claude-code --skill repomix

Installation paths:

Claude
.claude/skills/repomix/
Powered by add-skill CLI

Instructions

# Skill: Repomix

Pack codebases into AI-friendly formats for context loading in Claude sessions.

## When to Use

- Preparing codebase context for AI code review
- Debugging complex issues across multiple files
- Understanding architecture of a new project
- Sharing codebase snapshots for collaboration
- Starting new Claude sessions with full project context

## When NOT to Use

- Simple file operations (use Read/Write tools)
- Git operations (use /collab)
- Searching for specific text (use Grep)

---

## Quick Start

```bash
# Pack current directory
bunx repomix

# Pack with compression
bunx repomix --compress

# Create Teslasoft bundles
/repomix bundle
```

---

## Commands

| Command | Action |
|---------|--------|
| `/repomix` | Load Repomix context and CLI reference |
| `/repomix pack` | Pack current directory |
| `/repomix pack --compress` | Pack with token compression |
| `/repomix auto` | Intelligent auto-discovery based on project type |
| `/repomix bundle` | Create all Teslasoft bundles |
| `/repomix bundle --vault` | Create vault bundle only |
| `/repomix bundle --web` | Create all web segment bundles |
| `/repomix status` | Show existing bundles and freshness |
| `/repomix help` | Show CLI quick reference |

---

## Bundle Storage

**Location:** `D:\TeamProjects\Teslasoft\.repomix-bundles\`

| Bundle | Content | ~Tokens |
|--------|---------|---------|
| `vault-bundle.xml` | Obsidian vault (goals, projects, resources) | 67K |
| `web-app.xml` | Core framework (base, common, layout) | 23K |
| `web-modules.xml` | Feature modules (api, dashboard, docs) | 32K |
| `web-e2e.xml` | Cypress E2E tests | 7K |
| `web-config.xml` | Build configs (nx, tsconfig) | 5K |

See [Bundle Workflow](references/bundle-workflow.md) for details.

---

## Output Formats

| Format | Flag | Use Case |
|--------|------|----------|
| XML | `--style xml` (default) | Best for LLMs |
| Markdown | `--style markdown` | Human-readable |
| JSON | `--style json` | Programmatic |

---

## Fai

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
3998 chars