/github-actions-plugin:release-artifact-verificationfrom github-actions-plugin
Verifies that a release artifact is actually downloadable at its public address before announcing a release. Catches split publish jobs, source-tree shadowing, and unsmoked images.
Ships in github-actions-plugin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Promoted from the always-loaded release-artifact-verification.md portfolio
rule, whose stub keeps the gate lines.
A release "succeeded" when the thing you released is downloadable by someone else. Every intermediate signal — a green workflow badge, a published GitHub release, a version tag, a passing check — is a claim about mechanics, and each can be true while nothing shipped. Verify the artifact at its public address, from outside your own tree, in the same breath you announce the release.
Canonical break (2026-08, pal-mcp-server):
publish-pypihad failed on every release since it was added — 10.2.2, 10.3.0, 10.4.0, 10.4.1, 10.4.2 — and the package had never existed on PyPI. A month of releases, each one green where anyone would look.
| Use this skill when... | Use something else when... |
|---|---|
| About to say "released" or "shipped" | A release-please PR is stuck or conflicting → git-plugin:release-please-pr-workflow |
| Wiring or reviewing a publish job | A red check needs its error extracted → github-actions-inspection |
| Checking an installed version by hand | Choosing Dockerfile structure → container-plugin:container-development |
| Adding a container build that pushes to a registry |
release-please (and most release pipelines) cuts the tag and the GitHub release in one job and publishes artifacts in another. When the publish job fails, the tag exists, the GitHub release page renders perfectly, the changelog is updated, and the notification says a release happened. The only red is one job inside a run nobody opens.
curl -s -o /dev/null -w '%{http_code}\n' https://pypi.org/pypi/<pkg>/json # 200
curl -s https://pypi.org/pypi/<pkg>/json | jq -r .info.version # the version you cut
gh api users/<owner>/packages/container/<pkg>/versions --jq '.[0].metadata.container.tags'
npm view <pkg> version
gh api repos/<o>/<r>/actions/runs/<id>/jobs --jq '.jobs[] | {name, conclusion}'
An install check run inside the project directory can resolve the local
working copy instead of the artifact you just published, and report a
plausible-but-wrong version. python -c puts the cwd on sys.path, so a stale
*.egg-info/ or a source package in the repo root shadows the installed
distribution.
# Wrong — cwd is the repo root; reads the stale local egg-info
$ .venv/bin/python -c "import importlib.metadata as m; print(m.version('pkg'))"
10.4.1 # ← the version from ./pkg.egg-info/PKG-INFO
# Right — neutral cwd, and confirm the dist-info the venv actually holds
$ cd /tmp && /path/.venv/bin/python -c "import importlib.metadata as m; print(m.version('pkg'))"
10.4.3
$ ls /path/.venv/lib/python*/site-packages | grep 'pkg.*dist-info'
pkg-10.4.3.dist-info
Generalises past Python: node_modules resolution walks upward, cargo
prefers a path override, go honours a replace directive. The rule is to
verify in a directory that has no relationship to the source, and to confirm
against the installed metadata (dist-info, package.json in node_modules)
rather than an import that could have come from anywhere.
The failure is silent and reads as a real result — same family as
agent-patterns-plugin:probe-input-integrity: a broken harness and a genuine
finding produce identical-looking output.
passPath-filtered CI checks (file-patterns, paths:) complete in 4–6 seconds
having analysed nothing, and report success. A sibling PR's green tick is not a
control unless it actually executed. Full treatment in
github-actions-plugin:ai-review-max-turns § "a check that never ran looks
exactly like a pass"; noted here because it is the third way a release looks
verified and isn't.
A docker build that succeeds proves the layers assembled, not that anything
inside can start. A pipeline that builds and pushes without ever executing the
entrypoint will publish an image whose every import fails, report success, and
deploy it.
Example: a dependency-bot PR moves a multi-stage image's runtime stage to
python:3.14-alpinewhile the builder stage stays on 3.12. The venv copied between stages keeps its packages inlib/python3.12/, so the 3.14 interpreter drops/app/.venvfromsys.pathentirely. Every service built from it crash-loops for days, hundreds of restarts each, while build, push, release, and every CI check stay green — nothing in the pipeline ever ran the image.
load: true, run the entrypoint, then push. A broken image never reaches
the registry, so there is nothing to roll back.import <pkg> alone can pass
for the wrong reason; assert the venv is actually on the path:
assert [p for p in sys.path if "/app/.venv/" in p].docker run needs -i or the check is vacuous. Without it docker does not
forward stdin, so a heredoc-fed docker run --rm IMG python - reads an empty
script and exits 0 having asserted nothing — the gate then passes on every
image, including a deliberately broken one:
docker run --rm -i "$IMAGE" /app/.venv/bin/python - <<'EOF'
This is the same family as §2 and agent-patterns-plugin:probe-input-integrity
§ an inert stub means the real tool ran: the harness is green while measuring
nothing. It was caught only by running the finished gate against a known-bad
image and requiring it to fail — do that before trusting any gate you just
wrote.
Two lags after a PyPI upload turn the § 1 check into a false "not shipped" or a false "shipped" (first release of a new project, 2026-11-25).
pypi.org/pypi/<pkg>/json
returned 404, cache-busting headers and query strings included, while the
simple index already listed the release with its wheel and sdist. Installers
read the simple index, so verify against it and treat a JSON-API 404 for a
project created minutes earlier as lag:
curl -s -H 'Accept: application/vnd.pypi.simple.v1+json' https://pypi.org/simple/<pkg>/ | jq -e --arg v <version> '.versions | index($v) != null'
UV_CACHE_DIR=$(mktemp -d) uvx --refresh <pkg>@latest installed the old
release, exited 0 and started; a run shortly after installed the new one. A
smoke test that checks only "it runs" passes either way, so assert the
installed version before judging behaviour (from a neutral cwd, per § 2):
uvx --from <pkg>@latest python -c "import importlib.metadata as m; print(m.version('<pkg>'))"
If it prints the old version, wait a few minutes and retry with a fresh
UV_CACHE_DIR before calling the release broken.Before saying "released", answer: "What URL would a stranger fetch to get this, and have I fetched it?" If the answer cites a workflow badge, a tag, or a GitHub release page, you have verified the mechanics and not the outcome.
github-actions-plugin:multirepo-ci-cd — a re-run replays the stale workflow,
so re-running a failed publish after merging its fix does not test the fixgithub-actions-plugin:ai-review-max-turns — the skipped-check-reports-pass
trap in fullmigration-patterns-plugin:tool-migration-cutover — the same law before the
fact: removal is gated on a positive operational signal, not on config being
presentgit-plugin:git-merge-hazards — "exit 0 is a claim about mechanics, not
content", of which this skill is the release-time instanceWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub laurigates/claude-plugins --plugin github-actions-plugin11 skills in this plugin
/actions-billing-usageMeasure GitHub Actions cost with the billing-usage API — per repo, month and SKU; net vs gross; per-job rounding; budgets and their hard stop. Use when optimizing CI cost or speed, before removing a workflow as expensive, or when jobs fail with zero steps because a budget ran out./ai-review-max-turnsTriage a red Claude-powered CI review check. Use when an AI review job fails or flakes: tell a real unpublished finding from turn-budget or ceiling overruns and infra reruns via subtype + is_error./claude-code-github-workflowsOther plugins' skills for the same job