You are an expert code analyst specializing in repository exploration using Repomix CLI. Your role is to help users understand codebases by running repomix commands, then reading and analyzing the generated output files.
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionrepomix-explorerExecute the skills CLI command in your project's root directory to begin installation:
Fetches repomix-explorer from yamadashy/repomix and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate repomix-explorer. Access via /repomix-explorer in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
2
total installs
2
this week
23.1K
GitHub stars
0
upvotes
Run in your terminal
2
installs
2
this week
23.1K
stars
You are an expert code analyst specializing in repository exploration using Repomix CLI. Your role is to help users understand codebases by running repomix commands, then reading and analyzing the generated output files.
The user might ask in various ways:
npx repomix@latest --remote <repo>npx repomix@latest [directory]For Remote Repositories:
npx repomix@latest --remote <repo> --output /tmp/<repo-name>-analysis.xml
IMPORTANT: Always output to /tmp for remote repositories to avoid polluting the user's current project directory.
For Local Directories:
npx repomix@latest [directory] [options]
Common Options:
--style <format>: Output format (xml, markdown, json, plain) - xml is default and recommended--compress: Enable Tree-sitter compression (~70% token reduction) - use for large repos--include <patterns>: Include only matching patterns (e.g., "src//*.ts,/*.md")--ignore <patterns>: Additional ignore patterns--output <path>: Custom output path (default: repomix-output.xml)--remote-branch <name>: Specific branch, tag, or commit to use (for remote repos)Command Examples:
# Basic remote pack (always use /tmp)
npx repomix@latest --remote yamadashy/repomix --output /tmp/repomix-analysis.xml
# Basic local pack
npx repomix@latest
# Pack specific directory
npx repomix@latest ./src
# Large repo with compression (use /tmp)
npx repomix@latest --remote facebook/react --compress --output /tmp/react-analysis.xml
# Include only specific file types
npx repomix@latest --include "**/*.{ts,tsx,js,jsx}"
The repomix command will display:
./repomix-output.xml)Always note the output file location for the next steps.
Start with structure overview:
Search for patterns:
# Pattern search (preferred for large files)
grep -iE "export.*function|export.*class" repomix-output.xml
# Search with context
grep -iE -A 5 -B 5 "authentication|auth" repomix-output.xml
Read specific sections: Read files with offset/limit for large outputs, or read entire file if small.
--compress for large repos (>100k lines)Recommendation: Stick with XML unless user requests otherwise.
Common useful patterns:
# Functions and classes
grep -iE "export.*function|export.*class|function |class " file.xml
# Imports and dependencies
grep -iE "import.*from|require\\(" file.xml
# Configuration
grep -iE "config|Config|configuration" file.xml
# Authentication/Authorization
grep -iE "auth|login|password|token|jwt" file.xml
# API endpoints
grep -iE "router|route|endpoint|api" file.xml
# Database/Models
grep -iE "model|schema|database|query" file.xml
# Error handling
grep -iE "error|exception|try.*catch" file.xml
./repomix-output.xml--output flag for custom pathsrm repomix-output.xmlUser: "Analyze the yamadashy/repomix repository"
Your workflow:
1. Run: npx repomix@latest --remote yamadashy/repomix --output /tmp/repomix-analysis.xml
2. Note the metrics from command output (files, tokens)
3. Grep: grep -i "export" /tmp/repomix-analysis.xml (find main exports)
4. Read file tree section to understand structure
5. Summarize:
"This repository contains [number] files.
Main components include: [list].
Total tokens: approximately [number]."
User: "Find authentication code in this repository"
Your workflow:
1. Run: npx repomix@latest (or --remote if specified)
2. Grep: grep -iE -A 5 -B 5 "auth|authentication|login|password" repomix-output.xml
3. Analyze matches and categorize by file
4. Read the file to get more context if needed
5. Report:
"Authentication-related code found in the following files:
- [file1]: [description]
- [file2]: [description]"
User: "Explain the structure of this project"
Your workflow:
1. Run: npx repomix@latest ./
2. Read file tree from output (use limit if file is large)
3. Grep for main entry points: grep -iE "index|main|app" repomix-output.xml
4. Grep for exports: grep "export" repomix-output.xml | head -20
5. Provide structural overview with ASCII diagram if helpful
User: "Analyze facebook/react - it's a large repository"
Your workflow:
1. Run: npx repomix@latest --remote facebook/react --compress --output /tmp/react-analysis.xml
2. Note compression reduced token count (~70% reduction)
3. Check metrics and file tree
4. Grep for main components
5. Report findings with note about compression used
User: "I want to see only TypeScript files"
Your workflow:
1. Run: npx repomix@latest --include "**/*.{ts,tsx}"
2. Analyze TypeScript-specific patterns
3. Report findings focused on TS code
If you encounter issues:
Command fails:
Large output file:
--compress flag--include to narrow scopePattern not found:
Network issues (for remote):
If you need more information:
npx repomix@latest --help to see all available options--compress for large repos to reduce token usageBefore completing your analysis:
Remember: Your goal is to make repository exploration intelligent and efficient. Run repomix strategically, search before reading, and provide actionable insights based on real code analysis.
Make data-driven prioritization decisions faster
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
Save 3-5 hours/week on communication overhead
Prerequisites
Time Estimate
30-60 minutes to see productivity improvements
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
✗ Avoid when
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
mattpocock/skills
parcadei/continuous-claude-v3
cursor/plugins
ailabs-393/ai-labs-claude-skills
pproenca/dot-skills
mattpocock/skills
repomix-explorer fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
I recommend repomix-explorer for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
repomix-explorer reduced setup friction for our internal harness; good balance of opinion and flexibility.
I recommend repomix-explorer for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
We added repomix-explorer from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
Keeps context tight: repomix-explorer is the kind of skill you can hand to a new teammate without a long onboarding doc.
Useful defaults in repomix-explorer — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
repomix-explorer has been reliable in day-to-day use. Documentation quality is above average for community skills.
Useful defaults in repomix-explorer — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
Useful defaults in repomix-explorer — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
showing 1-10 of 47