Repomix Unmixer banner
daymade daymade

Repomix Unmixer

Development community Intermediate

Description

A Claude Code skill for extracting files from repomix-packed repositories and restoring their original directory structure.

Installation

Installs to ~/.claude/skills/repomix-unmixer/

Terminal
git clone --depth 1 https://github.com/daymade/claude-code-skills /tmp/claude-code-skills \ && mkdir -p ~/.claude/skills \ && cp -r /tmp/claude-code-skills/repomix-unmixer ~/.claude/skills/repomix-unmixer

Clones the whole repository, because a skill folder can carry scripts and resources beside its SKILL.md.

Repository README

This is the README for daymade/claude-code-skills, shared by 5 entries in this directory. It describes the repository, not this entry specifically.

Repomix Unmixer Skill

A Claude Code skill for extracting files from repomix-packed repositories and restoring their original directory structure.

Overview

Repomix packs entire repositories into single AI-friendly files (XML, Markdown, or JSON). This skill reverses that process, extracting all files and restoring the original directory structure.

Quick Start

Installation

  1. Download repomix-unmixer.zip
  2. Extract to ~/.claude/skills/repomix-unmixer/
  3. Restart Claude Code

Basic Usage

Extract a repomix file:

python3 ~/.claude/skills/repomix-unmixer/scripts/unmix_repomix.py \
  "" \
  ""

Example:

python3 ~/.claude/skills/repomix-unmixer/scripts/unmix_repomix.py \
  "/path/to/skills.xml" \
  "/tmp/extracted-skills"

Features

  • Multi-format support: XML (default), Markdown, and JSON repomix formats
  • Auto-detection: Automatically detects repomix format
  • Structure preservation: Restores original directory structure
  • UTF-8 encoding: Handles international characters correctly
  • Progress reporting: Shows extraction progress and statistics
  • Validation workflows: Includes comprehensive validation guides

Supported Formats

XML Format (default)


content here

Markdown Format

### File: relative/path/to/file.ext

```language
content here
```

JSON Format

{
  "files": [
    {"path": "file.ext", "content": "content here"}
  ]
}

Bundled Resources

scripts/unmix_repomix.py

Main unmixing script with:

  • Format auto-detection
  • Multi-format parsing (XML, Markdown, JSON)
  • Directory structure creation
  • Progress reporting

references/repomix-format.md

Comprehensive format documentation:

  • XML, Markdown, and JSON format specifications
  • Extraction patterns and regex
  • Edge cases and examples
  • Format detection logic

references/validation-workflow.md

Detailed validation procedures:

  • File count verification

...