repomix-pack

repomix-pack is a skill for Claude Code, Codex from Surya8991/AgentMaster. It costs 91 tokens per session (1,096 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

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.

agentmods
npx agentmods add skills/surya8991/agentmaster/repomix-pack
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.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.svg" alt="Measured on agentmods" 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,096 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00091 $0.01096
Opus 5 $0.00046 $0.00548
Sonnet 5 $0.00018 $0.00219
Haiku 4.5 $0.00009 $0.00110

Measured 3d ago against content hash cc4d8daa1858, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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 · 109 lines

How it starts

The opening of the file, as written. The whole thing — 109 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 · 109 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. 3d 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 1mo ago), licensed MIT. It adds 91 tokens to every session and 1,096 once invoked, about $0.0005 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-31.

Related

Other skills, from other repositories

typescript-react-nextjs-patterns

Production-grade TypeScript reference for React & Next.js frontend development. Covers type narrowing, component Props, generic hooks, discriminated unions, as const, satisfies, Zod validation, TanStack Query, server/client boundaries, forms, state management, performance, accessibility, debugging, and code review.…

leejpsd/typescript-react-nextjs-patterns · 142 tokens

slip

Send AI-written text to a HUMAN outside this chat via a one-tap Slip note and reply with a single URL. Default: toss — a one-shot note (Markdown rendered, readable on open, tear-to-delete, auto-expires in 24 hours) for one-way delivery like checklists, summaries, code snippets. Use push only when the human is expected…

sudo5zzb/slip-skill · 200 tokens

portkey-eoa-agent-skills

Portkey EOA wallet lifecycle and asset operations for creating, importing, listing, backing up, selecting, and deleting wallets; querying tokens, NFTs, prices, balances, and history; and performing transfers, approvals, bridge, view, send, and fee estimation operations on AElf. Use by default for direct EOA wallets…

Portkey-Wallet/eoa-agent-skills · 93 tokens

tomorrowdao-agent-skills

TomorrowDAO governance, BP, and resource operations for agents.

TomorrowDAOProject/tomorrowDAO-skill · 19 tokens

portkey-ca-agent-skills

Portkey Contract Account wallet registration, authentication, verifier codes, recovery, guardians, CA identity, assets, transfers, approval proofs, chain readiness, contract calls, and encrypted keystore workflows on AElf. Use when CA hash, guardian, registration, recovery, or manager-forward behavior is required; use…

Portkey-Wallet/ca-agent-skills · 81 tokens

awaken-agent-skills

Awaken DEX trading and market data operations for agents.

Awaken-Finance/awaken-agent-skills · 18 tokens