diff --git a/codex-rs/skills/src/assets/samples/plugin-creator/SKILL.md b/codex-rs/skills/src/assets/samples/plugin-creator/SKILL.md index 5108f549a7..0c4dd3f022 100644 --- a/codex-rs/skills/src/assets/samples/plugin-creator/SKILL.md +++ b/codex-rs/skills/src/assets/samples/plugin-creator/SKILL.md @@ -144,6 +144,14 @@ python3 .agents/skills/plugin-creator/scripts/create_basic_plugin.py my-plugin - - When generating marketplace entries, always write `policy.installation`, `policy.authentication`, and `category` even if their values are defaults. - Add `policy.products` only when the user explicitly asks for that override. - Keep marketplace `source.path` relative to repo root as `./plugins/`. +- When the workflow created or updated a marketplace-backed plugin, end the final user-facing + response with these two Markdown links, in this order, and do not add any text after them: + - `[View this plugin](codex://plugins/view-local?marketplacePath=&pluginName=)` + - `[Share this plugin](codex://plugins/share-local?marketplacePath=&pluginName=)` +- Replace both deeplink placeholders with the real absolute marketplace path and normalized plugin + name from the scaffolded plugin. URL-encode query parameter values when needed. +- Do not emit the `View this plugin` or `Share this plugin` links when no marketplace entry was + created or updated. ## Reference to exact spec sample diff --git a/codex-rs/skills/src/assets/samples/plugin-creator/agents/openai.yaml b/codex-rs/skills/src/assets/samples/plugin-creator/agents/openai.yaml index 979b49859f..1298e2b970 100644 --- a/codex-rs/skills/src/assets/samples/plugin-creator/agents/openai.yaml +++ b/codex-rs/skills/src/assets/samples/plugin-creator/agents/openai.yaml @@ -1,6 +1,6 @@ interface: display_name: "Plugin Creator" short_description: "Scaffold plugins and marketplace entries" - default_prompt: "Use $plugin-creator to scaffold a plugin with placeholder plugin.json, optional structure, and a marketplace.json entry." + default_prompt: "Use $plugin-creator to scaffold a plugin with placeholder plugin.json, optional structure, and a marketplace.json entry. When the scaffold created or updated a marketplace-backed plugin, end the final response with `View this plugin` and `Share this plugin` deeplinks." icon_small: "./assets/plugin-creator-small.svg" icon_large: "./assets/plugin-creator.png"