Borrowing it
Nothing to install: this file belongs to flz/iaqualink-py. 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/flz/iaqualink-py/master/.claude/commands/update-python-version.mdgit clone --depth 1 https://github.com/flz/iaqualink-pyWrote 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/flz/iaqualink-py/update-python-version)<a href="https://agentmods.dev/commands/flz/iaqualink-py/update-python-version"><img src="https://agentmods.dev/badge/commands/flz/iaqualink-py/update-python-version/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/flz/iaqualink-py/update-python-version"><img src="https://agentmods.dev/badge/commands/flz/iaqualink-py/update-python-version.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.00847 |
| Opus 5.5 | $0.00004 | $0.00339 |
| Sonnet 5.5 | $0.00002 | $0.00169 |
| Haiku 4.5 | $0.00001 | $0.00085 |
Grade A, and why
update-python-version 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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Update Python Version Command
You are tasked with updating the minimum Python version requirement across the entire codebase.
Input
The user will provide the new minimum Python version in the format "3.X" (e.g., "3.14", "3.15").
Steps to Execute
1. Validate Input
- Ensure the provided version is in the correct format (e.g., "3.14")
- Extract the old version from
pyproject.tomlby reading therequires-pythonfield
2. Search for All References
Search for all occurrences of the old Python version across the codebase. You must check at the very least:
pyproject.toml-requires-pythonfield.readthedocs.yml- Python version specification.github/workflows/*.yaml- Python version matrices and specificationsREADME.md- Badge and requirements sectionsdocs/index.md- Badge and requirements sectionsdocs/getting-started/installation.md- Requirements sectiondocs/contributing/setup.md- Prerequisites sectiondocs/contributing/architecture.md- Type hints referencesCLAUDE.md- Any version references
Use Grep to search for patterns like:
- The old version number (e.g., "3.13")
- Badge URLs containing the version (e.g., "python-3.13%2B")
- Version specifications in YAML files
3. Update All Files
Update ALL occurrences of the old version to the new version:
pyproject.toml
- Update
requires-python = ">=X.Y"to the new version - Update classifier
"Programming Language :: Python :: X.Y"if present - Note: This may trigger
uv.lockregeneration
.readthedocs.yml
- Update
python: "X.Y"to the new version
.github/workflows/*.yaml
- Update Python version matrices (e.g.,
python-version: ["X.Y", ...]) - Add new version, potentially remove old unsupported versions
Documentation Files
- Update badges from
python-X.Y%2Btopython-X.Z%2B - Update requirements text from "Python X.Y or higher" to "Python X.Z or higher"
- Update any other references (e.g., "(3.Y+)" to "(3.Z+)")
4. Regenerate Lock File
After updating pyproject.toml, regenerate the lock file:
uv sync --all-extras --group dev --group test --group docs
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 · 104 lines · 11 tokens per session scan A 9ae83687baf9
update-python-version is a command published in the GitHub repository flz/iaqualink-py (46 stars, last pushed 4d ago), licensed BSD-3-Clause. It adds 11 tokens to every session and 847 once invoked, about $0.0000 per session on Opus 5.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.
Other commands, from other repositories
type-coverage
Vérification Couverture des Types Python.
execute-pydantic-ai-prp
Implement a Pydantic AI agent using the PRP file.
package-review
Review the current Python package for best-practice violations — project structure, pyproject.toml, typing, testing, CI/CD, documentation, versioning, API design, packaging, security, and developer experience.
fastapi
FastAPI application design and implementation conventions. Use this skill when building, updating, or reviewing FastAPI services, routers, dependencies, request/response schemas, streaming endpoints, or API tests. Trigger on FastAPI-specific work such as path operation design, dependency injection, response models…
savant-python
Python performance optimization with Python Developer agent.
python-review
Comprehensive Python code review for PEP 8 compliance, type hints, security, and Pythonic idioms. Invokes the python-reviewer agent.