What problem does it solve?
Create and scaffold plugin directories for Codex with a required .codex-plugin/plugin.json, optional plugin folders/files, and baseline placeholders you can edit before publishing or testing. Use when Codex needs to create a new local plugin, add optional plugin structure, or generate or update repo-root .agents/plugins/marketplace.json entries for plugin ordering and availability metadata.
Core Features & Use Cases
- Scaffold plugin root at the project root with a default .codex-plugin/plugin.json containing placeholders.
- Generate optional directories: skills/, hooks/, scripts/, assets/.
- Update or create marketplace entries at the specified marketplace path with relative plugin paths: ./plugins/<plugin-name> and default policies.
- Create optional placeholders for .mcp.json and .app.json when requested by flags (for example, --with-mcp and --with-apps).
Quick Start
From the repository root, run the scaffold script to generate a new plugin with placeholder files.