Who it is forA developer asking a chat model to review a whole project.
The problemCopying files one by one into chat loses structure.
The outcomeOne AI-friendly file containing the repository.
What you need first
- Node.js (npx), or Homebrew
Steps
- Run
npx repomix@latestin your project - Open the generated file
- Attach it to your chat model
- Ask for a review or refactor plan
Prompt for your agent
Run `npx repomix@latest` in <repo>, attach the output to the chat, and ask for the top five refactoring opportunities. Confirm every file path cited exists.
Caveat. Large repos can exceed a model's context window; use include patterns to trim.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for yamadashy/repomix and "Pack your repo into one file for an LLM"
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