Borrowing it
Nothing to install: this file belongs to sprine/ontario-data-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/sprine/ontario-data-mcp/main/.claude/commands/release.mdgit clone --depth 1 https://github.com/sprine/ontario-data-mcpWrote 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.
[](https://agentmods.dev/commands/sprine/ontario-data-mcp/release)<a href="https://agentmods.dev/commands/sprine/ontario-data-mcp/release"><img src="https://agentmods.dev/badge/commands/sprine/ontario-data-mcp/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.
<a href="https://agentmods.dev/commands/sprine/ontario-data-mcp/release"><img src="https://agentmods.dev/badge/commands/sprine/ontario-data-mcp/release.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00016 | $0.01226 |
| Opus 5.5 | $0.00006 | $0.00490 |
| Sonnet 5.5 | $0.00003 | $0.00245 |
| Haiku 4.5 | $0.00002 | $0.00123 |
Grade C, and why
release 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 2mo 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 dist && uv build How it starts
The opening of the file, as written. The whole thing — 164 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Release
Bump the version, run tests, commit, push, and publish to PyPI.
The first argument is the bump type: patch (default), minor, or major.
Everything after the bump type is used as the commit message body. If no message is provided, generate one from the staged and unstaged changes.
Steps
1. Preflight checks
Verify the working tree is ready for release. Stop immediately if any check fails.
# Must be on main
[ "$(git branch --show-current)" = "main" ] || { echo "ERROR: not on main"; exit 1; }
# Working tree must be clean (no staged or unstaged changes)
git diff --quiet && git diff --cached --quiet || { echo "ERROR: dirty working tree"; exit 1; }
2. Determine version bump
Parse $ARGUMENTS for the bump type. Default to patch if not specified or if the first word isn't patch/minor/major.
Read the current version from pyproject.toml and compute the new version:
patch: 0.1.7 → 0.1.8minor: 0.1.7 → 0.2.0major: 0.1.7 → 1.0.0
Verify the tag v{new_version} does not already exist:
git tag -l "v{new_version}" | grep -q . && { echo "ERROR: tag v{new_version} already exists"; exit 1; }
3. Run tests
uv run pytest
Stop immediately if any tests fail. This covers:
- All unit tests
- Doc-accuracy checks (tool/resource counts, licence attribution, version consistency)
4. Live smoke test (optional)
uv run pytest -m live --live -v
This runs tests/test_live_smoke.py and tests/test_arcgis_smoke.py against real government APIs. Stop if any assertion fails.
Skip if the APIs are down or you're releasing a docs-only change.
5. Build
Build early so a failure doesn't leave a tagged commit with no PyPI release.
rm -rf dist && uv build
6. Bump version and update changelog
Edit pyproject.toml to set the new version. Then update the lockfile:
uv lock && uv sync
Add a new entry to CHANGELOG.md at the top (below the header). Follow the existing format:
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.
- 2mo ago First seen · 164 lines · 16 tokens per session scan C 1012b3d4e4ef
release is a command published in the GitHub repository sprine/ontario-data-mcp (1 stars, last pushed 12d ago), licensed MIT. It adds 16 tokens to every session and 1,226 once invoked, about $0.0001 per session on Opus 5.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.
release compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| releasesprine/ontario-data-mcp | Command | 1 | 12d ago | MIT | C | 16 | Claude Code |
| landgmickel/flow-next | Command | 717 | yesterday | MIT | A | 13 | Claude Code |
| qualityDesko77/claude-code-skills-1c | Command | 90 | yesterday | MIT | A | 18 | Claude Code |
| release-notesOpenHands/extensions | Command | 176 | yesterday | MIT | A | 44 | Claude Code |
| release-managerruvnet/agentic-flow | Command | 838 | yesterday | none | A | 0 | Claude Code |
| create-prdsswift/ion | Command | 5 | 2d ago | MIT | A | 28 | Claude Code |
| rally-merge-prddgonzal3/rally | Command | 6 | 3d ago | MIT | A | 0 | Claude Code |