create-cowork-plugin
Skill này làm gì
Skill này hướng dẫn bạn tạo plugin mới cho Claude trong một cuộc trò chuyện. Dành cho người muốn có plugin tùy chỉnh nhưng không muốn tự thiết lập các file.
Khi nào nên dùng
- ✓Khi bạn muốn tạo một plugin mới để thêm skill hoặc công cụ cho Claude.
- ✓Khi bạn có ý tưởng về plugin nhưng chưa biết cần những phần nào.
- ✓Khi bạn muốn plugin hoàn chỉnh được đóng gói thành một file có thể cài đặt.
Liên kết skill
https://github.com/TencentCloud/Octop/blob/main/src/octop/infra/agents/experts/library/cowork-plugin-management/skills/create-cowork-plugin/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tôi muốn một plugin giúp đội của tôi viết ghi chú phát hành. Hãy giúp tôi tạo nó từ đầu.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent hỏi bạn muốn plugin làm gì, quyết định cần những phần nào và thiết kế từng phần cùng bạn. Sau đó nó tạo các file và đóng gói plugin đã hoàn thành.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Tôi có cần kỹ năng kỹ thuật không?
Không. Skill giữ cuộc trò chuyện bằng ngôn ngữ đơn giản và mô tả plugin theo việc nó sẽ làm.
Plugin có thể gồm những phần nào?
Skill, agent, hook và kết nối với công cụ bên ngoài.
Tôi nhận được gì ở cuối?
Một file plugin sẵn sàng để cài đặt.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 11k
- Vị trí xếp hạng
- #11634
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
polite-greeting
11kGiúp agent của bạn mở đầu cuộc trò chuyện bằng lời chào ngắn gọn, thân thiện và lịch sự, rồi nhanh chóng chuyển sang điều bạn cần.
medical-source-failover
11kGiúp agent của bạn tìm hướng dẫn y khoa, thông tin thuốc và tài liệu y tế công khai Trung Quốc đáng tin khi nguồn chính bị chặn, chậm hoặc khó đọc.
cowork-plugin-customizer
11kGiúp agent của bạn điều chỉnh một plugin Claude có sẵn cho công cụ và quy trình của tổ chức, bằng cách thay thế chỗ giữ chỗ và chỉnh skill cùng cài đặt.
accessibility-review
11kGiúp agent của bạn kiểm tra thiết kế hoặc trang web theo chuẩn tiếp cận WCAG 2.1 AA, gồm độ tương phản, dùng bàn phím, vùng chạm và trình đọc màn hình.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.