Skip to content

Claude Code Plugins

Repomix provides official plugins for Claude Code that integrate seamlessly with the AI-powered development environment. These plugins make it easy to analyze and pack codebases directly within Claude Code using natural language commands.

Available Plugins

1. repomix-mcp (MCP Server Plugin)

Foundation plugin that provides AI-powered codebase analysis through MCP server integration.

Features:

  • Pack local and remote repositories
  • Search through packed outputs
  • Read files with built-in security scanning (Secretlint)
  • Automatic Tree-sitter compression (~70% token reduction)

2. repomix-commands (Slash Commands Plugin)

Provides convenient slash commands for quick operations with natural language support.

Available Commands:

  • /repomix-commands:pack-local - Pack local codebase with various options
  • /repomix-commands:pack-remote - Pack and analyze remote GitHub repositories

Installation

1. Add the Repomix Plugin Marketplace

First, add the Repomix plugin marketplace to Claude Code:

text
/plugin marketplace add yamadashy/repomix

2. Install Plugins

Install the plugins using the following commands:

text
# Install MCP server plugin (recommended foundation)
/plugin install repomix-mcp@repomix

# Install commands plugin (extends functionality)
/plugin install repomix-commands@repomix

Plugin Relationship

The repomix-mcp plugin is recommended as a foundation, and repomix-commands extends it with convenient slash commands. While you can install them independently, using both provides the most comprehensive experience.

Alternative: Interactive Installation

You can also use the interactive plugin installer:

text
/plugin

This opens an interactive interface where you can browse and install available plugins.

Usage Examples

Packing a Local Codebase

Use the /repomix-commands:pack-local command with natural language instructions:

text
/repomix-commands:pack-local
Pack this project as markdown with compression

Other examples:

  • "Pack the src directory only"
  • "Pack TypeScript files with line numbers"
  • "Generate output in JSON format"

Packing a Remote Repository

Use the /repomix-commands:pack-remote command to analyze GitHub repositories:

text
/repomix-commands:pack-remote yamadashy/repomix
Pack only TypeScript files from the yamadashy/repomix repository

Other examples:

  • "Pack the main branch with compression"
  • "Include only documentation files"
  • "Pack specific directories"

Plugin Source Code

The plugin source code is available in the Repomix repository:

Feedback and Support

If you encounter issues or have suggestions for the Claude Code plugins:

Released under the MIT License.