What problem does it solve?
This Skill helps developers quickly analyze and map a codebase by packing repository data with the Repomix CLI, turning complex structures into searchable outputs.
Core Features & Use Cases
- Codebase Packing: Package remote or local repositories into a structured, searchable representation.
- Structure & Pattern Analysis: Inspect file trees, detect recurring patterns, and quantify tokens or lines.
- Use Case: Quickly assess a project’s size and organization to plan refactoring or onboarding.
Quick Start
Use the repomix-explorer skill to scan a repository and generate an analysis file. For a remote repo:
npx repomix@latest --remote <owner>/<repo> --output /tmp/<repo-name>-analysis.xml
For a local directory:
npx repomix@latest /path/to/repo --output /tmp/<repo-name>-analysis.xml
Then read the resulting XML to review the file tree and metrics.