Overview
A Claude Code Plugin is a unit that bundles five components into a single package for distribution. Install simultaneously on Claude, Codex, Gemini, and GSD using the installation script or the /plugin command.
Plugin Components
| Component | Role | Path within Plugin | Installation Location |
|---|---|---|---|
| Skills | Specialized task guide (SKILL.md) | skills/<name>/SKILL.md |
~/.{tool}/skills/ |
| Agents | Sub-agent definition | agents/<name>.md |
~/.{tool}/agents/ |
| Commands | Slash command | commands/<name>.md |
~/.claude/commands/ |
| MCP Servers | External service integration server | mcp-servers/<name>/ |
plugin.json auto-registration |
| CLI Tools | Command-line tool | tools/<name>/ |
~/.claude/tool-cli/ |
Per-Tool Installation Path Mapping
| Component | Claude | Codex | Gemini | GSD |
|---|---|---|---|---|
| Skills | ~/.claude/skills/ |
~/.codex/skills/ |
~/.gemini/skills/ |
~/.gsd/agent/skills/ |
| Agents | ~/.claude/agents/ |
~/.codex/agents/ |
~/.gemini/agents/ |
~/.gsd/agent/agents/ |
| Commands | ~/.claude/commands/ |
- | - | - |
| MCP Servers | plugin.json auto | Manual configuration | Manual configuration | Manual configuration |
| CLI Tools | ~/.claude/tool-cli/ |
- | - | - |
plugin.json Schema
{
"name": "my-plugin",
"version": "1.0.0",
"description": "Plugin description",
"author": { "name": "Author Name" },
"agents": ["./agents/my-agent.md"],
"commands": "./commands",
"mcpServers": {
"my-server": {
"command": "node",
"args": ["${CLAUDE_PLUGIN_ROOT}/mcp-servers/my-server/dist/index.js"],
"env": { "API_KEY": "${API_KEY}" }
}
}
}
Plugin Catalog
| Plugin | Category | Skills | Agents | Commands | Description |
|---|---|---|---|---|---|
minimal |
onboarding | 15 | 6 | 3 | Includes only core skills, no external integrations |
Installation Methods
Method A: Installation Script (Recommended)
Mac/Linux:
git clone https://github.com/cskwork/claude-minimal-plugin.git
cd claude-minimal-plugin
chmod +x install.sh && ./install.sh
The installation script executes 4 steps in order:
- Skills ->
~/.claude/skills/symlink to - Agents ->
~/.claude/agents/symlink to - Commands ->
~/.claude/commands/symlink to - CLAUDE.md ->
~/.claude/CLAUDE.mdinstallation (back up existing files as .bak)
Method B: Claude Plugin System
For Claude Code only, use the /plugin command.
Step 1: Register Marketplace (first time only)
/plugin marketplace add cskwork/claude-minimal-plugin
Step 2: Install Plugin
/plugin install minimal
Step 3: Use Skills
Installed skills are invoked in the /<plugin>:<skill> format:
/minimal:install-plugins # 이 가이드
/minimal:find-skills # 스킬 검색
/minimal:agent-browser # 브라우저 자동화 설정
/minimal:claude-hud # statusline HUD 설정
/minimal:skill-library # 스킬 카탈로그 관리
/minimal:skill-creator # 새 스킬 생성 가이드
Step 4: Update
/plugin marketplace update # marketplace 카탈로그 갱신
/plugin update minimal # 플러그인 업데이트
Adding New Components to a Plugin
Add Commands
plugins/my-plugin/
commands/
my-command.md # --- name: my-command ...frontmatter ---
Add MCP Server
plugins/my-plugin/
mcp-servers/
my-server/
package.json
src/index.ts
.claude-plugin/
plugin.json # mcpServers 섹션에 등록
Add CLI Tool
plugins/my-plugin/
tools/
my-tool/
TOOL.md # 사용법 문서
bin/ # 실행 파일
Troubleshooting
| Symptom | Cause | Solution |
|---|---|---|
marketplace not found |
marketplace not registered | /plugin marketplace add run |
plugin not found |
Plugin name typo | Check the name in the catalog table |
| Skill invocation unresponsive | Plugin not installed | /plugin install <name> run |
| Changes not reflected | Cache issue | Restart Claude Code |
| MCP server connection failure | Environment variables not set | Check the env section in plugin.json |
| Windows symlink failure | Insufficient permissions | Run as administrator or enable Developer Mode |
| Agent not visible in Codex/Gemini | No agents directory | mkdir ~/.codex/agents then reinstall |
FAQ
Q: npx skills와 /pluginWhat is the difference?
npx skills: Search/install individual skills from the external open-source ecosystem (skills.sh)/plugin: Install curated plugin bundles from this marketplace
Q: How do I use an MCP server in Codex/Gemini? The MCP server is automatically registered in the Claude plugin system. To use it from other tools, manually add the MCP config to that tool's configuration file.
Q: Can individual skills be installed?
Plugins are installed as a bundle. If you need an individual skill, copy it directly from the source URL of library.yamland place it in the skills directory.