publish-github-release

A release guide for shipping a new project version through GitHub, including updating version files, creating changelog entries, and publishing a release.

In plain words
What is it for?
Use it to bump versions, generate a changelog entry from commits, create a Git tag, and publish a GitHub release when the project meets its release conditions.
Why use it?
It adds pre-release checks so unfinished, uncommitted, or incorrectly based work is less likely to be shipped.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/iampantherr/securecontext/publish-github-release
Any agent
npx skills add iampantherr/SecureContext --skill publish-github-release
Clone the repo
git clone --depth 1 https://github.com/iampantherr/SecureContext

Made for: Claude Code, Codex.

Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,669 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00099 $0.01669
Opus 5 $0.00049 $0.00834
Sonnet 5 $0.00020 $0.00334
Haiku 4.5 $0.00010 $0.00167

Measured 2d ago against content hash 0771028ae22e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

publish-github-release scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/bump-version.py, scripts/create-release.sh, scripts/preflight.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

examples/skills/publish-github-release/SKILL.md · 171 lines

How it starts

The opening of the file, as written. The whole thing — 171 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Publish a GitHub release

Generic procedure for shipping a new version of a project. Reads project-specific config from <project>/.publish-github-release-config.json if present (see references/config-schema.md).

When to use

Trigger phrases (literal words the user might type):

  • "ship v1.2.3"
  • "release"
  • "tag a new version"
  • "publish"
  • "cut a release"
  • "make a new release"
  • "bump version and release"
  • "deploy this release to github"

Auto-detect trigger: if CHANGELOG.md has a ## [Unreleased] heading with entries underneath, and the agent has just finished a coherent unit of work, suggest invoking this skill.

DO NOT use this for:

  • Patch increments without code changes (use npm version patch directly).
  • Pre-release / RC builds (use the prerelease-tag skill instead — coming in a later release).
  • Repos with no GitHub remote (the skill assumes gh CLI auth and a remote named origin pointing at GitHub).

Procedure

Step 1 — Preflight gates

Run scripts/preflight.py. Reads project config; fails fast on:

  • Working tree dirty (uncommitted changes)
  • Branch is not on main (or whatever config.main_branch says)
  • Local is behind remote on main (would force-push)
  • CI is currently red on the head commit
  • package.json version doesn't match the previous CHANGELOG entry header

Exits 0 = ready to release. Non-zero = stop and surface the failure to the operator.

Step 2 — Bump version everywhere

Run python scripts/bump-version.py --kind {major|minor|patch} (or --version 1.2.3 for an explicit version). Reads config.version_files and atomically rewrites the version string in each. Default version-bearing files:

  • package.json (.version)
  • Plus anything listed in <project>/.publish-github-release-config.json's version_files. SecureContext for example lists [package.json, src/config.ts, .claude-plugin/plugin.json].

Refuses to bump if the new version is already a tag.

Step 3 — Regenerate the CHANGELOG entry

Read the full file on GitHub · 171 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 171 lines · 99 tokens per session scan A 0771028ae22e

Subscribe to this mod's changes

publish-github-release is a skill published in the GitHub repository iampantherr/SecureContext (8 stars, last pushed 2d ago), licensed MIT. It adds 99 tokens to every session and 1,669 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.