publish-github-release

publish-github-release is a skill for Claude Code from iampantherr/SecureContext. It costs 99 tokens per session (1,669 once invoked), scanned A, original, MIT.

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 Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions .claude-plugin.

Part of the zc-ctx plugin — 27 skills shipped together

Good fit 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.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/iampantherr/securecontext/publish-github-release
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.

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.

Or install zc-ctx, the plugin that ships this one along with the rest of its 27 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for publish-github-release

README.md
[![agentmods](https://agentmods.dev/badge/skills/iampantherr/securecontext/publish-github-release/github.svg)](https://agentmods.dev/skills/iampantherr/securecontext/publish-github-release)
Your own site
<a href="https://agentmods.dev/skills/iampantherr/securecontext/publish-github-release"><img src="https://agentmods.dev/badge/skills/iampantherr/securecontext/publish-github-release/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for publish-github-release

Your own site · 80×15
<a href="https://agentmods.dev/skills/iampantherr/securecontext/publish-github-release"><img src="https://agentmods.dev/badge/skills/iampantherr/securecontext/publish-github-release.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 152
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
How audits are shown
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.1 $0.00099 $0.01669
Opus 5.5 $0.00040 $0.00668
Sonnet 5.5 $0.00020 $0.00334
Haiku 4.5 $0.00010 $0.00167

Measured 1mo ago against content hash 0771028ae22e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 10d ago), licensed MIT. It adds 99 tokens to every session and 1,669 once invoked, about $0.0004 per session on Opus 5.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.

Related

Other skills, from other repositories

github-repo-care

Protocol for safely creating, publishing, releasing, auditing, and maintaining GitHub repositories: check local rules and locks, create .gitignore before the first add, run privacy checks, prepare README/i18n/banner/metadata, verify release tags and GitHub releases, and update organization profiles, llms.txt files…

ellmos-ai/skills · 72 tokens

github-cli

A command-line tool connection for GitHub tasks that built-in tools do not cover. It uses GitHub's command-line program to work with issues, pull requests, releases, workflows, searches, and the GitHub API.

zhinjs/zhin · 30 tokens

release-docs

Diff-driven documentation sync after a release. Determines what source files changed, delegates changelog to zuvo:docs, updates only docs whose source changed. Flags: --dry-run, explicit range argument.

greglas75/zuvo · 44 tokens

release

Cut a new release: group Conventional Commits since the last tag, append a CHANGELOG section, create a release commit, and add an annotated git tag. TRIGGER when the user says "cut a release", "tag a release", "release v1.2.0", "ship version 1.2.0", "create a release for 1.2.0", "bump the version to 1.2.0", "make a…

thettwe/nyann · 207 tokens

github-release-management

Comprehensive GitHub release orchestration with AI swarm coordination for automated versioning, testing, deployment, and rollback management.

ruvnet/agentic-flow · 27 tokens

hotfix

Set up the branch topology for a patch release against a previously tagged version: ensures release/ . exists from the source tag, then creates hotfix/ off it. TRIGGER when the user says "hotfix v1.0.0", "patch the release", "I need to fix something in the v2 line", "create a hotfix branch", "/nyann:hotfix". Match…

thettwe/nyann · 172 tokens