create-cowork-plugin
它能做什么
这项技能在对话中引导你创建一个新的 Claude 插件。适合希望获得定制插件,却不想自己设置文件的人。
适用场景
- ✓当你想创建一个为 Claude 增加技能或工具的新插件时。
- ✓当你有插件的想法,却不知道它需要哪些部分时。
- ✓当你希望把完成的插件打包成可以安装的文件的时候。
技能链接
https://github.com/TencentCloud/Octop/blob/main/src/octop/infra/agents/experts/library/cowork-plugin-management/skills/create-cowork-plugin/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我想要一个帮助团队撰写发布说明的插件。请帮我从零开始创建它。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会询问你希望插件做什么,判断需要哪些部分,并与你一起设计每个部分。然后它会创建文件,并将完成的插件打包。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Create Cowork Plugin
Build a new plugin from scratch through guided conversation. Walk the user through discovery, planning, design, implementation, and packaging — delivering a ready-to-install .plugin file at the end.
Overview
A plugin is a self-contained directory that extends Claude's capabilities with skills, agents, hooks, and MCP server integrations. This skill encodes the full plugin architecture and a five-phase workflow for creating one conversationally.
The process:
- Discovery — understand what the user wants to build
- Component Planning — determine which component types are needed
- Design & Clarifying Questions — specify each component in detail
- Implementation — create all plugin files
- Review & Package — deliver the
.pluginfile
Nontechnical output: Keep all user-facing conversation in plain language. Do not expose implementation details like file paths, directory structures, or schema fields unless the user asks. Frame everything in terms of what the plugin will do.
Plugin Architecture
Directory Structure
Every plugin follows this layout:
plugin-name/
├── .claude-plugin/
│ └── plugin.json # Required: plugin manifest
├── skills/ # Skills (subdirectories with SKILL.md)
│ └── skill-name/
│ ├── SKILL.md
│ └── references/
├── agents/ # Subagent definitions (.md files)
├── .mcp.json # MCP server definitions
└── README.md # Plugin documentation
Legacy
commands/format: Older plugins may include acommands/directory with single-file.mdslash commands. This format still works, but new plugins should useskills/*/SKILL.mdinstead — the Cowork UI presents both as a single "Skills" concept, and the skills format supports progressive disclosure viareferences/.
Rules:
.claude-plugin/plugin.jsonis always required- Component directories (
skills/,agents/) go at the plugin root, not inside.claude-plugin/ - Only create directories for components the plugin actually uses
- Use kebab-case for all directory and file names
plugin.json Manifest
Located at .claude-plugin/plugin.json. Minimal required field is name.
{
"name": "plugin-name",
"version": "0.1.0",
"description": "Brief explanation of plugin purpose",
"author": {
"name": "Author Name"
}
}
Name rules: kebab-case, lowercase with hyphens, no spaces or special characters.
Version: semver format (MAJOR.MINOR.PATCH). Start at 0.1.0.
Optional fields: homepage, repository, license, keywords.
Custom component paths can be specified (supplements, does not replace, auto-discovery):
{
"commands": "./custom-commands",
"agents": ["./agents", "./specialized-agents"],
"hooks": "./config/hooks.json",
"mcpServers": "./.mcp.json"
}
Component Schemas
Detailed schemas for each component type are in references/component-schemas.md. Summary:
| Component | Location | Format |
|---|---|---|
| Skills | skills/*/SKILL.md |
Markdown + YAML frontmatter |
| MCP Servers | .mcp.json |
JSON |
| Agents (uncommonly used in Cowork) | agents/*.md |
Markdown + YAML frontmatter |
| Hooks (rarely used in Cowork) | hooks/hooks.json |
JSON |
| Commands (legacy) | commands/*.md |
Markdown + YAML frontmatter |
This schema is shared with Claude Code's plugin system, but you're creating a plugin for Claude Cowork, a desktop app for doing knowledge work.
Cowork users will usually find skills the most useful. Scaffold new plugins with skills/*/SKILL.md — do not create commands/ unless the user explicitly needs the legacy single-file format.
Customizable plugins with ~~ placeholders
Do not use or ask about this pattern by default. Only introduce
~~placeholders if the user explicitly says they want people outside their organization to use the plugin. You can mention this is an option if it seems like the user wants to distribute the plugin externally, but do not proactively ask about this with AskUserQuestion.
When a plugin is intended to be shared with others outside their company, it might have parts that need to be adapt
常见问题
我需要具备技术技能吗?
不需要。该技能用通俗的语言进行对话,并按插件的用途来描述它。
插件可以包含哪些部分?
技能、智能体、钩子,以及与外部工具的连接。
最后我会得到什么?
一个可以直接安装的插件文件。
详情
作者的原始描述
Guide users through creating a new plugin from scratch in a cowork session. Use when users want to create a plugin, build a plugin, make a new plugin, develop a plugin, scaffold a plugin, start a plugin from scratch, or design a plugin. This skill runs in the Octop agent workspace and delivers the final .plugin file as a workspace file.
repo: TencentCloud/Octop
热度
- GitHub 星标
- 11k
- 排名
- #11634
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
polite-greeting
11k帮你的智能体用简短、友好且礼貌的问候开启对话,然后迅速进入你需要的事情。
medical-source-failover
11k帮你的智能体在主要来源被屏蔽、速度缓慢或难以阅读时,查找可信的中国医学指南、药品信息和公共卫生文件。
cowork-plugin-customizer
11k帮你的智能体通过替换占位符、调整技能和设置,使现有的 Claude 插件适配某个组织的工具和工作流程。
accessibility-review
11k帮你的智能体按照 WCAG 2.1 AA 无障碍标准审查设计稿或网页,涵盖对比度、键盘操作、触控目标和屏幕阅读器。