Plugin creator

From softspark/ai-toolkit · View interactive version

Plugin creator is an AI agent skill from the GitHub repository softspark/ai-toolkit. Creates opt-in plugin packs with manifests + module scaffolding for Claude/Codex. Triggers: new plugin, plugin pack, plugin scaffold.

How to use this skill

Skill file

Plugin Creator

$ARGUMENTS

Create a new experimental opt-in plugin pack following ai-toolkit conventions.

Workflow

  1. Capture scope -- what domain should the plugin pack own?
  2. Pick packaging model -- domain pack, policy pack, or hook/observability pack?
  3. Define manifest -- name, description, version, domain, compatibility, included assets
  4. Select assets -- agents, skills, rules, hooks, docs, templates
  5. Add scaffolding -- create plugin.json, README.md, and optional subdirectories
  6. Validate -- manifest JSON, included asset references, executable hooks, documentation links

Directory Layout

app/plugins/<plugin-name>/
├── plugin.json
├── README.md
├── agents/           # optional
├── skills/           # optional
├── hooks/            # optional
├── rules/            # optional
└── templates/        # optional

Manifest Template

{
  "name": "memory-pack",
  "description": "Domain plugin pack for persistent cross-session memory.",
  "version": "1.0.0",
  "domain": "memory",
  "type": "plugin-pack",
  "status": "experimental",
  "requires": {
    "ai-toolkit": ">=1.0.0",
    "claude-code": ">=1.0.33"
  },
  "includes": {
    "agents": [],
    "skills": ["mem-search"],
    "rules": [],
    "hooks": ["observation-capture.sh", "session-summary.sh"]
  },
  "hook_events": {
    "observation-capture.sh": "PostToolUse",
    "session-summary.sh": "Stop"
  }
}

The two hooks are files the pack owns, under app/plugins/memory-pack/hooks/.

That is what makes this a pack rather than a bookmark: installing it puts scripts

on disk and entries in the host's hook config that were not there before.

Authoring Rules

Gotchas

Validation Checklist

When NOT to Use

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.