跳到正文
Skillpedia
智能体11k · #11634

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/TencentCloud/Octop/blob/main/src/octop/infra/agents/experts/library/cowork-plugin-management/skills/create-cowork-plugin/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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:

  1. Discovery — understand what the user wants to build
  2. Component Planning — determine which component types are needed
  3. Design & Clarifying Questions — specify each component in detail
  4. Implementation — create all plugin files
  5. Review & Package — deliver the .plugin file

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 a commands/ directory with single-file .md slash commands. This format still works, but new plugins should use skills/*/SKILL.md instead — the Cowork UI presents both as a single "Skills" concept, and the skills format supports progressive disclosure via references/.

Rules:

  • .claude-plugin/plugin.json is 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能