Skip to main content
Glama

repomix

Pack repository files into a single AI-friendly file to load context efficiently at session start. Use include patterns to filter relevant files and estimate size first.

Instructions

Pack repository files into a single AI-friendly file. Use at session start to load context efficiently. IMPORTANT: Always use the "include" parameter to filter only relevant files (e.g., ".md,.ts,.js" for a TypeScript project, or ".md,*.py" for Python). Start with root-level *.md files and source files in the language being worked on. Always use repomix-estimate first to check size.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoPath to the directory to pack
styleNoOutput format style
compressNoCompress output to reduce token count
includeNoFiles to include (glob pattern). Examples: "*.md,*.ts,*.js" for TypeScript projects, "*.md,*.py" for Python, "*.md,*.go" for Go. Always specify to avoid large outputs!
ignoreNoFiles to exclude (glob pattern). Use to filter out test files, build outputs, etc. Example: "*test*,*spec*,dist/**,build/**"
remoteNoRemote repository URL to process

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Aeolun/repomix-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server