Borrowing it
Nothing to install: this file belongs to mamertofabian/maid-runner-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/mamertofabian/maid-runner-mcp/main/.claude/commands/pypi-release.mdgit clone --depth 1 https://github.com/mamertofabian/maid-runner-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/mamertofabian/maid-runner-mcp/pypi-release)<a href="https://agentmods.dev/commands/mamertofabian/maid-runner-mcp/pypi-release"><img src="https://agentmods.dev/badge/commands/mamertofabian/maid-runner-mcp/pypi-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/mamertofabian/maid-runner-mcp/pypi-release"><img src="https://agentmods.dev/badge/commands/mamertofabian/maid-runner-mcp/pypi-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.00011 | $0.00979 |
| Opus 5 | $0.00005 | $0.00490 |
| Sonnet 5 | $0.00002 | $0.00196 |
| Haiku 4.5 | $0.00001 | $0.00098 |
Grade C, and why
pypi-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 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.
- Clean old artifacts: `rm -rf dist/ build/ *.egg-info` How it starts
The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PyPI Release Automation
Automate the complete PyPI release process including version bumping, changelog updates, building, and publishing via GitHub Actions.
Your Task
Prepare and publish a new PyPI release for this project. Follow these steps:
-
Determine Version Number
- Read current version from
pyproject.toml - Check recent commits since last release:
git log --oneline -20 - Determine version bump type: $ARGUMENTS (default: patch)
- patch (0.1.2 → 0.1.3): Bug fixes, documentation, minor changes
- minor (0.1.2 → 0.2.0): New features, backward-compatible
- major (0.1.2 → 1.0.0): Breaking changes
- Calculate new version number
- Read current version from
-
Run Code Quality Checks
- Run all quality checks FIRST:
make lint # Fix any linting errors first make format # Format code make test # Run all tests - MUST PASS - If any checks fail, STOP and report errors to user
- Use
TodoWriteto track progress
- Run all quality checks FIRST:
-
Update Version and Changelog
- Update version in
pyproject.toml - Update
CHANGELOG.md:- Add new version section with today's date (2025-11-29 format)
- Categorize changes under: Fixed, Added, Changed, Removed
- Update comparison links at bottom
- Review git commits to write accurate changelog entries
- Update version in
-
Build Distribution Packages
- Clean old artifacts:
rm -rf dist/ build/ *.egg-info - Build packages:
python -m build - Verify artifacts:
ls -lh dist/ - Check contents:
tar -tzf dist/*.tar.gz | head -30 - Validate with twine:
python -m twine check dist/*
- Clean old artifacts:
-
Automated Release via GitHub Actions
- Stage and commit changes:
git add pyproject.toml CHANGELOG.md git commit -m "chore: bump version to X.Y.Z for release - [Summary of key changes] - [One-line descriptions]" - Push to main:
git push origin main - Create and push version tag:
git tag vX.Y.Z git push origin vX.Y.Z - Monitor GitHub Actions workflow:
gh run list --limit 2 sleep 60 && gh run list --limit 2
- Stage and 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.
- 10d ago First seen · 103 lines · 11 tokens per session scan C 8e61e42e2d08
pypi-release is a command published in the GitHub repository mamertofabian/maid-runner-mcp (0 stars, last pushed 5mo ago), licensed MIT. It adds 11 tokens to every session and 979 once invoked, about $0.0001 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.
Other commands, from other repositories
release
Prepare and execute a Python package release with verification steps.
uv-publish
A command for publishing a Python package with uv, a Python tool for managing projects and dependencies, to PyPI, the main public package repository.
create_project
Create a new project from template with uv and Git initialization.
cargo-publish
Command "cargo-publish" from olorehq/olore, covering cargo-publish(1), name, synopsis, description and options.
cargo-yank
Command "cargo-yank" from olorehq/olore, covering cargo-yank(1), name, synopsis, description and how yank works.
release
Automates the release preparation and CI/CD handoff process.