testagent: Skill for Claude Code

.claude/skills/publish-release/SKILL.md

publish-release is a skill for Claude Code from paultyng/testagent. It costs 50 tokens per session (1,753 once invoked), scanned A, original, MIT.

A release assistant for the testagent project. It follows the project's documented process to choose a version, prepare release notes, tag the code, monitor continuous integration checks and publish the release.

In plain words
What is it for?
It helps compare changes with the previous release, apply semantic versioning rules, draft release notes, create a tag, watch CI and publish approved notes. Semantic versioning is a convention for choosing version numbers based on the kind of change.
Why use it?
It turns a multi-step release procedure into a guided workflow and stops when required checks fail.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter. Also seen: mentions Codex.

This is paultyng/testagent's own configuration. It tells Claude Code how to work on testagent itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything testagent configures →

Reuse

Borrowing it

Nothing to install: this file belongs to paultyng/testagent. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/paultyng/testagent/main/.claude/skills/publish-release/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/paultyng/testagent

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/paultyng/testagent/publish-release"><img src="https://agentmods.dev/badge/skills/paultyng/testagent/publish-release.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,753 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.00050 $0.01753
Opus 5.5 $0.00020 $0.00701
Sonnet 5.5 $0.00010 $0.00351
Haiku 4.5 $0.00005 $0.00175

Measured 1mo ago against content hash 12995bdaa213, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

publish-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.

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.

.claude/skills/publish-release/SKILL.md · 213 lines

How it starts

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

publish-release

Execute the release process documented in RELEASING.md. RELEASING.md is the policy source-of-record: semver scope, the bump table keyed to testagent's public surface, two runbooks, recovery branches. This skill is the executor: it cites RELEASING.md sections by anchor, performs each step, and gates on the one combined decision a human must own (version number + release-notes copy).

1. Preflight

git checkout main
git pull --ff-only
git status --porcelain     # must be empty
task ci                    # full local build + lint + test
gh auth status             # GH_TOKEN scope: repo

Identify the previous tag:

PREV=$(git describe --tags --abbrev=0)

If any preflight step fails, stop and report. Do not proceed — release should always cut from a clean, green main.

2. Surface diff + bump analysis

Run the surface-touching diff from RELEASING.md § Pre-tag checklist:

git log $PREV..HEAD --oneline
git diff $PREV..HEAD -- main.go cmd/ internal/slash/slash.go \
  internal/hooks/hooks.go cmd/claude/print.go

Group commit subjects by Conventional Commits type (feat:, fix:, refactor:, chore:, docs:, ci:, test:, BREAKING CHANGE:). For each surface-touching change, map to the bump table at RELEASING.md § Semver policy.

  • Any BREAKING CHANGE: footer or ! in the subject → major (but see the v0.x clamp below).
  • New flag / slash command / hook event / public surface → minor.
  • Pure bug fix / internal refactor / docs / test → patch.

v0.x clamp: until v1.0.0, the project's convention is to clamp everything to patch unless the user explicitly overrides. New features still go in, just packaged as v0.Y.Z+1 not v0.Y+1.0. This trades semver-strictness for release cadence and is documented in RELEASING.md.

Output: proposed bump (patch / minor / major) with file-and- line evidence per category.

Read the full file on GitHub · 213 lines

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 · 213 lines · 50 tokens per session scan A 12995bdaa213

Subscribe to this mod's changes

publish-release is a skill published in the GitHub repository paultyng/testagent (7 stars, last pushed 1mo ago), licensed MIT. It adds 50 tokens to every session and 1,753 once invoked, about $0.0002 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.