Who it is forA developer whose full repo is too big for the model's context.
The problemIrrelevant files waste the context window.
The outcomeA focused bundle of just the source and docs you choose.
What you need first
- Node.js (npx), or Homebrew
Steps
- Install with
npm install -g repomix - Run
repomix --include "src/**/*.ts,**/*.md" - Add
repomix --ignore "**/*.log,tmp/"patterns as needed - Check the output size
Prompt for your agent
Run repomix with --include for <patterns> and --ignore for <patterns> on <repo>, then report the output size and file count.
Caveat. Check the bundle for secrets before pasting it into any hosted model.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for yamadashy/repomix and "Pack only the files that matter"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer