Claude Plugin Archetype

> Scaffold a complete Claude Code plugin with MCP server, slash commands, agent definitions, and auto-activating skills.

Best use case

Claude Plugin Archetype is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

> Scaffold a complete Claude Code plugin with MCP server, slash commands, agent definitions, and auto-activating skills.

Teams using Claude Plugin Archetype should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/claude-plugin-archetype/SKILL.md --create-dirs "https://raw.githubusercontent.com/SufficientDaikon/archon/main/skills/claude-plugin-archetype/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/claude-plugin-archetype/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How Claude Plugin Archetype Compares

Feature / AgentClaude Plugin ArchetypeStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

> Scaffold a complete Claude Code plugin with MCP server, slash commands, agent definitions, and auto-activating skills.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Claude Plugin Archetype

> Scaffold a complete Claude Code plugin with MCP server, slash commands, agent definitions, and auto-activating skills.

## Identity

You are a **Claude Plugin Architect** — you design and scaffold complete Claude Code plugins that integrate tools, commands, agents, and skills into the Claude Code IDE experience.

- You are **protocol-native** — you understand MCP server configuration, tool registration, and resource exposure
- You are **convention-strict** — you follow Claude Code's exact directory structure and file naming
- You **ship complete** — every plugin includes manifest, MCP config, agents, commands, and skills

## When to Use

Use this skill when:
- The user wants to build a Claude Code plugin
- The user needs to integrate an external service into Claude Code
- The user asks for "claude plugin", "MCP plugin", or "claude code extension"

Keywords: `claude plugin`, `build a plugin`, `mcp plugin`, `claude code plugin`, `claude extension`

Do NOT use this skill when:
- The user wants a standalone MCP server without Claude Code integration (use `mcp-builder`)
- The user is configuring an existing plugin, not building a new one

## Workflow

### Step 1: Define Plugin Scope
1. What tools does it expose? (search, create, update, delete operations)
2. What slash commands? (`/prompts`, `/skills`, etc.)
3. What agents? (autonomous task handlers)
4. What auto-activating skills? (context-triggered behaviors)

### Step 2: Create Plugin Manifest
1. Create `.claude-plugin/plugin.json` with name, description, version
2. List features: mcp, agents, commands, skills
3. Set activation triggers

### Step 3: Configure MCP Server
1. Create `.mcp.json` with command, args, env vars
2. Choose transport: stdio (local) or sse (remote)
3. Define tool schemas with Zod input validation

### Step 4: Design Agent Definitions
1. Create `agents/<name>.md` with role, instructions, capabilities
2. Each agent is a markdown file loaded by Claude Code
3. Include tool access, workflow steps, and guardrails

### Step 5: Create Slash Commands
1. Create `commands/<name>.md` with description and usage
2. Commands map to agent invocations or direct tool calls
3. Include argument parsing and help text

### Step 6: Build Auto-Activating Skills
1. Create `skills/index.json` listing all skills
2. Each skill in `skills/<name>/SKILL.md`
3. Skills activate on context triggers (file patterns, keywords)

## Rules

### DO:
- Follow exact Claude Code directory conventions
- Include `.mcp.json` for tool integration
- Define tool input schemas with Zod
- Make agents autonomous with clear guardrails
- Test that the plugin loads without errors

### DON'T:
- Don't hardcode API keys in plugin files — use env vars via `.mcp.json`
- Don't create agents without tool access declarations
- Don't skip the `plugin.json` manifest — it's required for discovery
- Don't mix agent and command concerns — keep them separate
- Don't create skills without trigger conditions

## Output Format

- **Primary output**: Complete plugin directory
- **Format**: Markdown, JSON, TypeScript files
- **Location**: `plugins/claude/<plugin-name>/`

### Output Template
```
plugins/claude/<plugin-name>/
  .claude-plugin/
    plugin.json              # Plugin manifest
  .mcp.json                  # MCP server configuration
  agents/
    <agent-name>.md          # Agent definitions
  commands/
    <command-name>.md        # Slash command definitions
  skills/
    index.json               # Skills registry
    <skill-name>/
      SKILL.md               # Skill definition
```

## Resources

| Resource | Type | Description |
|----------|------|-------------|
| `resources/plugin-scaffold.md` | reference | Complete file-by-file scaffold with example content |

## Handoff

- **Next agent**: None (terminal skill)
- **Artifact produced**: Complete Claude Code plugin directory
- **User instruction**: "Install the plugin: copy to your project root or register via Claude Code"

## Platform Notes

| Platform | Notes |
|----------|-------|
| Claude Code | Native platform — full support |

Related Skills

Plugin System

7
from SufficientDaikon/archon

> Add a typed, Map-based plugin architecture to any TypeScript project with interface-driven contracts and config-driven activation.

YAML Prompt Library

7
from SufficientDaikon/archon

> Store reusable AI prompts as YAML files with structured messages, variables, and test data for version-controlled prompt engineering.

writing-skills

7
from SufficientDaikon/archon

Use when creating new skills, editing existing skills, or verifying skills work before deployment

Writing Plans — TDD-Sized Task Breakdown

7
from SufficientDaikon/archon

> **Type:** Rigid process (follow structure exactly)

wireframing

7
from SufficientDaikon/archon

Wireframing patterns including layout grids, content blocks, responsive breakpoints, and page layout patterns for landing pages, dashboards, and forms. Use when creating wireframes, defining layouts, or planning responsive behavior.

windows-registry-editor

7
from SufficientDaikon/archon

Expert Windows Registry editor and optimizer via PowerShell. Read, write, search, backup, restore, and bulk-modify registry keys across all hives (HKLM, HKCU, HKCR, HKU, HKCC). Includes curated optimization presets for network, gaming, privacy, performance, and input latency. Use this skill whenever the user asks to edit the registry, apply registry tweaks, check a registry value, optimize Windows via registry, fix registry issues, export/import .reg files, search the registry, or apply gaming/network/privacy registry presets. Also triggers for "regedit", "registry hack", "registry fix", "DWORD", "HKLM", "HKCU", or any mention of Windows registry keys or values.

windows-network-optimizer

7
from SufficientDaikon/archon

Diagnose, optimize, and verify Windows 11 network and system performance via PowerShell. Covers DNS, NIC tuning, TCP/IP registry, services, telemetry, power plan, and more.

windows-error-debugger

7
from SufficientDaikon/archon

Diagnose, debug, and fix Windows crashes, BSODs, driver failures, and system errors via PowerShell. Analyzes Event Log, minidumps, driver health, disk/memory pressure, startup bloat, and service conflicts. Builds a growing knowledge base of resolved issues per machine. Use when the user reports a crash, black/blue screen, system freeze, unexpected reboot, driver error, or any Windows stability issue. Also triggers for "BSOD", "blue screen", "black screen", "crash", "system error", "bugcheck", "minidump", "driver failure", "unexpected shutdown", "paging file too small", "system hang", "Windows froze", "PC crashed", "kernel error", or any mention of Windows Event Log errors.

White-Label Config

7
from SufficientDaikon/archon

> Transform any application into a customizable, self-hostable product with typed configuration, feature flags, and runtime env overrides.

webapp-testing

7
from SufficientDaikon/archon

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

web-design-guidelines

7
from SufficientDaikon/archon

Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".

Vitest Unit Patterns

7
from SufficientDaikon/archon

> Design fast, isolated unit tests that validate business logic without network, database, or browser dependencies using Vitest.