116
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill einverne/dotfiles --skill repomix- SKILL.md9.7 KB
Overview
This skill guides you to use Repomix — a tool that packs entire repositories into single, AI-friendly files. It helps prepare codebases for LLM analysis, security audits, documentation, and implementation planning. The guide covers installation, common commands, configuration, token management, and workflows for local or remote repositories.
How this skill works
Repomix scans a repository (local or remote), applies include/ignore patterns, and produces a single output file in XML, Markdown, JSON, or plain text. It is Git-aware, can strip comments, counts tokens per file and total for LLM context limits, and optionally runs security checks to flag secrets. You configure behavior via CLI flags or a repomix.config.json file and can use .repomixignore for fine-grained exclusions.
When to use it
- Pack a codebase before sending it to an LLM for review or analysis
- Create a reproducible snapshot for documentation or release notes
- Perform security audits or secret scans on third-party dependencies
- Investigate cross-file bugs or prepare context for implementation planning
- Generate compact context for CI/CD workflows or pre-commit hooks
Best practices
- Start with a default run to see what is included, then refine include/ignore patterns
- Use .repomixignore to exclude sensitive files like .env and large artifacts
- Enable security checks for unfamiliar repositories and review flagged items before sharing
- Monitor token counts and choose an output style that fits your target LLM or audience
- Prefer XML for structured AI consumption and Markdown for human-readable context
Example use cases
- Package dotfiles or personal config repositories for AI-assisted review or migration
- Produce a markdown snapshot of src/ and docs/ for release notes or design discussions
- Run repomix on a remote third-party library to feed into a security scanner or LLM without cloning locally
- Generate a focused debug context by including only auth and api folders for bug investigation
- Integrate repomix into CI to create a context file for automated code analysis or release packaging
FAQ
Yes. Use the --remote option with owner/repo, full URL, or a specific commit to package remote repos without a local clone.
How do I avoid exposing secrets when packaging a repository?
Add sensitive paths to .repomixignore, enable built-in security checks, and always review the generated output before sharing. You can also disable security scanning with --no-security-check if you need to skip it for trusted repos.