release-versioning

release-versioning is a cursor rule for Cursor from sthamann/nyx-local-ai. It costs 426 tokens per session, scanned A, original, MIT.

A set of release rules for the nyx-local-ai project, covering version changes, documentation updates, package checks, and VSIX release hygiene. A VSIX is the installable package format for a Visual Studio Code extension.

In plain words
What is it for?
Use it when changing versions, preparing a package, checking its size, or releasing through the project's CI process.
Why use it?
It reduces release errors caused by mismatched versions, stale documentation, failed checks, or incorrectly prepared extension packages.

Cursor rule 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 rules/sthamann/nyx-local-ai/release-versioning
Clone the repo
git clone --depth 1 https://github.com/sthamann/nyx-local-ai

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

README.md
[![agentmods](https://agentmods.dev/badge/rules/sthamann/nyx-local-ai/release-versioning.svg)](https://agentmods.dev/rules/sthamann/nyx-local-ai/release-versioning)
Your own site
<a href="https://agentmods.dev/rules/sthamann/nyx-local-ai/release-versioning"><img src="https://agentmods.dev/badge/rules/sthamann/nyx-local-ai/release-versioning.svg" alt="Measured on agentmods" height="20"></a>
Per session 426 This file is loaded in full into every session.
When invoked 426 The same file — it is already loaded in full.
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.00426 $0.00426
Opus 5 $0.00213 $0.00213
Sonnet 5 $0.00085 $0.00085
Haiku 4.5 $0.00043 $0.00043

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

Security

Grade A, and why

release-versioning 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 5d 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/rules/release-versioning.mdc · 47 lines

What it actually says

Release & versioning

The repo slug is sthamann/nyx-local-ai — it appears in install.sh, install.ps1, README and package.json (scripts.package baseImagesUrl). Never introduce a different slug.

Version bump checklist (all three, always together)

  1. package.json"version"
  2. README.md → status line (**vX.Y.Z**) and every nyx-local-ai-X.Y.Z.vsix mention
  3. src/mcp/client.tsclientInfo.version

Quality gates before packaging

Run in this order; all must pass:

npm run typecheck
node .harness/smoke.mjs         # parser/edit logic — must print ALL PASS
node .harness/readme-check.mjs  # README/version sync — must print ALL PASS
npm run build
npm run package

The readme-check also catches missed version bumps (it verifies all three locations), so don't rely on sed output alone — seds fail silently.

Releasing

Releases are produced only by CI (.github/workflows/release.yml): git tag vX.Y.Z && git push origin vX.Y.Z builds and attaches nyx-local-ai.vsix + checksums.txt — the exact artifact names install.sh/install.ps1 download and verify. Never hand-upload artifacts.

VSIX size

The package must stay ≈4–6 MB. node_modules ships in the VSIX (tesseract.js is external), so when adding a runtime dependency, extend .vscodeignore to strip its dead weight and check the size vsce reports after npm run package. Dev-only dependencies (bundled by esbuild, e.g. marked, highlight.js) belong in devDependencies.

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. 5d ago First seen · 47 lines · 426 tokens per session scan A 6f35d7d05a77

Subscribe to this mod's changes

release-versioning is a cursor rule published in the GitHub repository sthamann/nyx-local-ai (137 stars, last pushed 1mo ago), licensed MIT. It adds 426 tokens to every session, about $0.0021 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.