Claude plugin structure
    New

    Reference for the Brand Kit OS Cowork plugin layout: manifests, hooks, skills, agents, and commands.

    Last updated: April 17, 2026

    Claude plugin structure

    The Brand Kit OS Cowork plugin (v1.2.0) bundles MCP, skills, hooks, agents, and slash commands into a single uploadable folder.

    Layout

    brand-kit-os-plugin/
    ├── plugin.json          # capabilities manifest
    ├── .mcp.json            # MCP server connection (API key pre-embedded)
    ├── hooks.json           # session_start hook
    ├── README.md
    ├── skills/
    │   ├── brand-context/
    │   └── brand-voice-enforcement/
    ├── agents/
    │   ├── content-generation.md
    │   ├── brand-review.md
    │   ├── audience-adaptation.md
    │   ├── quality-assurance.md
    │   └── cowork-digest-publisher.md
    └── commands/
        ├── enforce-voice.md
        └── create-content.md
    

    Capabilities (plugin.json)

    mcp, skills, hooks, agents, commands — all enabled.

    Session-start hook (hooks.json)

    On every new Cowork session:

    1. Calls list_brand_kits
    2. If exactly one kit exists → auto-loads get_brand_kit_summary
    3. If multiple → prompts the user to choose

    Skills

    • brand-context — when and how to load brand data
    • brand-voice-enforcement — pre-flight checklist for content review

    Agents

    Agent Purpose
    content-generation Generates brand-aligned content
    brand-review Reviews content against brand standards
    audience-adaptation Adapts content for specific personas
    quality-assurance Validates compliance before delivery
    cowork-digest-publisher Turns a Cowork digest into a published Leafpad post

    Slash commands

    • /brand-kit:enforce-voice — load guidelines and apply them to a content request
    • /brand-kit:create-content — generate brand-aligned content for a type, audience, and topic

    Conditional MCP injection

    When Leafpad is linked under Partner Integrations, the downloaded .mcp.json automatically gains a leafpad server entry — required by the cowork-digest-publisher agent.