cut-a-release

cut-a-release is a skill for Claude Code, Codex from Cantara/kcp-harness. It costs 0 tokens per session (496 once invoked), scanned A, original, Apache-2.0.

A governed release procedure for the kcp-harness project. It coordinates versioning, GitHub Actions workflows, native binaries, an archive, and npm publishing.

In plain words
What is it for?
Use it to prepare a versioned release, trigger the release workflow, verify builds and checksums, confirm the GitHub release, and monitor the npm publishing workflow.
Why use it?
It prevents releases from skipping required checks, creating duplicate tags, or publishing the wrong package version. It also specifies the order of the two workflow handoffs.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to prepare a versioned release, trigger the release workflow, verify builds and checksums, confirm the GitHub release, and monitor the npm publishing workflow.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cantara/kcp-harness/cut-a-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 Cantara/kcp-harness --skill cut-a-release
Clone the repo
git clone --depth 1 https://github.com/Cantara/kcp-harness

Made for: Claude Code, Codex.

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 cut-a-release

README.md
[![agentmods](https://agentmods.dev/badge/skills/cantara/kcp-harness/cut-a-release/github.svg)](https://agentmods.dev/skills/cantara/kcp-harness/cut-a-release)
Your own site
<a href="https://agentmods.dev/skills/cantara/kcp-harness/cut-a-release"><img src="https://agentmods.dev/badge/skills/cantara/kcp-harness/cut-a-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 cut-a-release

Your own site · 80×15
<a href="https://agentmods.dev/skills/cantara/kcp-harness/cut-a-release"><img src="https://agentmods.dev/badge/skills/cantara/kcp-harness/cut-a-release.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 496 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.
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.00000 $0.00496
Opus 5 $0.00000 $0.00248
Sonnet 5 $0.00000 $0.00099
Haiku 4.5 $0.00000 $0.00050

Measured 9d ago against content hash 2a2906197eb3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

cut-a-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 9d ago.

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.

skills/cut-a-release/SKILL.md · 34 lines

What it actually says

Cut a release

Governed skill: cut a kcp-harness release through its two-workflow handoff without skipping a step or double-tagging.

Preconditions

  • main is green (CI passing) at the commit you intend to release.
  • You know the target version (semver) and it is NOT already tagged (git ls-remote --tags origin to check).

Steps

  1. (edit) Bump version in package.json on a chore(release): vX.Y.Z commit merged to main first. release.yml does not do this for you, and ci.yml's publish step ships whatever package.json says at publish time.
  2. (bash) Trigger release.yml via gh workflow run release.yml -f version=vX.Y.Z -f target=main (or the Actions UI). This one workflow tags, cross-compiles native binaries for 5 targets, smoke-tests linux-x64, creates the GitHub release with binaries + SHA256SUMS.txt attached, and — as its LAST step — dispatches ci.yml on main for npm publish. Do not tag manually first: the workflow checks for an existing tag and no-ops the tag step if one is already pushed, but a hand-pushed tag just adds a race with no benefit.
  3. (read) Watch the release run to completion, then confirm ci.yml's publish job (triggered by that hand-off, not by the tag push) went green.

Verification

npm view kcp-harness version equals the tag you cut, the GitHub release has 5 binaries plus SHA256SUMS.txt, and the ci.yml publish job dispatched by release.yml is green.

Rollback

If the tag/release built but npm publish failed: fix forward, do not delete or move the pushed tag — re-run ci.yml via workflow_dispatch once the issue is fixed. If step 1 was skipped (version not bumped): npm publish --provenance will fail as a duplicate version — bump package.json, commit to main, and re-dispatch ci.yml.

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. 9d ago First seen · 34 lines · 0 tokens per session scan A 2a2906197eb3

Subscribe to this mod's changes

cut-a-release is a skill published in the GitHub repository Cantara/kcp-harness (0 stars, last pushed 15d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 496 tokens. 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.