repomix-pack

repomix-pack is a skill for Claude Code, Codex from Surya8991/AgentMaster. It costs 91 tokens per session (1,085 once invoked), scanned A, original, MIT.

A tool for packing an entire codebase into one compact file so it can be reviewed as a whole.

In plain words
What is it for?
Use it for project-wide security audits, architecture reviews, broad refactors, or investigations covering all files.
Why use it?
Reading a large project file by file can miss relationships between parts and use more context than necessary.

Skill for Claude CodeCodex

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

Good fit Use it for project-wide security audits, architecture reviews, broad refactors, or investigations covering all files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/surya8991/agentmaster/repomix-pack
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 Surya8991/AgentMaster --skill repomix-pack
Clone the repo
git clone --depth 1 https://github.com/Surya8991/AgentMaster

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-pack

README.md
[![agentmods](https://agentmods.dev/badge/skills/surya8991/agentmaster/repomix-pack/github.svg)](https://agentmods.dev/skills/surya8991/agentmaster/repomix-pack)
Your own site
<a href="https://agentmods.dev/skills/surya8991/agentmaster/repomix-pack"><img src="https://agentmods.dev/badge/skills/surya8991/agentmaster/repomix-pack/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for repomix-pack

Your own site · 80×15
<a href="https://agentmods.dev/skills/surya8991/agentmaster/repomix-pack"><img src="https://agentmods.dev/badge/skills/surya8991/agentmaster/repomix-pack.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,085 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.
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.00091 $0.01085
Opus 5.5 $0.00036 $0.00434
Sonnet 5.5 $0.00018 $0.00217
Haiku 4.5 $0.00009 $0.00109

Measured 16d ago against content hash 3ac9213af697, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

repomix-pack 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 16d 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.

.antigravity/skills/repomix-pack/SKILL.md · 108 lines

How it starts

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

Repomix Pack — Whole-Codebase Snapshot

You are the repomix bridge skill. Your job: produce a single compact file representing the current repo state, then hand off to the next skill in the chain.

ARGUMENTS: {{ARGUMENTS}}

When to Use

Invoke this skill when ANY of these signal words appear:

  • "entire codebase", "whole repo", "across the project", "all files"
  • "full audit", "full security scan", "architecture review"
  • "onboard me to this repo", "understand this codebase"
  • "refactor X across the codebase", "find all usages of"
  • Whenever security-audit or codereview is invoked on the repo as a whole (not a diff)

Do NOT use for:

  • Single-file tasks (Read the file directly)
  • Diff-based code review (use codereview on the diff)
  • Targeted exploration (use smart-explore instead — AST-based, cheaper)

Preflight Check

# 1. Confirm repomix is installed
which repomix || npm install -g repomix

# 2. Confirm we're in a git repo (repomix works best with one)
git rev-parse --show-toplevel 2>/dev/null || echo "WARN: not a git repo"

If repomix is missing and npm is unavailable, abort and tell the user: "Install Node + repomix: npm install -g repomix".

Default Pack Command

# Pack to a stable path under the repo's .agentmaster/ dir
mkdir -p .agentmaster
repomix --style xml -o .agentmaster/codebase.xml \
  --ignore "**/node_modules/**,**/dist/**,**/build/**,**/.next/**,**/coverage/**,**/*.lock,**/*.log,**/.agentmaster/**,**/.git/**"

If a .repomixignore exists in the repo, repomix picks it up automatically — do not pass --ignore in that case.

Argument Handling

ARGUMENTS pattern Action
empty Pack the whole repo with default ignores (above)
include <glob> repomix --include "<glob>" -o .agentmaster/codebase.xml --style xml
remote <url> repomix --remote <url> --style xml -o .agentmaster/codebase.xml
refresh Delete .agentmaster/codebase.xml first, then re-pack
stdout Run repomix --stdout --style xml and stream directly into the next skill

Read the full file on GitHub · 108 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. 16d ago Changed · -1 lines 3ac9213af697
  2. 1mo ago Changed 65b5b238abc1
  3. 2mo ago First seen · 109 lines · 91 tokens per session scan A cc4d8daa1858

Subscribe to this mod's changes

repomix-pack is a skill published in the GitHub repository Surya8991/AgentMaster (2 stars, last pushed yesterday), licensed MIT. It adds 91 tokens to every session and 1,085 once invoked, about $0.0004 per session on Opus 5.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-31.

Related

Other skills, from other repositories

go-testing

Trigger: Go tests, go test coverage, Bubbletea teatest, golden files. Apply focused Go testing patterns.

Gentleman-Programming/gentle-ai · 26 tokens

review-work

Post-implementation gate review: run manual QA on the real surface yourself, then launch ONE gate reviewer (never a panel) to audit goal, constraints, code quality, security, missed context, and QA evidence. Use before a PR handoff or when the user explicitly asks to review completed work.

code-yeongyu/oh-my-openagent · 63 tokens

tech-lead/code-review

A checklist-based method for examining code for correctness, security, performance, clarity, and ease of maintenance.

echoVic/boss-skill · 52 tokens

pre-push

Pre-push security and quality pipeline: secrets scan, then tests, lint and review. TRIGGER automatically whenever the user requests a git push: 'push my changes', 'push to origin', 'push this', 'push the code', 'commit and push', 'ship it', 'deploy to remote', 'deploy to prod/staging/production', or any git push…

AlexZio00/sovereign-skills · 166 tokens

skill-trigger-auditor

Audit whether skills, agents and slash commands route correctly and safely, and whether a trigger regression test is needed. Use before changing routing metadata or widening a description.

AlexZio00/sovereign-skills · 38 tokens

ijfw-cross-audit

Generate a cross-platform multi-model audit (Trident) on a diff, brief, or artifact. Trigger: 'cross audit', 'Trident', 'second opinion', 'check with other models', 'check with other AIs', 'cross-check this', 'get another perspective', /cross-audit.

FerroxLabs/ijfw · 67 tokens