# Repomix

> (ePost) Use when you need a full codebase overview, repo summary, or are unfamiliar with a repository structure

- Skill: `majiayu000/repomix-8` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/repomix-8`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/repomix-8/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/repomix-8

---


# Repomix Skill

## Purpose
Generate comprehensive codebase summaries for analysis and understanding.

## When Active
User needs codebase overview, unfamiliar with repo structure, preparing for full analysis.

## Expertise

### Usage

#### Local Project
```bash
repomix
# Output: repomix-output.xml
```

#### Remote Repository
```bash
repomix --remote https://github.com/owner/repo
```

#### With Configuration
Create `.repomixignore` to exclude files (same syntax as .gitignore).

### Common Patterns
- Generate summary before full codebase review
- Create `docs/codebase-summary.md` from repomix output
- Check freshness: if summary >2 days old, regenerate
- Use for unfamiliar codebases or onboarding

### Output Analysis
- Extract file structure and size metrics
- Identify key entry points
- Understand module organization
- Find documentation files
- Note configuration files

## Patterns

### Integration with Other Skills
- **With Code Review**: Use summary to understand scope
- **With Debugging**: Use for context before deep dive
- **With Documentation**: Extract codebase structure for docs
- **With Planning**: Use to assess complexity

## Best Practices
- Generate fresh summary at project start
- Include summary in onboarding docs
- Update when major restructuring happens
- Use with .repomixignore for large monorepos
- Reference summary in documentation
- Cross-check with actual repo structure

### Related Skills
- `knowledge-retrieval` — Internal-first knowledge search protocol
- `docs-seeker` — External documentation lookup (Context7, WebSearch)

