Why it was needed
Releasing a skill spans mutable local state and several independent remote systems. That makes partial success, version drift, and accidental publication easy, and an agent told to "ship" can easily do more than the maintainer intended.
Publishing, pushing, creating releases, deploying, and changing the catalog each need separate authorization. Codex and Claude Code require different install destinations but must share one portable payload. An immutable artifact may already exist when a later stage fails, so the release cannot be treated as atomic.
How it is built
A SKILL.md file guides the agent through each release stage, backed by deterministic preflight and release-gate references. An npm installer and package contract, verified by consumer-side tests, deliver the skill to both hosts.
Model release stages separately. Treating "ship" as blanket permission risks publishing or pushing without consent, so each stage is authorized on its own.
Validate host portability before creating immutable artifacts. A published npm version cannot be replaced, so problems with Codex or Claude Code installation must surface before anything is published.
Verify the installed consumer view after registry and release checks. Registry and release checks alone do not prove what a user installs. The extra gates cost time but give stronger end-to-end evidence.
The key decision: Model release stages separately.
What changed
Defined an authorization-aware release inventory and workflow. Built deterministic preflight checks. Implemented safe installation for both hosts with path, symlink, and rollback protections. Tested dry runs, replacement, package contents, and consumer contracts.
Agents can prepare a release without publishing anything. Agents execute only the stages the maintainer has authorized. Partial remote success is reported as partial rather than hidden. The tag, GitHub release, npm package, install command, and catalog state are verified from the consumer side.
My role: Agent workflow designer and automation engineer. Scope: Agent workflow, validation automation, and packaging.
