OPOS: Skill for Claude Code

.claude/skills/release-from-changelog/SKILL.md

release-from-changelog is a skill for Claude Code from Koroqe/OPOS. It costs 32 tokens per session (1,844 once invoked), scanned C, original, MIT.

A release command that reads a version section from CHANGELOG.md and creates the matching GitHub release.

In plain words
What is it for?
Use it when publishing a version such as `v0.2.0`, optionally choosing the Git branch and GitHub repository to release from.
Why use it?
It replaces the manual work of extracting release notes and checking the release target with one repeatable process.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: positional $N argument.

This is Koroqe/OPOS's own configuration. It tells Claude Code how to work on OPOS 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 OPOS configures →

View source ↗ Koroqe/OPOS
Reuse

Borrowing it

Nothing to install: this file belongs to Koroqe/OPOS. 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/Koroqe/OPOS/main/.claude/skills/release-from-changelog/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Koroqe/OPOS

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/koroqe/opos/release-from-changelog"><img src="https://agentmods.dev/badge/skills/koroqe/opos/release-from-changelog.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,844 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00032 $0.01844
Opus 5 $0.00016 $0.00922
Sonnet 5 $0.00006 $0.00369
Haiku 4.5 $0.00003 $0.00184

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

Security

Grade C, and why

release-from-changelog scanned grade C with 1 finding 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 10d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf /tmp/opos-prerelease-check
.claude/skills/release-from-changelog/SKILL.md · 106 lines

How it starts

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

release-from-changelog

When to use

When cutting a new version release. Replaces the multi-step manual workflow (extract section via awk → check no-existing-release → gh release create --notes-file) with one skill invocation. Canonicalizes the same awk pattern documented in MAINTAINER.md.

Inputs

  • version — the release tag, e.g. v0.2.0. Required.
  • target_branch — git ref to tag the release against. Default: current branch ($(git rev-parse --abbrev-ref HEAD)).
  • repoowner/name. Default: read from .claude/task-tracking.config.json repo field.

Steps

  1. Verify CHANGELOG.md has the version entry. grep -F "## [<version-without-v>]" CHANGELOG.md must return a match. If not, ABORT with message: "no ## [<version>] heading found in CHANGELOG.md".

  2. Extract the section to a temp file via the canonical awk pattern from MAINTAINER.md:

    awk '/^## \['"$VERSION_NO_V"'\]/{p=1;print;next} /^## \[/{p=0} /^\[[0-9]/{p=0} p' CHANGELOG.md > /tmp/release-notes-"$VERSION".md
    

    The p=1;print;next clause starts capturing; the /^## \[/{p=0} clause stops at the next version heading; the /^\[[0-9]/{p=0} clause stops at the link-reference block at file bottom.

  3. Verify extract non-empty: test -s /tmp/release-notes-"$VERSION".md. If empty (the awk pattern didn't find content), ABORT with "extracted notes empty — check CHANGELOG format".

  4. Verify no existing release with this version (INVERTED exit-code logic — gh release view returns 0 when release EXISTS, which we don't want):

    if gh release view "$VERSION" --repo "$REPO" > /dev/null 2>&1; then
      echo "ERROR: release $VERSION already exists" >&2
      exit 1
    fi
    
  5. Pre-release scaffold check (added v0.3.1; auto-install dev-deps added v0.7.2). Before tagging, verify the working tree scaffolds cleanly via Copier. First, ensure pinned Python dev-deps are installed — this catches the v0.7.0 + v0.7.1 fresh-machine failure mode where copier itself was missing/broken:

    # v0.7.2: ensure dev-deps are pinned/installed BEFORE the scaffold check.
    # Prevents the "copier missing on fresh machine" failure mode that skipped
    # the v0.7.0 + v0.7.1 scaffold checks. Warn-and-continue on pip failure so
    # the release pipeline isn't held hostage by a broken pip.
    pip install --quiet -r "$REPO_ROOT/requirements-dev.txt" || {
      echo "WARNING: pip install -r requirements-dev.txt failed. Falling back to"
      echo "         best-effort scaffold check (may also fail). Investigate after."
    }
    
    rm -rf /tmp/opos-prerelease-check
    python3 -m copier copy . /tmp/opos-prerelease-check \
      -d COMPANY_NAME=PreReleaseCheck --defaults --vcs-ref=HEAD
    rm -rf /tmp/opos-prerelease-check
    

    Assert exit 0. This catches Copier-side breakage (renamed templates, missing _skip_if_exists, stray .jinja files that shouldn't be templated, etc.) BEFORE the release is tagged. If this fails, ABORT — fix the scaffolding issue and re-run; do NOT proceed. Rationale: v0.3.0's first cut shipped broken templates because ui/templates/*.html.jinja files were being rendered by Copier instead of shipped verbatim, requiring a destructive delete-and-re-cut. This step would have caught it.

Read the full file on GitHub · 106 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. 10d ago First seen · 106 lines · 32 tokens per session scan C 94909f941632

Subscribe to this mod's changes

release-from-changelog is a skill published in the GitHub repository Koroqe/OPOS (2 stars, last pushed 9d ago), licensed MIT. It adds 32 tokens to every session and 1,844 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.