Plugin packaging

From markus41/claude · View interactive version

Plugin packaging is an AI agent skill from the GitHub repository markus41/claude. Knowledge for exporting marketplace items as Cowork-compatible plugin ZIPs for distribution via Claude Desktop private marketplaces

How to use this skill

Skill file

Plugin Packaging Knowledge

Domain knowledge for packaging marketplace items as Cowork-compatible plugins for distribution.

Use For

Cowork Plugin Format

Claude Desktop Cowork uses the same plugin format as Claude Code:

plugin-name/
├── .claude-plugin/
│   └── plugin.json          # Required: manifest
├── .mcp.json                # Optional: MCP server connections
├── commands/
│   ├── command-name.md      # Slash commands
│   └── index.json           # Command index
├── skills/
│   └── skill-name/
│       └── SKILL.md         # Domain knowledge
├── agents/
│   └── agent-name.md        # Sub-agent definitions
├── CLAUDE.md                # Plugin-level instructions
└── README.md                # User documentation

Manifest Format (plugin.json)

{
  "name": "plugin-name",
  "version": "1.0.0",
  "description": "One-line description",
  "author": {
    "name": "Author Name",
    "email": "email@example.com"
  },
  "license": "MIT",
  "keywords": ["keyword1", "keyword2"]
}

Rules:

Export Process

When exporting a marketplace item:

  1. Collect source files from bound plugins:

```

For each pluginBinding:

agents/ → copy referenced agent .md files

skills/ → copy referenced skill directories

commands/ → copy referenced command .md files

```

  1. Generate manifest with item metadata:
  1. Generate CLAUDE.md with:
  1. Create ZIP under 50 MB (Cowork limit)
  1. Validate the package:

Distribution Channels

Claude Desktop Private Marketplace

  1. Go to Organization Settings > Plugins
  2. Click "Add plugins" > "Upload to a new marketplace"
  3. Upload the ZIP file
  4. Assign to users/teams

GitHub Repository

  1. Push plugin to a GitHub repo
  2. Add marketplace: claude plugin marketplace add org/repo
  3. Install: claude plugin install name@marketplace

Direct Share

Share the ZIP file directly. Recipients install via:

  1. Claude Desktop: drag into Plugins settings
  2. CLI: claude plugin install ./path/to/plugin.zip

Validation Checklist

Before distributing:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.