Command Palette

Search for a command to run...

Назад к скиллам
скилл № 59809

plugin-author-helper

Design, validate, and ship a marketplace Plugin (or Skill bundle) with proper manifest format, multi-ecosystem compatibility, version pinning, manifest…

БесплатноБез исполняемых скриптов
MiniMax-AIот MiniMax-AI★ 30 звёзд на GitHub

Установить plugin-author-helper в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Plugin Author Helper

Design, validate, and ship a Plugin that fits into the Codex (or compatible) Plugin ecosystem. Mirrors the design of codex-rs/core-plugins/.

When to use

Activate when:

  • Writing a new plugin.json / marketplace.json manifest.
  • Choosing between manifest formats (Legacy vs AgentPlugin).
  • Validating a plugin before publish.
  • Designing install / remove / upgrade / sync flows.
  • Picking a plugin scope (User / System / Admin / Plugin) and pinning a version.

When NOT to use

  • Single skill authoring → use skill-auto-select.
  • Pure MCP server (no Skill bundle) → use the mcp-server crate's own conventions.
  • One-off tool scripts → don't package.

Host runtime requirements

This Skill describes how to design a Plugin (manifest, idempotency, scope). It does not cause the agent to install, modify, or publish anything on its own. Specifically, the agent MUST NOT, on the strength of this Skill alone:

  • Run npm install / npm link / any package manager command for the user.
  • Write or overwrite files in ~/.minimax/.../plugins/, ~/.codex/.../, ~/.config/, or any other user-level config directory.
  • Hit a marketplace endpoint (download, install, upgrade) on the user's behalf.
  • Trigger a plugin sync that reaches the network (3-layer fallback in Codex is a Codex-runtime concept; MiniMax Code may or may not have an equivalent).

All of the above require explicit user confirmation in the host's normal permission flow (approval_policy, ask mode, or whatever the host uses). This Skill is for designing the manifest / sync flow, not for executing it. The agent that runs the install / sync must follow the host's user-confirmation policy, not the patterns in this Skill.

Process

1. Pick the manifest format

Codex supports two manifest formats:

Format Path Notes
Legacy .claude-plugin/marketplace.json / .cursor-plugin/marketplace.json Older ecosystems.
AgentPlugin .agents/plugins/marketplace.json / .agents/plugins/api_marketplace.json Current Codex format.

If the plugin should be cross-ecosystem (OpenAI + Claude + Cursor), ship both manifests and let the loader pick whichever it finds first.

2. Write the 8-field PluginManifest

struct RawPluginManifest {
    name: String,                                  // required
    version: Option<String>,                       // semver recommended
    description: Option<String>,                  // one-line
    keywords: Vec<String>,                         // tags
    skills: Option<RawPluginManifestPaths>,        // "./skills/<id>/SKILL.md" (./... required)
    mcp_servers: Option<RawPluginManifestMcpServers>, // MCP config
    apps: Option<String>,                          // apps connector
    hooks: Option<RawPluginManifestHooks>,         // 9 hook trigger points
    interface: Option<RawPluginManifestInterface>, // UI (display_name, icon, brand_color)
}

Hard limits:

  • MAX_DEFAULT_PROMPT_COUNT: 3 — at most 3 default prompts in interface.
  • MAX_DEFAULT_PROMPT_LEN: 128 — each prompt ≤ 128 chars.
  • All paths in skills MUST use the ./... syntax (./skills/<id>/SKILL.md) and resolve under the plugin root.

3. Provide a manifest fallback

If the main manifest is missing or malformed, fall back to a known-good shape. The fallback typically contains just name + version + a minimal skills list.

4. Use a 3-letter marketplace name taxonomy

Pick a short, descriptive name with one of these prefixes:

Prefix Meaning
openai-curated OpenAI-curated official
openai-api-curated OpenAI API curated
openai-bundled Bundled with Codex
openai-bundled-alpha Bundled alpha
openai-primary-runtime Primary runtime

For your own marketplace, use <author>-<purpose> (e.g. acme-data-pipelines).

5. Use idempotency keys for create operations

pub struct CreateProjectParams {
    pub name: String,
    pub idempotency_key: String,   // ← critical
    // ...
}

pub struct CreatedProject {
    pub project: StoredProject,
    pub created: bool,              // true = new, false = idempotent hit
}

Always require idempotency_key on create / install endpoints. The same key + same payload returns the existing object with created: false. Different key + same name creates a new object (no conflict).

6. Three-state updates: Option<Option<T>>

For partial-update APIs:

  • None — "do not touch this field".
  • Some(None) — "set this field to null/empty".
  • Some(Some(value)) — "set this field to value".

This is the only correct encoding for "no change vs explicit clear" in JSON.

7. Report moved vs unchanged

pub enum ProjectMoveOutcome { Moved, Unchanged }

Reorder APIs should return whether the operation actually moved anything. UI uses this to skip re-renders on no-ops.

8. Use a BTreeMap for metadata

Stable iteration o

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл plugin-author-helper?

Design, validate, and ship a marketplace Plugin (or Skill bundle) with proper manifest format, multi-ecosystem compatibility, version pinning, manifest fallback, install idempotency, and three-layer startup sync. USE WHEN: writing a new Plugin manifest, picking manifest format (Legacy vs AgentPlugin), adding `skills` / `mcp_servers` / `apps` / `hooks` / `interface` fields, validating a plugin before publish, designing marketplace install/remove/upgrade flows, or any task involving "make my plugin actually work in Codex". TRIGGER PHRASES: "plugin manifest", "PluginManifest", "marketplace", "agent plugin", ".agents/plugins/marketplace.json", "manifest fallback", "idempotency key", "plugin author", "plugin publish", "plugin version", "startup sync", "lock file". SKIP WHEN: writing a single skill (use `skill-auto-select`), pure MCP server (use `mcp-server` directly), one-off tool without packaging.

Как установить скилл plugin-author-helper?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл plugin-author-helper запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить plugin-author-helper с