plugin-writer

Create and configure Claude Code plugins with valid metadata and directory structures.

6|8|Updated May 7, 2026
One-click install
npx skills add https://github.com/TorchedHat/ai-marketplace --skill plugin-writer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: plugin-writer
Source: https://github.com/TorchedHat/ai-marketplace/tree/main/ai-writer/skills/plugin-writer
Command: npx skills add https://github.com/TorchedHat/ai-marketplace --skill plugin-writer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies the creation and marketplace integration of Claude Code plugins by providing structured workflows for plugin metadata, directory organization, skills, agents, and optional MCP configuration.

Core Features & Use Cases

  • Plugin Creation: Set up complete plugin directories with plugin.json, skills, agents, hooks, scripts, and optional package metadata.
  • Marketplace Integration: Add local or external plugins to marketplace.json with appropriate source definitions, categories, and metadata.
  • Configuration Guidance: Configure MCP servers, validate skill and agent discovery, and troubleshoot common plugin setup issues.
  • Use Case: Use this Skill when turning a collection of Claude Code skills and agents into a properly structured, installable marketplace plugin.

Quick Start

Ask the plugin-writer skill to create a Claude Code plugin with the required metadata, skills, agents, and marketplace integration.

Frequently Asked Questions about plugin-writer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Claude Code plugin with the correct directory structure and metadata?

To create a Claude Code plugin, set up a complete directory containing a valid plugin.json file alongside your skills, agents, hooks, and scripts. The plugin-writer skill configures this structure and validates the required metadata schemas for you.

How do I add a local or external plugin to a Claude Code marketplace?

Adding a plugin to a Claude Code marketplace requires updating marketplace.json with appropriate source definitions, categories, and metadata. You can configure both local directories and external repositories as valid plugin sources.

What is the correct schema for plugin.json and marketplace.json files?

Plugin.json and marketplace.json schemas require explicit agent registration, valid frontmatter validation, and reliable relative or external source configuration. Using the correct schema ensures proper skill and agent discovery within the Claude Code ecosystem.

How do I set up and configure MCP servers for a Claude Code plugin?

Setting up MCP servers for a Claude Code plugin involves defining the server configuration within your plugin's metadata. The plugin-writer skill provides configuration guidance to validate server discovery and troubleshoot common setup issues.

Why is my Claude Code plugin not discovering my skills and agents correctly?

Skill and agent discovery fails when frontmatter validation is incorrect or agents lack explicit registration in plugin.json. Troubleshoot your plugin setup by validating your metadata schemas and ensuring your directory structure matches Claude Code requirements.