plugin-creator

Generate Codex plugin skeletons with valid .codex-plugin/plugin.json manifests.

4|1|Updated Oct 5, 2024
One-click install
npx skills add https://github.com/xrehpicx/anya --skill plugin-creator-xrehpicx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: plugin-creator
Source: https://github.com/xrehpicx/anya/tree/main/codex-rs/skills/src/assets/samples/plugin-creator
Command: npx skills add https://github.com/xrehpicx/anya --skill plugin-creator-xrehpicx

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill streamlines the creation of Codex plugin skeletons by auto-generating a valid plugin manifest, optional scaffolds, and marketplace wiring, reducing setup time and human error.

Core Features & Use Cases

  • Auto-create .codex-plugin/plugin.json with defaults and proper structure.
  • Optionally scaffold directories such as skills/, scripts/, assets/ and placeholders for .mcp.json and .app.json as needed.
  • Automatically seed or update a local marketplace entry pointing to the plugin path, with standard policy defaults and category.
  • Normalize plugin names to safe kebab-case and validate inputs during scaffold.

Quick Start

Run the scaffold script to generate a new local plugin skeleton with optional components.

Frequently Asked Questions about plugin-creator

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

FAQPage Schema
How do I scaffold a new Codex plugin skeleton locally?

To scaffold a Codex plugin, run the CLI script which auto-generates a valid plugin.json manifest and optional directories like skills/ and scripts/, providing a ready-to-use local plugin skeleton.

What is the correct file structure for a Codex plugin manifest?

A valid Codex plugin manifest requires a .codex-plugin/plugin.json file, and this scaffolding process automatically applies the proper structure and defaults to ensure manifest validation.

Can I update an existing local Codex plugin instead of creating a new one?

Yes, you can update existing local plugins by running the scaffold flow, which applies manifest defaults, normalizes plugin names, and uses cachebuster-ready updates for marketplace integration.

Does the Codex plugin scaffolder support marketplace integration?

Yes, the scaffolder automatically seeds or updates a local marketplace entry pointing to your plugin path, applying standard policy defaults and categories during the generation process.

How do I normalize a Codex plugin name to safe kebab-case?

The scaffolding script normalizes plugin names to safe kebab-case automatically during generation, validating your inputs to ensure the plugin name meets required formatting standards.

What optional components can I include when generating a Codex plugin?

You can tailor the generated plugin using optional flags to include skills, hooks, scripts, assets, and marketplace behavior, alongside placeholders for .mcp.json and .app.json files.