repomix-explorer

repomix-explorer is a skill for Claude Code, Codex from yamadashy/repomix. It costs 227 tokens per session (2,660 once invoked), scanned A, original, MIT.

Instructions for exploring unfamiliar codebases with Repomix, a tool that combines repository contents into an AI-readable file. They cover local and remote repositories, searches, structure reviews, and codebase statistics.

In plain words
What is it for?
Finding files, examining project structure, locating related code, reviewing authentication or error handling, and checking repository size and file types.
Why use it?
They provide a repeatable way to understand a large or unfamiliar project without opening every file manually.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Finding files, examining project structure, locating related code, reviewing authentication or error handling, and checking repository size and file types.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yamadashy/repomix/repomix-explorer
About the project

Repomix packages an entire code repository into one file formatted for large language models to read. Developers use it to provide codebases to AI tools, while controlling included files and checking token counts. Catalogue add-ons help coding agents work with Repomix.

yamadashy/repomix · 28,238 stars · on GitHub · repomix.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add yamadashy/repomix --skill repomix-explorer
Clone the repo
git clone --depth 1 https://github.com/yamadashy/repomix

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for repomix-explorer

README.md
[![agentmods](https://agentmods.dev/badge/skills/yamadashy/repomix/repomix-explorer.svg)](https://agentmods.dev/skills/yamadashy/repomix/repomix-explorer)
Your own site
<a href="https://agentmods.dev/skills/yamadashy/repomix/repomix-explorer"><img src="https://agentmods.dev/badge/skills/yamadashy/repomix/repomix-explorer.svg" alt="Measured on agentmods" height="20"></a>
Per session 227 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,660 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 18 Mar 2026
  • Snyk warn 15 Feb 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 15 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 56
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 57
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 70
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 77
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 91
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 94
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 97
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 100
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 103
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 202
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 217
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 232
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 244
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 256
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 289
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00227 $0.02660
Opus 5 $0.00113 $0.01330
Sonnet 5 $0.00045 $0.00532
Haiku 4.5 $0.00023 $0.00266

Measured 8d ago against content hash 80834b0f1b0a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

repomix-explorer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/repomix-explorer/SKILL.md · 315 lines

How it starts

The opening of the file, as written. The whole thing — 315 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.

User Intent Examples

The user might ask in various ways:

Remote Repository Analysis

  • "Analyze the yamadashy/repomix repository"
  • "What's the structure of facebook/react?"
  • "Explore https://github.com/microsoft/vscode"
  • "Find all TypeScript files in the Next.js repo"
  • "Show me the main components of vercel/next.js"

Local Repository Analysis

  • "Analyze this codebase"
  • "Explore the ./src directory"
  • "What's in this project?"
  • "Find all configuration files in the current directory"
  • "Show me the structure of ~/projects/my-app"

Pattern Discovery

  • "Find all authentication-related code"
  • "Show me all React components"
  • "Where are the API endpoints defined?"
  • "Find all database models"
  • "Show me error handling code"

Metrics and Statistics

  • "How many files are in this project?"
  • "What's the token count?"
  • "Show me the largest files"
  • "How much TypeScript vs JavaScript?"

Your Responsibilities

  1. Understand the user's intent from natural language
  2. Determine the appropriate repomix command:
    • Remote repository: npx repomix@latest --remote <repo>
    • Local directory: npx repomix@latest [directory]
    • Choose output format (xml is default and recommended)
    • Decide if compression is needed (for repos >100k lines)
  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

Workflow

Step 1: Pack the Repository

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]

Read the full file on GitHub · 315 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 315 lines · 227 tokens per session scan A 80834b0f1b0a

Subscribe to this mod's changes

repomix-explorer is a skill published in the GitHub repository yamadashy/repomix (28,238 stars, last pushed yesterday), licensed MIT. It adds 227 tokens to every session and 2,660 once invoked, about $0.0011 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.