/release

/release is a command for Cursor from DataCovey/nornweave. It costs 23 tokens per session (616 once invoked), scanned A, original, Apache-2.0.

A release procedure for NornWeave, a software project, that prepares a new version for publication. It updates the version file and changelog, creates a Git tag, and pushes the release.

In plain words
What is it for?
Use it when publishing a specified semantic version such as 0.1.5. It moves unreleased changes into a dated changelog section, creates a fresh Unreleased section, updates the lockfile, tags the commit, and pushes it.
Why use it?
It removes repetitive release bookkeeping and keeps the version number, change history, comparison links, and Git repository in agreement. It also checks that the requested version is valid and different from the current one.

Command for Cursor

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 commands/datacovey/nornweave/release
Clone the repo
git clone --depth 1 https://github.com/DataCovey/nornweave

Made for: Cursor.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/datacovey/nornweave/release.svg)](https://agentmods.dev/commands/datacovey/nornweave/release)
Your own site
<a href="https://agentmods.dev/commands/datacovey/nornweave/release"><img src="https://agentmods.dev/badge/commands/datacovey/nornweave/release.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 616 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.00023 $0.00616
Opus 5 $0.00012 $0.00308
Sonnet 5 $0.00005 $0.00123
Haiku 4.5 $0.00002 $0.00062

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

Security

Grade A, and why

/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 4d 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.

.cursor/commands/release.md · 63 lines

What it actually says

Create a new release for NornWeave.

Input: The user MUST provide a version number (e.g., /release 0.1.5). If no version is provided, use the AskQuestion tool to prompt for it. Show the current version from pyproject.toml as context in the prompt.

Steps

  1. Validate the version number

    • Read pyproject.toml and extract the current version
    • Confirm the new version is different from the current one
    • Confirm the new version follows semver (e.g., 0.1.5, 1.0.0)
    • If invalid, ask for a corrected version
  2. Update pyproject.toml

    Replace the version = "..." line with the new version number. Also update UV lockfile.

  3. Update CHANGELOG.md

    • Read the current CHANGELOG.md
    • Move everything under ## [Unreleased] into a new ## [<version>] - <today's date YYYY-MM-DD> section
    • Insert a fresh empty ## [Unreleased] section at the top with placeholder subsections (Added, Changed, Deprecated, Removed, Fixed, Security — each with - (None yet))
    • Update the comparison links at the bottom of the file:
      • Change [Unreleased] link to compare from the new tag: v<version>...HEAD
      • Add a new link for the version: v<previous>...v<version>
  4. Commit, tag, and push

    Run these commands sequentially:

    git add pyproject.toml CHANGELOG.md
    git commit -m "chore: release <version>"
    git tag -a v<version> -m "Release <version>"
    git push origin main
    git push origin v<version>
    
  5. Show summary

    Display:

    • Previous version → new version
    • Commit hash
    • Tag name
    • Confirm push succeeded
    • Link to the GitHub releases page: https://github.com/DataCovey/nornweave/releases/tag/v<version>

Guardrails

  • Always validate the version number before making any changes
  • Never skip the pyproject.toml update
  • If the ## [Unreleased] section has no meaningful entries (only - (None yet) placeholders), warn the user and ask for confirmation before proceeding
  • If the tag already exists locally or on the remote, warn and ask how to proceed (delete and recreate, or abort)
  • Do not amend existing commits — always create a fresh commit
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. 4d ago First seen · 63 lines · 23 tokens per session scan A 6aee105c16f8

Subscribe to this mod's changes

/release is a command published in the GitHub repository DataCovey/nornweave (27 stars, last pushed 3d ago), licensed Apache-2.0. It adds 23 tokens to every session and 616 once invoked, about $0.0001 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-30.