Skip to content
Release engineering

Shipping Across npm, GitHub, and Agent Hosts Without Pretending It Is Atomic

An agent skill for Codex and Claude Code that coordinates validation, packaging, publication, release, and consumer verification when shipping Agent Skills.

Get release-agent-skill on npm
2 min read0 comments
Website

Validate, pack, publish, release and verify as separate proven stages

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.

Working through a similar challenge?

Share your context, constraints, and timeline to start a focused conversation.