plugin-creator
できること
このスキルは、Codewhaleアプリのプラグインの雛形を作り、スキル、コマンド、ツールのサーバーを一つのフォルダにまとめます。自分のAIツールをCodewhale向けにパッケージ化したい開発者向けです。
使う場面
- ✓いくつかのスキルを一つのローカルのプラグインにまとめたいとき。
- ✓一連のツールに、バージョン付きのプラグインのマニフェストを加えたいとき。
- ✓プラグインのスキルとサーバーを、有効にする前に確認したいとき。
スキルのリンク
https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/plugin-creator/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私の要約スキルを含む、meeting-toolsというローカルのCodewhaleプラグインを作ってください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
AIは、プラグインのフォルダを選び、マニフェストを作り、各スキルをそれぞれのフォルダに置き、信頼のレビューのあとで、ツールサーバーの設定を加えます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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.
よくある質問
プラグインはどこに保存されますか?
Codewhaleのフォルダにあるユーザーのバンドル、またはプロジェクト内のワークスペースのバンドルのどちらでもかまいません。
スキルには自動的に名前が付きますか?
はい。スキルによると、各スキルはプラグイン名に続けてスキル名で公開されます。
プラグインがネイティブのホストコードを動かせますか?
ネイティブの拡張は、実験的なフラグをオンにしない限り、目録として扱われるだけです。
詳細
作者による元の説明
Scaffold a local Codewhale plugin bundle with a versioned manifest, namespaced Skills, and an explicit trust review.
repo: codewhale-hq/Codewhale
人気
- GitHubのスター
- 41k
- ランキング
- #6547
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
best-of-n
41k難しい問題に対して、独立した複数の答えを出し、同じ評価基準で採点し、チェックに合格したものだけを適用するのを、エージェントが助けます。
dataviz
41kデータに適したチャートやダッシュボードを選ぶのを、エージェントが助けます。ラベル、出典の注記、軸と欠損値の確認を含みます。
debug
41k問題を再現し、範囲を絞り込み、承認を得たときだけ修正することで、バグの本当の原因を見つけるのを、エージェントが助けます。推測はしません。
delegate
41k大きな作業を、同時に動く焦点の絞られた補助に分けつつ、計画、統合、最終確認を自分の手元に残す方法を教えます。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。