Zum Inhalt springen
Skillpedia
Allgemeines Programmieren41k · #6547

plugin-creator

Was er macht

Dieser Skill legt ein Plugin für die Codewhale-App an und fasst Skills, Befehle und Werkzeug-Server in einem Ordner zusammen. Er richtet sich an Entwickler, die eigene KI-Werkzeuge für Codewhale bündeln wollen.

Wann du ihn nutzt

  • ✓Wenn du mehrere Skills in einem lokalen Plugin bündeln willst.
  • ✓Wenn du einer Sammlung von Werkzeugen ein versioniertes Plugin-Manifest hinzufügen willst.
  • ✓Wenn du die Skills und Server eines Plugins prüfen lassen willst, bevor sie aktiviert werden.

Link zum Skill

https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/plugin-creator/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/plugin-creator/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Erstelle ein lokales Codewhale-Plugin namens meeting-tools, das meinen Zusammenfassungs-Skill bündelt.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Die KI wählt einen Plugin-Ordner, erstellt ein Manifest, legt jeden Skill in seinen eigenen Ordner und ergänzt die Einstellungen für Werkzeug-Server nach einer Vertrauensprüfung.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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

  1. Pick a Codewhale-owned location:
    • User bundle: ~/.codewhale/plugins/<plugin-name>/
    • Workspace bundle: <workspace>/.codewhale/plugins/<plugin-name>/
  2. Normalize the bundle name to lowercase hyphen-case.
  3. Create plugin.json (Agent Plugins v1.0.0; a legacy plugin.toml stays readable, but new bundles use plugin.json):
{
  "$schema": "https://agent-plugins.org/schemas/plugin.json",
  "name": "my-plugin",
  "version": "0.1.0",
  "description": "What this bundle provides"
}
  1. Put each Skill under skills/<skill-name>/SKILL.md; Codewhale finds skills/ automatically and exposes each as my-plugin:<skill-name>, never as an unqualified command.
  2. Add MCP servers in a sibling mcp.json only 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 in capabilities.network_hosts under extensions["net.codewhale"]. Never place credentials in the manifest.
  3. Commands (commands/*.md), agents (agents/*.toml), and hooks (hooks/*.toml), declared under extensions["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. A native entry runs only under the experimental extension host; there it must be one .mjs, .js or .mts ES module file, /plugin validate rejects anything else, and its tools always use Required approval, 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.
  4. 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
  5. Verify /skills inspect reports plugin provenance and /plugin list reports 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 /reload or 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.

Häufige Fragen

Wo wird das Plugin gespeichert?

Es kann ein Nutzerpaket in deinem Codewhale-Ordner oder ein Arbeitsbereichspaket im Projekt sein.

Werden Skills automatisch benannt?

Ja. Laut Skill wird jeder Skill unter dem Plugin-Namen gefolgt vom Skill-Namen angeboten.

Kann ein Plugin nativen Host-Code ausführen?

Native Erweiterungen dienen nur der Bestandsliste, außer du schaltest ein experimentelles Flag ein.

Details

Originalbeschreibung des Autors

Scaffold a local Codewhale plugin bundle with a versioned manifest, namespaced Skills, and an explicit trust review.

repo: codewhale-hq/Codewhale

Beliebtheit

GitHub-Sterne
41k
Platz im Ranking
#6547
Lizenz
MIT
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills