skills/create-marketplace/SKILL.md
Scaffolds a new Claude Code plugin marketplace: creates the directory structure, marketplace.json manifest, README, and CLAUDE.md context file. Guides the user through local testing, private repository setup, and auto-update configuration. Use when the user asks to create a marketplace, scaffold a marketplace, or set up a plugin marketplace.
npx skillsauth add lichens-innovation/ai-dev-tools create-marketplaceInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Scaffold a new plugin marketplace with valid manifest, then guide the user through local testing and (optionally) private-repo + auto-update setup before publishing.
Gather info via script
Run: node <skill-dir>/scripts/gather-marketplace-info.cjs
Returns one JSON line: { name, description, owner, homepage, targetDir, privateRepo }.
The script enforces unique kebab-case names and rejects names reserved by Anthropic (anthropic-marketplace, claude-code-plugins, agent-skills).
Create marketplace directory structure
<targetDir>/
├── .claude-plugin/
│ └── marketplace.json
├── plugins/
├── CLAUDE.md
└── README.md
Write .claude-plugin/marketplace.json
{
"name": "<name>",
"owner": {
"name": "<owner.name>",
"email": "<owner.email>"
},
"metadata": {
"description": "<description>",
"version": "0.1.0",
"homepage": "<homepage>"
},
"plugins": []
}
Required fields: name (kebab-case), owner.name, plugins[]. Omit homepage if user left it blank.
Write README.md
Minimal: title, one-line description, install instructions:
# <name>
<description>
## Install
```bash
claude plugin marketplace add <repo-or-path>
claude plugin install <plugin-name>@<name>
Write CLAUDE.md
Short context file for Claude Code sessions opened inside this marketplace repo. Explain that this is a marketplace catalog, point at .claude-plugin/marketplace.json, and describe the convention used for plugin source layout.
Validate locally
Run: claude plugin validate <targetDir>
The validator checks marketplace.json, every plugin's plugin.json, skill/agent/command frontmatter, and hooks/hooks.json for syntax and schema errors.
Test locally before sharing
Tell the user to add at least one plugin (use create-plugin skill) then run:
claude plugin marketplace add <targetDir>
claude plugin install <plugin-name>@<name>
Inside Claude Code: /plugin marketplace add <targetDir> then /plugin install <plugin-name>@<name>.
This proves the marketplace resolves, the plugin manifest is valid, and the catalog can be navigated before anyone else sees it.
Configure auto-updates (optional) By default, third-party and local marketplaces have auto-update disabled. To enable for this marketplace once it is registered on the user's machine:
/plugin → Marketplaces tab → select marketplace → Enable auto-update.Global env-var overrides (mention only if relevant to user's setup):
export DISABLE_AUTOUPDATER=1 # disable everything
export FORCE_AUTOUPDATE_PLUGINS=1 # keep plugin auto-update only
See docs/marketplace.md#auto-updates for the full table.
Configure private repository access (only if privateRepo is true)
For manual install/update, Claude Code uses existing git credentials (gh auth login, SSH key in ssh-agent, etc.). For background auto-update at startup, credential helpers are skipped — set the matching env var:
| Provider | Env vars |
| --------- | ---------------------------- |
| GitHub | GITHUB_TOKEN or GH_TOKEN |
| GitLab | GITLAB_TOKEN or GL_TOKEN |
| Bitbucket | BITBUCKET_TOKEN |
Example:
export GITHUB_TOKEN=ghp_xxxxxxxxxxxxxxxxxxxx
Add to .bashrc / .zshrc so it persists. For CI, set as a secret. See docs/marketplace.md#private-repositories.
Report to user
<targetDir>/.claude-plugin/marketplace.json created<targetDir>/README.md, CLAUDE.md, and plugins/ createdcreate-plugin skillclaude plugin marketplace add <targetDir>claude plugin marketplace add owner/repotools
Reference for managing Claude Code plugins and marketplaces: install, update, remove plugins; add, update, remove marketplaces. Use when the user asks how to install a plugin, remove a marketplace, update plugins, or manage their Claude Code plugin setup.
tools
Scaffolds a new subagent in the ai-dev-tools marketplace repository: creates the agent directory, AGENTS.md file, and symlinks it into the chosen plugin. Use when the user asks to add a subagent, create an agent, or scaffold a subagent in the marketplace.
tools
Scaffolds a new skill in the ai-dev-tools marketplace repository: creates the skill directory and SKILL.md boilerplate directly inside the chosen plugin. Use when the user asks to add a new skill, create a skill, or scaffold a skill in the marketplace.
tools
Scaffolds a new plugin in the ai-dev-tools marketplace repository: creates the plugin directory, plugin.json manifest, skills/ folder, and registers it in marketplace.json. Use when the user asks to add a new plugin, create a plugin, or register a plugin in the marketplace.