mweinbach/cowork-skills-plugins/create-plugin
Claude Code and agent skill by mweinbach/cowork-skills-plugins
- community
Checking that the SKILL.md file is still in the repository.
Use when the user asks to create, author, scaffold, package, edit, or update a plugin — a bundle with a .cowork-plugin/plugin.json manifest that groups one or more skills and, optionally, MCP servers and app integrations. Triggers on: 'create a plugin', 'new plugin', 'author a plugin', 'edit a plugin', 'update a plugin', 'add a skill to a plugin', 'bundle these skills into a plugin', 'make a plugin.json', 'add an MCP server to a plugin'.
Install
npx vskill@latest install mweinbach/cowork-skills-plugins/create-pluginSKILL.md
The same SKILL.md was published earlier as mweinbach/cowork-skills-plugins/create-plugin.
Create a plugin
A plugin is a directory with a .cowork-plugin/plugin.json manifest that bundles one or more skills, and optionally MCP servers and app integrations. Plugins are discovered under <project>/.cowork/plugins/ and ~/.cowork/plugins/. A plugin's bundled skills register as <plugin-name>:<skill-name>.
Manifest: the complete field set
name is the only required field; all others are optional. The manifest is strict — any key not listed here makes the whole plugin fail to load. Full rules are in references/schema.md.
| Key | Purpose | |
|---|---|---|
name (required) | kebab-case plugin identifier | |
version, description, license | metadata | |
author | a string, or { name?, email?, url? } | |
homepage, repository | URLs | |
keywords | array of strings | |
skills | path (or array of paths) to skills directories; default ./skills/ | |
mcpServers | path to a .mcp.json (default ./.mcp.json) | |
apps | path to a .app.json (default ./.app.json) | |
interface | UI metadata (displayName, logo, category, …) |
mcpServers and apps are path strings, never inline objects. Every declared path must resolve inside the plugin root.
Process
1. Decide what the plugin bundles
- Skills (the common case) — one or more
SKILL.mddirectories. - MCP servers — external tool servers, declared via a
.mcp.jsonpath
(see references/mcp-and-apps.md).
- Apps — app integrations, declared via a
.app.jsonpath
(see references/mcp-and-apps.md).
2. Choose the scope, then lay out the directory
Decide scope first — where the plugin is installed determines who can use it:
- Global (user) —
~/.cowork/plugins/: available in every session. - Project —
<project>/.cowork/plugins/: available only in that project, and checked in so it
travels with the repo.
Apply this rule:
- In a chat (no project in context): always install the plugin as global (
~/.cowork/plugins/).
Plugins created from a chat are global.
- **When working in a project: ask the user whether this should be a project plugin or a global
one** — do not assume.
Then pick a kebab-case name (^[a-z0-9]+(?:-[a-z0-9]+)*$) and create the canonical layout under the chosen plugins directory:
3. Write .cowork-plugin/plugin.json
name is the only required field. Add description, version, author, and an interface block for good presentation. Set skills only to override the default ./skills/ path. Keep to the fields in references/schema.md — the manifest is strict and rejects anything else. Copy from references/templates.md.
4. Author each bundled skill
For every directory under skills/, write a SKILL.md by following the `create-skill` skill — the same frontmatter rules apply (kebab-case name equal to the skill's directory name, description, etc.). Invoke create-skill per skill rather than duplicating that guidance here.
5. Add MCP servers and/or apps (optional)
- For MCP servers: create a
.mcp.jsonand set"mcpServers": "./.mcp.json". Its exact format —
stdio vs HTTP/SSE transports, auth, and how tools are namespaced as mcp__<server>__<tool> — is in references/mcp-and-apps.md. mcpServers is a path; the server map lives inside the .mcp.json file.
- For apps: create a
.app.jsonand set"apps": "./.app.json". Format in
references/mcp-and-apps.md.
6. Validate — required before declaring done
Run the bundled validator against the plugin root and fix every error:
(Adjust the script path if installed in another tier.) It applies the same rules the loader applies: strict manifest keys, kebab-case name, mcpServers/apps as path strings, every declared path resolving inside the root, and each bundled skills/*/SKILL.md passing the skill checks. A clean PASS means the plugin will load and its skills will register as <plugin-name>:<skill-name>.
7. If publishing through a marketplace, refresh source hashes
Marketplace catalogs may carry sourceHash: "sha256:<64 hex chars>" beside each plugin entry. This is not a plugin manifest field. It belongs in .agents/plugins/marketplace.json and lets Cowork detect opt-in updates without reinstalling automatically.
When editing a plugin in the cowork-skills-plugins marketplace repo:
- Remove tracked provenance/noise from the published source root before hashing:
.cowork-plugin/install.json, .codex-plugin/install.json, .cowork-skill.json, and .DS_Store.
- Run the marketplace helper from the repo root:
``bash node scripts/update-source-hashes.mjs node scripts/update-source-hashes.mjs --check ``
- Commit the plugin changes and the resulting
.agents/plugins/marketplace.jsonhash update
together. Do not hand-edit sourceHash; let the script compute it.
Editing an existing plugin
To change a plugin, edit its files in place and re-validate:
- Locate it under
<project>/.cowork/plugins/or~/.cowork/plugins/. - Edit the manifest (
.cowork-plugin/plugin.json). The schema stays strict — add only
recognized keys (e.g. bump version, adjust description or interface); never introduce an unknown key.
- Add or remove a bundled skill by creating or deleting a directory under
skills/. Author any
new SKILL.md with the create-skill skill; each skill's name must equal its directory name.
- Add or change MCP servers / apps by editing
.mcp.json/.app.json— or by creating the
file and pointing mcpServers / apps at its path. See references/mcp-and-apps.md.
- On renaming. Changing the manifest
namechanges how the plugin's skills are namespaced
(<name>:<skill-name>); keep it kebab-case. Unlike a skill, a plugin's root directory name need not equal its name. Keep every declared path inside the root.
- Re-validate. Run
scripts/validate-plugin.tsagainst the plugin root and fix every error. - Refresh marketplace hashes when applicable. If the plugin is listed in
.agents/plugins/marketplace.json, run node scripts/update-source-hashes.mjs and then node scripts/update-source-hashes.mjs --check from the marketplace repo root.
Minimal manifest
Resources
- `references/schema.md` — the full
.cowork-plugin/plugin.jsonformat: every field, the
author/interface sub-schemas, default paths, and the inside-root boundary rule.
- `references/mcp-and-apps.md` — bundling MCP servers (
.mcp.json) and apps (.app.json):
exact schemas, transports, auth, and worked examples.
- `references/templates.md` — minimal and full plugin layouts, copy-ready.
- `scripts/validate-plugin.ts` — the validator from step 6.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/create-plugin/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mweinbach/cowork-skills-plugins/create-plugin)