Agent skill · data analytics · samhvw8
repomix
Repository packaging for AI/LLM analysis. Capabilities: pack repos into single files, generate AI-friendly context, codebase snapshots, security audit prep, filter/exclude patterns, token counting, multiple output formats. Actions: pack, generate, export, analyze repositories for LLMs. Keywords: Repomix, repository packaging, LLM context, AI analysis, codebase snapshot, Claude context, ChatGPT context, Gemini context, code packaging, token count, file filtering, security audit, third-party library analysis, context window, single file output. Use when: packaging codebases for AI, generating LLM context, creating codebase snapshots, analyzing third-party libraries, preparing security audits, feeding repos to Claude/ChatGPT/Gemini.
Why this skill is useful
Adds executable scripts for packaging repositories into AI-friendly formats, enabling LLM analysis and security audits.
What it needs
Requires repomix installed locally. About 6k tokens when loaded. Last updated 2025-12-09. 10 stars on the source repository.
What this skill does
Repomix Skill Repomix is a powerful tool that packs entire repositories into single, AI-friendly files. Perfect for when you need to feed codebases to Large Language Models (LLMs) or other AI tools like Claude, ChatGPT, and Gemini. When to Use This Skill Use this skill when: User needs to package a codebase for AI analysis Preparing repository context for LLM consumption Generating codebase snapshots for documentation Analyzing third-party libraries or repositories Creating AI-friendly representations of code projects Investigating bugs across large codebases Performing security audits on repositories Generating context for implementation planning Core Capabilities 1. Repository Packaging Repomix packages entire repositories into single files with: AI-optimized formatting with clear separators Multiple output formats (XML, Markdown, JSON, Plain text) Git-aware processing (respects .gitignore) Token counting for LLM context management Security checks for sensitive information 2. Remote Repository Support Can process remote repositories without cloning: Shorthand: npx repomix --remote yamadashy/repomix Full URL: npx repomix --remote https://github.com/owner/repo Specific commits: npx repomix --remote https://github.com/owner/repo/commit/hash 3. Comment Removal Strips comments from supported languages when needed: Supported: HTML, CSS, JavaScript, TypeScript, Vue, Svelte, Python, PHP, Ruby, C, C#, Java, Go, Rust, Swift, Kotlin, Dart, Shell, YAML Enable with: --remove-comments or config file Installation Check if installed first: Install using preferred method: Basic Usage Package Current Directory Package Specific Directory Package Remote Repository Command Line Options File Selection Output Configuration Security & Analysis Configuration Configuration File Create repomix.config.json in project root: Ignore Patterns .repomixignore File Create .repomixignore for Repomix-specific ignore patterns (same format as .gitignore): Precedence Order 1. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills samhvw8/repomix