{"name":"publish-agent-skill","title":"Publish an Agent Skill","description":"Publish an Agent Skill through a verified release: a draft becomes a discoverable, installable release with its catalogue README, release notes, update guidance and provenance, or a published skill gets a versioned update. Symptoms: publish this skill, release this Agent Skill, add this skill to the public pack. Not for a user-local skill that should stay unpublished.","compatibility":"Agent Skills repositories with git, a repository-specific validator/test command, an authenticated forge client for remote publication, and a release/discovery channel to verify.","allowedTools":"Read Write Grep Glob Bash Agent Workflow","license":"MIT","kind":"requestOnly","useWhen":"asked for by name: authoring and releasing an Agent Skill","group":"workflow","lifecycle":"release","version":"1.0.2","author":"crissmoldovan","install":["npx skills add crissmoldovan/agent-skills --skill publish-agent-skill"],"asks":["Publish this Agent Skill to the current repository. Discover its conventions,\nwrite contract tests first, validate and review the current head, then merge,\nrelease, verify installer discovery and provenance, and report any indexing lag.\nDo not touch any other repository, private plugin, marketplace, website, mirror,\nsidecar, canonical/generated copy, or local-global installation unless I\nexplicitly name it.","Publish this skill to the current public pack and also update the private plugin\nrepository I named. Treat those as separate targets, preview both scopes, verify\neach release independently, and do not infer any additional mirror or sidecar."],"commands":[],"documents":[],"body":"# Publish an Agent Skill\n\nAuthor, validate, review, merge, release, and verify an Agent Skill without\nassuming a repository owner, account, forge, package layout, or private delivery\nsystem. This skill owns one explicitly selected publication target. It does not\nsilently copy the skill into private repositories, plugins, mirrors, websites,\nsidecars, control planes, or another owner's account.\n\n## When to Use\n\n- “Publish this skill,” “release this Agent Skill,” or “add this skill to the\n  public pack.”\n- A skill draft must become a discoverable, installable, verified release.\n- An existing published skill needs a versioned content update.\n\nDo not use for a user-local skill that should remain unpublished, or for private\norganization policy when a target-specific publishing skill explicitly overrides\nthis one.\n\n## Publication Authority\n\nDiscover the repository, owner, publication target, skill layout, version source,\ntests, review requirements, merge policy, release mechanism, and discovery\nchannels from the active repository and the user's request. If the target is not\nuniquely known, ask before writing or publishing. Never infer a destination from\nmemory, a sibling clone, an installed skill, a similarly named organization, or\ncredentials that happen to work.\n\nThis workflow has one primary target by default.\n\n### External and sidecar targets are opt-in only\n\nAn external target includes any second repository, private plugin, marketplace,\nwebsite, mirror, sidecar runtime, canonical-source repository, generated copy, or\nlocal-global installation outside the primary target.\n\nTouch one only when the user explicitly asks for or mentions that named target\nin the active request. Do not infer external propagation from repository history,\nlinks, provenance files, prior releases, available credentials, or the presence\nof another checkout. When explicitly requested, treat every external target as a\nseparate publication with its own scope, validation, approval, readback, and\ncompletion status. A primary release is not proof that a sidecar published.\n\n## Prerequisites\n\n1. Inspect repository instructions, current branch/status, recent release tags,\n   skill peers, manifest/frontmatter conventions, tests, CI, and release docs.\n2. Resolve the exact primary target and whether this is a new skill or update.\n3. Define acceptance: skill identity, trigger, boundaries, carried files,\n   discovery name, version, install command, and proof required after release.\n4. Inventory external targets mentioned by the user. Record all others as out of\n   scope; do not modify them.\n5. Confirm authorization before remote writes, merge, publication, destructive\n   replacement, or cross-account changes. Every external target must be named\n   explicitly by the user in the active request; repository policy may add\n   safeguards but cannot select or authorize an unmentioned target.\n\n## Procedure\n\n1. **Discover the target contract.** Trace validators, generators, catalog code,\n   neighboring imports/links, release automation, and install commands. Do not\n   invent files, fields, commands, versions, or namespaces. **Complete when:**\n   repository owner, target branch, skill path, metadata contract, checks,\n   release mechanism, and discovery surfaces are evidenced.\n2. **Write acceptance tests first.** Add focused contract tests against the\n   shipped `SKILL.md` and carried files. Run them and confirm failure for the\n   missing or stale behavior. **Complete when:** RED proves the intended contract.\n3. **Author the minimum skill.** Match peer structure and progressive disclosure.\n   Keep triggers and counter-triggers precise; make boundaries, prerequisites,\n   ordered steps, pitfalls, and verification executable. Add carried reference\n   files or scripts only when the main file would otherwise carry bulky or\n   repeated detail.\n   Update the repository README/catalogue entry in the same change so humans and\n   agents can discover the exact skill description, install coordinates, and how\n   to update it. Add human-readable release notes or changelog prose that explains\n   what changed, who should care, compatibility/migration impact, and the action\n   required to receive it. A version number or generated diff is not release notes.\n4. **Validate locally.** Run focused tests, frontmatter/link/catalog validators,\n   generated-artifact drift checks, repository-required tests, and diff hygiene.\n   Re-run from a clean dependency state when release reproducibility matters.\n   **Complete when:** every required local check passes and the diff contains only\n   intended target files.\n5. **Review before publication.** Use the repository's required review gate. If\n   `request-blocks-review` is installed and Blocks review is requested by the\n   user or repository policy, load it and run review/fix/verify/re-review until\n   the current head is clean. Never silently install a reviewer dependency.\n6. **Open the publication change.** Create the repository-standard branch,\n   commit, and pull request only after scope is reviewed and authorization is\n   present. State tests, release impact, discovery impact, and explicitly excluded\n   external targets. **Complete when:** the PR URL and exact head exist.\n7. **Follow CI and review to convergence.** Distinguish queued acknowledgements\n   from real reviews. Fix findings, rerun checks, push, and request current-head\n   re-review as required. **Complete when:** required CI and review gates are\n   green for the exact merge head.\n8. **Merge and release.** Follow branch protection and repository release policy;\n   do not treat merge as publication. Create or verify the version/tag/release and\n   wait for deployment/indexing channels that the target contract names.\n   Publish the human release notes with exact install/update guidance. Encourage\n   affected users and agents to update without claiming or performing unrequested\n   local synchronization.\n9. **Verify external state from source.** Read back the main-branch skill, release,\n   and catalog. Run installer/CLI discovery against the published repository and\n   confirm exact name, description, source URL/type, and version where exposed.\n   Test an isolated install; do not rely on a preexisting local copy or redirect.\n10. **Synchronize requested local libraries.** Only when the user explicitly names\n    a local-global or project-local target, follow [All-plane local\n    synchronization](#all-plane-local-synchronization). Treat every scope,\n    machine, agent, and native/manual channel as an independent target.\n11. **Report staged completion.** Separate `verified`, `published`, `deferred`, and\n    `out of scope`. A cache/index delay is pending, not failure or success. Name\n    every explicitly requested external target and its independently verified\n    state.\n\n## All-plane Local Synchronization\n\nPublishing and isolated install verification do not authorize changing the\nuser's real skill libraries. Enter this procedure only when the active request\nexplicitly names a local-global scope, project scope, machine, agent set, native\nplugin, or manual/upload target.\n\n### Inventory every plane\n\n1. Read the installed inventory in machine-readable form for both scopes:\n\n   ```bash\n   npx skills list --global --json\n   npx skills list --json\n   ```\n\n2. Record each skill's scope, source provenance, install path, managed/unmanaged\n   status, copy/symlink form, and every agent path that consumes it. A shared\n   canonical copy linked into several agents is one managed installation with\n   several projections; copied directories can drift independently.\n   Present a deduplicated target manifest before writes: `machine × scope/profile\n   × agent/channel × physical path × mechanism`. “All supported agents” covers\n   only this discovered set, not unknown profiles or guessed locations.\n3. Discover native plugin/package channels from the target's own release contract.\n   A plugin-native skill and a standalone skill with the same bare name are\n   separate identities; do not replace or remove one to update the other.\n4. Inventory manual planes separately: uploaded archives, downloaded files,\n   browser-only agents, remote agents, containers, other machines, and clients the\n   Skills CLI reports as unsupported. Never claim they were synchronized from a\n   successful update on this machine.\n\n### Apply by ownership and scope\n\n- **CLI-managed global copy:** update the named skills without scope inference:\n\n  ```bash\n  npx skills update <skill...> --global --yes\n  ```\n\n- **CLI-managed project copy:** run from the exact project and specify project\n  scope explicitly:\n\n  ```bash\n  npx skills update <skill...> --project --yes\n  ```\n\n- **Missing global copy across all supported agents:** add from the authoritative\n  published source, preserving the repository's install form:\n\n  ```bash\n  npx skills add <published-source> --skill <skill...> --global --agent '*' --yes\n  ```\n\n  Use `--copy` only when the user or existing installation selected copied\n  delivery. Do not silently convert copy to symlink or symlink to copy.\n\n- **Missing project copy:** run in the exact project, omit `--global`, and name\n  the intended agents. Project installation may create or update lock metadata;\n  include and verify it according to repository policy.\n- **Unmanaged or provenance-less copy:** do not overwrite it as if managed. Show\n  the exact path and proposed source, obtain approval for destructive replacement,\n  then remove only that identity/scope and reinstall from the authoritative\n  source. Preserve unrelated and namespaced skills.\n- **Upstream deletion:** report a removal candidate; require separate explicit\n  destructive approval before deleting any local skill.\n- **Native plugin/package channel:** use that channel's marketplace/registry\n  refresh and update commands, then read back its declared version and skill\n  namespace. Do not use the generic Skills CLI as proof that a native plugin\n  updated.\n- **Manual/upload channel:** produce or fetch the released artifact, verify it,\n  and give the user the replacement/upload action. If the agent cannot perform\n  that UI action, report `manual action required`; never mark it updated.\n- **Unsupported agent:** report the literal unsupported result and leave it\n  `unsupported`. Use `deferred` only for an explicitly requested target that is\n  temporarily unreachable. Do not fabricate a path or copy files into an\n  undocumented folder.\n\n### Verify every requested plane\n\n1. Re-run scope inventories and confirm source provenance and all expected agent\n   projections. `--agent '*'` means every agent supported by the installed CLI,\n   not every agent that exists.\n2. Compare installed bytes or a cryptographic hash with the authoritative\n   published artifact when the channel exposes no trustworthy version. A command\n   exiting zero is not freshness proof.\n   Where no authoritative version/ref/digest is comparable, report freshness as\n   `unknown`; do not infer it from a rewritten local timestamp or command success.\n3. For native plugins, read back the exact installed version and namespace. For\n   project scope, verify the consuming project sees the project copy rather than\n   a higher-precedence global/plugin copy.\n4. Restart or reload each affected agent/runtime when its loader caches skills;\n   current-session discovery may remain stale until then.\n5. Report a matrix with `scope × agent/channel × identity`: `updated`, `already\n   current`, `manual action required`, `unsupported`, `deferred`, `failed`, or\n   `out of scope`.\n   Never collapse partial multi-agent success into “local libraries updated.”\n\n## Usage Examples\n\n```text\nPublish this Agent Skill to the current repository. Discover its conventions,\nwrite contract tests first, validate and review the current head, then merge,\nrelease, verify installer discovery and provenance, and report any indexing lag.\nDo not touch any other repository, private plugin, marketplace, website, mirror,\nsidecar, canonical/generated copy, or local-global installation unless I\nexplicitly name it.\n```\n\n```text\nPublish this skill to the current public pack and also update the private plugin\nrepository I named. Treat those as separate targets, preview both scopes, verify\neach release independently, and do not infer any additional mirror or sidecar.\n```\n\n## Pitfalls\n\n- **Owner assumed from environment:** working credentials do not select a target.\n- **Merge called release:** prove the tag/deploy/catalog and install path.\n- **Branch copy called publication:** installer discovery must read the merged\n  source, not an indexed feature branch or cache.\n- **Silent external propagation:** mirrors, websites, private plugins, sidecars,\n  and local-global installations require explicit user mention.\n- **Root `SKILL.md`:** some installers stop discovery there; follow the target's\n  actual multi-skill layout.\n- **Description drift:** package README/catalog copy must match frontmatter where\n  the target enforces it.\n- **Id renamed in a minor release:** where a skill declares `## Bindings`, its\n  binding-slot, hard-line and step ids are what projects adapt it by, so renaming\n  or removing one is a major change for that skill, in whichever version the\n  repository releases it under, and the release notes name every id that moved.\n- **README/changelog treated as cleanup:** catalogue README, human release notes,\n  and actionable update guidance are release artifacts, not optional follow-up.\n- **Review of stale head:** only current-head evidence satisfies the gate.\n- **Local copy used as proof:** verify published source and isolated install.\n- **One plane called all planes:** global, project, native-plugin, copied,\n  symlinked, manual/upload, remote, and unsupported clients have independent\n  freshness and completion states.\n- **Index cache ambiguity:** report the authoritative source separately from\n  delayed third-party indexes.\n\n## Verification\n\n- [ ] Primary repository, owner, branch, layout, and release target were discovered.\n- [ ] Tests failed before authoring and pass after implementation.\n- [ ] Frontmatter, links, carried files, catalog, generators, and full checks pass.\n- [ ] Repository/catalogue README lists the skill and exact install/update path.\n- [ ] Human release notes explain outcomes, compatibility, and who should update.\n- [ ] Published update guidance encourages adoption without mutating unrequested\n      local targets.\n- [ ] Required review is clean for the exact current head.\n- [ ] Merge, release, and deployment/indexing states are reported separately.\n- [ ] Main-branch source and release were read back.\n- [ ] CLI discovery and isolated install report exact skill identity and provenance.\n- [ ] Every explicitly requested local plane was inventoried before mutation.\n- [ ] A deduplicated target manifest was presented before every local write.\n- [ ] Managed updates preserved scope, source, agent set, and copy/symlink form.\n- [ ] Upstream-missing skills are removal candidates requiring separate destructive\n      confirmation, not ordinary update deletions.\n- [ ] Without a comparable authoritative version/ref/digest, freshness is\n      `unknown`, never inferred from command success or timestamps.\n- [ ] Native, manual, remote, and unsupported channels have independent outcomes.\n- [ ] Installed bytes/version/namespace were read back and affected runtimes were\n      restarted or reloaded where required.\n- [ ] Every user-mentioned external target has an independent verified state.\n- [ ] No unmentioned private, external, mirror, website, sidecar, or local-global\n      target was modified.\n","bodyHtml":"<h2 id=\"publish-an-agent-skill\">Publish an Agent Skill</h2>\n<p>Author, validate, review, merge, release, and verify an Agent Skill without\nassuming a repository owner, account, forge, package layout, or private delivery\nsystem. This skill owns one explicitly selected publication target. It does not\nsilently copy the skill into private repositories, plugins, mirrors, websites,\nsidecars, control planes, or another owner&#39;s account.</p>\n<h3 id=\"when-to-use\">When to Use</h3>\n<ul>\n<li>“Publish this skill,” “release this Agent Skill,” or “add this skill to the\npublic pack.”</li>\n<li>A skill draft must become a discoverable, installable, verified release.</li>\n<li>An existing published skill needs a versioned content update.</li>\n</ul>\n<p>Do not use for a user-local skill that should remain unpublished, or for private\norganization policy when a target-specific publishing skill explicitly overrides\nthis one.</p>\n<h3 id=\"publication-authority\">Publication Authority</h3>\n<p>Discover the repository, owner, publication target, skill layout, version source,\ntests, review requirements, merge policy, release mechanism, and discovery\nchannels from the active repository and the user&#39;s request. If the target is not\nuniquely known, ask before writing or publishing. Never infer a destination from\nmemory, a sibling clone, an installed skill, a similarly named organization, or\ncredentials that happen to work.</p>\n<p>This workflow has one primary target by default.</p>\n<h4 id=\"external-and-sidecar-targets-are-opt-in-only\">External and sidecar targets are opt-in only</h4>\n<p>An external target includes any second repository, private plugin, marketplace,\nwebsite, mirror, sidecar runtime, canonical-source repository, generated copy, or\nlocal-global installation outside the primary target.</p>\n<p>Touch one only when the user explicitly asks for or mentions that named target\nin the active request. Do not infer external propagation from repository history,\nlinks, provenance files, prior releases, available credentials, or the presence\nof another checkout. When explicitly requested, treat every external target as a\nseparate publication with its own scope, validation, approval, readback, and\ncompletion status. A primary release is not proof that a sidecar published.</p>\n<h3 id=\"prerequisites\">Prerequisites</h3>\n<ol>\n<li>Inspect repository instructions, current branch/status, recent release tags,\nskill peers, manifest/frontmatter conventions, tests, CI, and release docs.</li>\n<li>Resolve the exact primary target and whether this is a new skill or update.</li>\n<li>Define acceptance: skill identity, trigger, boundaries, carried files,\ndiscovery name, version, install command, and proof required after release.</li>\n<li>Inventory external targets mentioned by the user. Record all others as out of\nscope; do not modify them.</li>\n<li>Confirm authorization before remote writes, merge, publication, destructive\nreplacement, or cross-account changes. Every external target must be named\nexplicitly by the user in the active request; repository policy may add\nsafeguards but cannot select or authorize an unmentioned target.</li>\n</ol>\n<h3 id=\"procedure\">Procedure</h3>\n<ol>\n<li><strong>Discover the target contract.</strong> Trace validators, generators, catalog code,\nneighboring imports/links, release automation, and install commands. Do not\ninvent files, fields, commands, versions, or namespaces. <strong>Complete when:</strong>\nrepository owner, target branch, skill path, metadata contract, checks,\nrelease mechanism, and discovery surfaces are evidenced.</li>\n<li><strong>Write acceptance tests first.</strong> Add focused contract tests against the\nshipped <code>SKILL.md</code> and carried files. Run them and confirm failure for the\nmissing or stale behavior. <strong>Complete when:</strong> RED proves the intended contract.</li>\n<li><strong>Author the minimum skill.</strong> Match peer structure and progressive disclosure.\nKeep triggers and counter-triggers precise; make boundaries, prerequisites,\nordered steps, pitfalls, and verification executable. Add carried reference\nfiles or scripts only when the main file would otherwise carry bulky or\nrepeated detail.\nUpdate the repository README/catalogue entry in the same change so humans and\nagents can discover the exact skill description, install coordinates, and how\nto update it. Add human-readable release notes or changelog prose that explains\nwhat changed, who should care, compatibility/migration impact, and the action\nrequired to receive it. A version number or generated diff is not release notes.</li>\n<li><strong>Validate locally.</strong> Run focused tests, frontmatter/link/catalog validators,\ngenerated-artifact drift checks, repository-required tests, and diff hygiene.\nRe-run from a clean dependency state when release reproducibility matters.\n<strong>Complete when:</strong> every required local check passes and the diff contains only\nintended target files.</li>\n<li><strong>Review before publication.</strong> Use the repository&#39;s required review gate. If\n<code>request-blocks-review</code> is installed and Blocks review is requested by the\nuser or repository policy, load it and run review/fix/verify/re-review until\nthe current head is clean. Never silently install a reviewer dependency.</li>\n<li><strong>Open the publication change.</strong> Create the repository-standard branch,\ncommit, and pull request only after scope is reviewed and authorization is\npresent. State tests, release impact, discovery impact, and explicitly excluded\nexternal targets. <strong>Complete when:</strong> the PR URL and exact head exist.</li>\n<li><strong>Follow CI and review to convergence.</strong> Distinguish queued acknowledgements\nfrom real reviews. Fix findings, rerun checks, push, and request current-head\nre-review as required. <strong>Complete when:</strong> required CI and review gates are\ngreen for the exact merge head.</li>\n<li><strong>Merge and release.</strong> Follow branch protection and repository release policy;\ndo not treat merge as publication. Create or verify the version/tag/release and\nwait for deployment/indexing channels that the target contract names.\nPublish the human release notes with exact install/update guidance. Encourage\naffected users and agents to update without claiming or performing unrequested\nlocal synchronization.</li>\n<li><strong>Verify external state from source.</strong> Read back the main-branch skill, release,\nand catalog. Run installer/CLI discovery against the published repository and\nconfirm exact name, description, source URL/type, and version where exposed.\nTest an isolated install; do not rely on a preexisting local copy or redirect.</li>\n<li><strong>Synchronize requested local libraries.</strong> Only when the user explicitly names\na local-global or project-local target, follow <a href=\"#all-plane-local-synchronization\">All-plane local\nsynchronization</a>. Treat every scope,\nmachine, agent, and native/manual channel as an independent target.</li>\n<li><strong>Report staged completion.</strong> Separate <code>verified</code>, <code>published</code>, <code>deferred</code>, and\n<code>out of scope</code>. A cache/index delay is pending, not failure or success. Name\nevery explicitly requested external target and its independently verified\nstate.</li>\n</ol>\n<h3 id=\"all-plane-local-synchronization\">All-plane Local Synchronization</h3>\n<p>Publishing and isolated install verification do not authorize changing the\nuser&#39;s real skill libraries. Enter this procedure only when the active request\nexplicitly names a local-global scope, project scope, machine, agent set, native\nplugin, or manual/upload target.</p>\n<h4 id=\"inventory-every-plane\">Inventory every plane</h4>\n<ol>\n<li><p>Read the installed inventory in machine-readable form for both scopes:</p>\n<pre><code class=\"language-bash\">npx skills list --global --json\nnpx skills list --json\n</code></pre>\n</li>\n<li><p>Record each skill&#39;s scope, source provenance, install path, managed/unmanaged\nstatus, copy/symlink form, and every agent path that consumes it. A shared\ncanonical copy linked into several agents is one managed installation with\nseveral projections; copied directories can drift independently.\nPresent a deduplicated target manifest before writes: <code>machine × scope/profile × agent/channel × physical path × mechanism</code>. “All supported agents” covers\nonly this discovered set, not unknown profiles or guessed locations.</p>\n</li>\n<li><p>Discover native plugin/package channels from the target&#39;s own release contract.\nA plugin-native skill and a standalone skill with the same bare name are\nseparate identities; do not replace or remove one to update the other.</p>\n</li>\n<li><p>Inventory manual planes separately: uploaded archives, downloaded files,\nbrowser-only agents, remote agents, containers, other machines, and clients the\nSkills CLI reports as unsupported. Never claim they were synchronized from a\nsuccessful update on this machine.</p>\n</li>\n</ol>\n<h4 id=\"apply-by-ownership-and-scope\">Apply by ownership and scope</h4>\n<ul>\n<li><p><strong>CLI-managed global copy:</strong> update the named skills without scope inference:</p>\n<pre><code class=\"language-bash\">npx skills update &lt;skill...&gt; --global --yes\n</code></pre>\n</li>\n<li><p><strong>CLI-managed project copy:</strong> run from the exact project and specify project\nscope explicitly:</p>\n<pre><code class=\"language-bash\">npx skills update &lt;skill...&gt; --project --yes\n</code></pre>\n</li>\n<li><p><strong>Missing global copy across all supported agents:</strong> add from the authoritative\npublished source, preserving the repository&#39;s install form:</p>\n<pre><code class=\"language-bash\">npx skills add &lt;published-source&gt; --skill &lt;skill...&gt; --global --agent &#39;*&#39; --yes\n</code></pre>\n<p>Use <code>--copy</code> only when the user or existing installation selected copied\ndelivery. Do not silently convert copy to symlink or symlink to copy.</p>\n</li>\n<li><p><strong>Missing project copy:</strong> run in the exact project, omit <code>--global</code>, and name\nthe intended agents. Project installation may create or update lock metadata;\ninclude and verify it according to repository policy.</p>\n</li>\n<li><p><strong>Unmanaged or provenance-less copy:</strong> do not overwrite it as if managed. Show\nthe exact path and proposed source, obtain approval for destructive replacement,\nthen remove only that identity/scope and reinstall from the authoritative\nsource. Preserve unrelated and namespaced skills.</p>\n</li>\n<li><p><strong>Upstream deletion:</strong> report a removal candidate; require separate explicit\ndestructive approval before deleting any local skill.</p>\n</li>\n<li><p><strong>Native plugin/package channel:</strong> use that channel&#39;s marketplace/registry\nrefresh and update commands, then read back its declared version and skill\nnamespace. Do not use the generic Skills CLI as proof that a native plugin\nupdated.</p>\n</li>\n<li><p><strong>Manual/upload channel:</strong> produce or fetch the released artifact, verify it,\nand give the user the replacement/upload action. If the agent cannot perform\nthat UI action, report <code>manual action required</code>; never mark it updated.</p>\n</li>\n<li><p><strong>Unsupported agent:</strong> report the literal unsupported result and leave it\n<code>unsupported</code>. Use <code>deferred</code> only for an explicitly requested target that is\ntemporarily unreachable. Do not fabricate a path or copy files into an\nundocumented folder.</p>\n</li>\n</ul>\n<h4 id=\"verify-every-requested-plane\">Verify every requested plane</h4>\n<ol>\n<li>Re-run scope inventories and confirm source provenance and all expected agent\nprojections. <code>--agent &#39;*&#39;</code> means every agent supported by the installed CLI,\nnot every agent that exists.</li>\n<li>Compare installed bytes or a cryptographic hash with the authoritative\npublished artifact when the channel exposes no trustworthy version. A command\nexiting zero is not freshness proof.\nWhere no authoritative version/ref/digest is comparable, report freshness as\n<code>unknown</code>; do not infer it from a rewritten local timestamp or command success.</li>\n<li>For native plugins, read back the exact installed version and namespace. For\nproject scope, verify the consuming project sees the project copy rather than\na higher-precedence global/plugin copy.</li>\n<li>Restart or reload each affected agent/runtime when its loader caches skills;\ncurrent-session discovery may remain stale until then.</li>\n<li>Report a matrix with <code>scope × agent/channel × identity</code>: <code>updated</code>, <code>already current</code>, <code>manual action required</code>, <code>unsupported</code>, <code>deferred</code>, <code>failed</code>, or\n<code>out of scope</code>.\nNever collapse partial multi-agent success into “local libraries updated.”</li>\n</ol>\n<h3 id=\"usage-examples\">Usage Examples</h3>\n<pre><code class=\"language-text\">Publish this Agent Skill to the current repository. Discover its conventions,\nwrite contract tests first, validate and review the current head, then merge,\nrelease, verify installer discovery and provenance, and report any indexing lag.\nDo not touch any other repository, private plugin, marketplace, website, mirror,\nsidecar, canonical/generated copy, or local-global installation unless I\nexplicitly name it.\n</code></pre>\n<pre><code class=\"language-text\">Publish this skill to the current public pack and also update the private plugin\nrepository I named. Treat those as separate targets, preview both scopes, verify\neach release independently, and do not infer any additional mirror or sidecar.\n</code></pre>\n<h3 id=\"pitfalls\">Pitfalls</h3>\n<ul>\n<li><strong>Owner assumed from environment:</strong> working credentials do not select a target.</li>\n<li><strong>Merge called release:</strong> prove the tag/deploy/catalog and install path.</li>\n<li><strong>Branch copy called publication:</strong> installer discovery must read the merged\nsource, not an indexed feature branch or cache.</li>\n<li><strong>Silent external propagation:</strong> mirrors, websites, private plugins, sidecars,\nand local-global installations require explicit user mention.</li>\n<li><strong>Root <code>SKILL.md</code>:</strong> some installers stop discovery there; follow the target&#39;s\nactual multi-skill layout.</li>\n<li><strong>Description drift:</strong> package README/catalog copy must match frontmatter where\nthe target enforces it.</li>\n<li><strong>Id renamed in a minor release:</strong> where a skill declares <code>## Bindings</code>, its\nbinding-slot, hard-line and step ids are what projects adapt it by, so renaming\nor removing one is a major change for that skill, in whichever version the\nrepository releases it under, and the release notes name every id that moved.</li>\n<li><strong>README/changelog treated as cleanup:</strong> catalogue README, human release notes,\nand actionable update guidance are release artifacts, not optional follow-up.</li>\n<li><strong>Review of stale head:</strong> only current-head evidence satisfies the gate.</li>\n<li><strong>Local copy used as proof:</strong> verify published source and isolated install.</li>\n<li><strong>One plane called all planes:</strong> global, project, native-plugin, copied,\nsymlinked, manual/upload, remote, and unsupported clients have independent\nfreshness and completion states.</li>\n<li><strong>Index cache ambiguity:</strong> report the authoritative source separately from\ndelayed third-party indexes.</li>\n</ul>\n<h3 id=\"verification\">Verification</h3>\n<ul>\n<li><input disabled=\"\" type=\"checkbox\"> Primary repository, owner, branch, layout, and release target were discovered.</li>\n<li><input disabled=\"\" type=\"checkbox\"> Tests failed before authoring and pass after implementation.</li>\n<li><input disabled=\"\" type=\"checkbox\"> Frontmatter, links, carried files, catalog, generators, and full checks pass.</li>\n<li><input disabled=\"\" type=\"checkbox\"> Repository/catalogue README lists the skill and exact install/update path.</li>\n<li><input disabled=\"\" type=\"checkbox\"> Human release notes explain outcomes, compatibility, and who should update.</li>\n<li><input disabled=\"\" type=\"checkbox\"> Published update guidance encourages adoption without mutating unrequested\nlocal targets.</li>\n<li><input disabled=\"\" type=\"checkbox\"> Required review is clean for the exact current head.</li>\n<li><input disabled=\"\" type=\"checkbox\"> Merge, release, and deployment/indexing states are reported separately.</li>\n<li><input disabled=\"\" type=\"checkbox\"> Main-branch source and release were read back.</li>\n<li><input disabled=\"\" type=\"checkbox\"> CLI discovery and isolated install report exact skill identity and provenance.</li>\n<li><input disabled=\"\" type=\"checkbox\"> Every explicitly requested local plane was inventoried before mutation.</li>\n<li><input disabled=\"\" type=\"checkbox\"> A deduplicated target manifest was presented before every local write.</li>\n<li><input disabled=\"\" type=\"checkbox\"> Managed updates preserved scope, source, agent set, and copy/symlink form.</li>\n<li><input disabled=\"\" type=\"checkbox\"> Upstream-missing skills are removal candidates requiring separate destructive\nconfirmation, not ordinary update deletions.</li>\n<li><input disabled=\"\" type=\"checkbox\"> Without a comparable authoritative version/ref/digest, freshness is\n<code>unknown</code>, never inferred from command success or timestamps.</li>\n<li><input disabled=\"\" type=\"checkbox\"> Native, manual, remote, and unsupported channels have independent outcomes.</li>\n<li><input disabled=\"\" type=\"checkbox\"> Installed bytes/version/namespace were read back and affected runtimes were\nrestarted or reloaded where required.</li>\n<li><input disabled=\"\" type=\"checkbox\"> Every user-mentioned external target has an independent verified state.</li>\n<li><input disabled=\"\" type=\"checkbox\"> No unmentioned private, external, mirror, website, sidecar, or local-global\ntarget was modified.</li>\n</ul>\n","outline":["When to Use","Publication Authority","Prerequisites","Procedure","All-plane Local Synchronization","Usage Examples","Pitfalls","Verification"],"words":2161}
