plugin-creator
Skill này làm gì
Skill này tạo khung cho một plugin Codewhale, gom skill, lệnh và máy chủ công cụ vào một thư mục. Skill dành cho lập trình viên muốn đóng gói các công cụ AI riêng cho Codewhale.
Khi nào nên dùng
- ✓Khi bạn muốn gói nhiều skill thành một plugin cục bộ.
- ✓Khi bạn muốn thêm một manifest plugin có phiên bản cho một nhóm công cụ.
- ✓Khi bạn muốn skill và máy chủ của plugin được kiểm tra trước khi bật.
Liên kết skill
https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/plugin-creator/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ạo một plugin Codewhale cục bộ tên meeting-tools, gói skill tóm tắt của tôi vào trong.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
AI chọn thư mục plugin, tạo manifest, đặt mỗi skill vào thư mục riêng, và thêm cài đặt máy chủ công cụ sau khi rà soát tin cậy.
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.
Plugin Creator
Use this skill when a user wants a local Codewhale plugin bundle. Trusted and
enabled bundles may add declarative Skills, commands, agents, hooks, and MCP
servers (stdio and remote) through the existing engines. LSP, filesystem
roots, and lifecycle mutation are inventory-only. Native extensions (host
code) are inventory-only unless the user has turned on the experimental
[features] extension_host flag.
Workflow
- Pick a Codewhale-owned location:
- User bundle:
~/.codewhale/plugins/<plugin-name>/ - Workspace bundle:
<workspace>/.codewhale/plugins/<plugin-name>/
- User bundle:
- Normalize the bundle name to lowercase hyphen-case.
- Create
plugin.json(Agent Plugins v1.0.0; a legacyplugin.tomlstays readable, but new bundles useplugin.json):
{
"$schema": "https://agent-plugins.org/schemas/plugin.json",
"name": "my-plugin",
"version": "0.1.0",
"description": "What this bundle provides"
}
- Put each Skill under
skills/<skill-name>/SKILL.md; Codewhale findsskills/automatically and exposes each asmy-plugin:<skill-name>, never as an unqualified command. - Add MCP servers in a sibling
mcp.jsononly when the bundle needs an existing MCP engine. Keep stdio commands and paths inside the bundle. Map local environment values only as exact${SOURCE_ENV}references. For remote MCP, use HTTPS (or loopback HTTP), forbid URL user information/query/fragment, use only environment-backed headers or bearer tokens, and declare the exact normalized endpoint host set incapabilities.network_hostsunderextensions["net.codewhale"]. Never place credentials in the manifest. - Commands (
commands/*.md), agents (agents/*.toml), and hooks (hooks/*.toml), declared underextensions["net.codewhale"], activate under the current policy — workspace bundles win same-name collisions over user and built-in bundles. LSP, filesystem roots, and lifecycle mutation are inventory-only: declare them only when inventorying future work. Anativeentry runs only under the experimental extension host; there it must be one.mjs,.jsor.mtsES module file,/plugin validaterejects anything else, and its tools always useRequiredapproval, never a plugin's read-only hint. Full Access, Bypass, or an exact session grant for the reviewed build can satisfy that gate without a prompt. A bundle that declares only unsupported surfaces cannot be enabled. - Validate and review without executing bundle content:
/plugin validate <plugin-name>/plugin show <plugin-name>- stop and present these results; the person runs
/plugin enable <plugin-name>to open the content/capability review, reviews it, runs the exact/plugin trust ...confirmation shown, then enables the bundle
- Verify
/skills inspectreports plugin provenance and/plugin listreports the expected trust and activation state. Trust stages the reviewed content but does not activate it. After enablement, follow the host's reload notice: use/reloador a new session to apply changes to a live session's pinned skills and tools.
Every user and workspace bundle starts untrusted and disabled. Reuse the
existing /plugin marketplace, install, update, review and reload surfaces;
do not add a parallel installer, registry or automatic trust flow. Catalog
membership alone never installs, trusts or enables a plugin.
Experimental host code
Only scaffold host code when the person explicitly uses the experimental
extension-host feature. Start from the tested hello-extension example and
docs/EXTENSIONS.md in the Codewhale repository. A typed .mts entry may use
Node's erasable TypeScript syntax; bundle dependencies locally. Register tools
with a plugin-specific prefix and an object input schema, propagate
exec.signal, and use ctx.effect for bounded asynchronous cleanup. The
current execution context exposes signal, callId and args; it does not
expose the calling workspace path. Do not change the shared process cwd.
Stop after install, validate and show; never automate the trust token. A
person reviews, trusts and enables the bundle. /plugin show <name> reports
owner state, live tools and recent attributed diagnostics. Recovery may create
fresh registrations, but never replays an interrupted tool call. Explain the
shared-process and current platform sandbox limits without claiming isolation.
Câu hỏi thường gặp
Plugin được lưu ở đâu?
Nó có thể là một gói người dùng trong thư mục Codewhale của bạn hoặc một gói workspace bên trong dự án.
Các skill có được đặt tên tự động không?
Có. Skill nói mỗi skill được hiển thị dưới tên plugin, theo sau là tên skill.
Plugin có thể chạy mã native của máy chủ không?
Các tiện ích native chỉ là danh mục, trừ khi bạn bật một cờ thử nghiệm.
Chi tiết
Mô tả gốc của tác giả
Scaffold a local Codewhale plugin bundle with a versioned manifest, namespaced Skills, and an explicit trust review.
repo: codewhale-hq/Codewhale
Độ phổ biến
- Sao GitHub
- 41k
- Vị trí xếp hạng
- #6547
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
best-of-n
41kGiúp agent của bạn đưa ra nhiều câu trả lời độc lập cho một vấn đề khó, chấm chúng theo cùng một tiêu chí, và chỉ áp dụng phương án vượt qua kiểm tra.
dataviz
41kGiúp agent của bạn chọn biểu đồ hoặc bảng điều khiển phù hợp với dữ liệu, có nhãn rõ ràng, ghi chú nguồn và kiểm tra trục cùng giá trị bị thiếu.
debug
41kGiúp agent của bạn tìm nguyên nhân thật của một lỗi bằng cách tái hiện, thu hẹp phạm vi, và chỉ sửa khi bạn đồng ý, thay vì đoán mò.
delegate
41kDạy agent của bạn chia một tác vụ lớn thành các trợ lý song song có trọng tâm, đồng thời giữ việc lập kế hoạch, tích hợp và kiểm tra cuối trong tay mình.
Skill tương tự
diffs
394kGiúp agent của bạn tạo một diff có thể chia sẻ về các chỉnh sửa, dưới dạng liên kết xem hoặc file ảnh, thay vì một bản tóm tắt viết tay.
coding-agent
394kGiúp agent của bạn giao một việc lập trình lớn cho Codex, Claude Code hoặc OpenCode chạy nền, rồi theo dõi tiến độ của nó.
gh-issues
394kGiúp agent của bạn tìm issue trên GitHub, chọn những issue cần xử lý và mở pull request với bản sửa, kể cả theo dõi nhận xét đánh giá.