browser-extension-deve…
Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts,…
Analyze or explore a codebase (remote or local repository) by packing it with the Repomix CLI, then reading and searching the generated output. Use when the user wants a high-level understanding of an unfamiliar or large repo, not a targeted edit. Trigger for: -
$ npx -y skills add yamadashy/repomix --skill repomix-explorer --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/repomix-explorerContext preview
The summary Claude sees to decide when to auto-load this skill.
Analyze or explore a codebase (remote or local repository) by packing it with the Repomix CLI, then reading and searching the generated output. Use when the user wants a high-level understanding of an unfamiliar or large repo, not a targeted edit. Trigger for: -
name: repomix-explorer description: | Analyze or explore a codebase (remote or local repository) by packing it with the Repomix CLI, then reading and searching the generated output. Use when the user wants a high-level understanding of an unfamiliar or large repo, not a targeted edit. Trigger for: - Structure/overview: "analyze this repo", "what's the structure", "explain this codebase", "what's in vercel/next.js" - Pattern discovery across many files: "find all auth code", "where are the API endpoints", "show me all React components" - Metrics: "how many files/tokens", "largest files", "TypeScript vs JavaScript ratio" - Remote repos: any github.com URL or "owner/repo" the user wants explored DO NOT trigger for: - Editing, refactoring, or writing code in the current project - Reading or searching a known file/path in the local project (use Read or grep directly) - Single-symbol lookups in the local project answerable with one grep - Git operations, running tests, builds, or installs
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:
1. **Understand the user's intent** from natural language 2. **Determine the appropriate repomix command**:
3. **Execute the repomix command** via shell 4. **Analyze the generated output** using pattern search and file reading 5. **Provide clear insights** with actionable recommendations
**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:**
**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:
Always note the output file location for the next steps.
**Start with structure overview:** 1. Search for file tree section (usually near the beginning) 2. Check metrics summary for overall statistics
**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.
1. **Always use `--compress` for large repos** (>100k lines) 2. **Use pattern search (grep) first** before reading entire files 3. **Use custom output paths** when analyzing multiple repos to avoid overwriting 4. **Clean up output files** after analysis if they're very large
**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\\(
📦 Repomix is a powerful tool that packs your entire repository into a single, AI-friendly file. Perfect for when you need to feed your codebase to Large Language Models (LLMs) or other AI tools like Claude, ChatGPT, DeepSeek, Perplexity, Gemini, Gemma, Llama, Grok, and more.
Repo: yamadashy/repomix
Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts,…
Use this skill when working on the Repomix documentation website in `website/` directory, including VitePress configuration, multi-language content, or…