Agent skill · software engineering · daymade
repomix-unmixer
Extracts files from repomix-packed repositories, restoring original directory structures from XML/Markdown/JSON formats. Activates when users need to unmix repomix files, extract packed repositories, restore file structures from repomix output, or reverse the repomix packing process.
Why this skill is useful
Adds an executable script for unmixing repomix files that restores original directory structures, which is not commonly available in public documentation.
What it needs
Requires python3 installed locally. About 5k tokens when loaded. Last updated 2026-08-07. 1,320 stars on the source repository.
What this skill does
Repomix Unmixer Overview This skill extracts files from repomix-packed repositories and restores their original directory structure. Repomix packs entire repositories into single AI-friendly files (XML, Markdown, or JSON), and this skill reverses that process to restore individual files. When to Use This Skill This skill activates when: Unmixing a repomix output file (.xml, .md, .json) Extracting files from a packed repository Restoring original directory structure from repomix format Reviewing or validating repomix-packed content Converting repomix output back to usable files Core Workflow Standard Unmixing Process Extract all files from a repomix file and restore the original directory structure using the bundled unmixrepomix.py script: Parameters: <pathtorepomixfile>: Path to the repomix output file (XML, Markdown, or JSON) <outputdirectory>: Directory where files will be extracted (will be created if doesn't exist) Example: What the Script Does 1. Parses the repomix file format (XML, Markdown, or JSON) 2. Extracts each file path and content 3. Creates the original directory structure 4. Writes each file to its original location 5. Reports extraction progress and statistics Path Safety Use forward-slash relative file paths inside the selected output directory. Reject absolute paths, Windows drive paths, backslashes, .. components, empty paths and symbolic links at the output root or within extracted paths. Validate all entries before writing archive content; report rejected paths and exit with status 1 when validation fails. Choose a fresh output directory to recover, or obtain a corrected archive; do not bypass the checks. Existing regular files at valid paths can still be overwritten, so review shared archives in a fresh directory before using their contents. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills daymade/repomix-unmixer