Directory Compare FCRS-1.0 About /llms.txt

pyupgrade

$ pyupgrade Community Low Risk
asottile · Code & DevOps · MIT · macos / linux · Reviewed:

pyupgrade (pyupgrade) — Upgrade syntax for newer versions of Python. Verified across Homebrew Core; included for structured shell automation under FCRS-1.0 baseline review.

FCRS-1.0 Score
68 /100
Usable w/ Caveats
Low Confidence
Zero-Friction Install
brew install pyupgrade
CLI vs MCP Decision CLI Only

Pure CLI utility (pyupgrade); directly invoked in shell workflows without an equivalent MCP server layer.

At a Glance

Command
$ pyupgrade
FCRS-1.0 Score
68/100 (Usable w/ Caveats)
Evidence Tier
Low Confidence
CLI vs MCP
CLI Only
Reviewed Date

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
— Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 14 / 25

Registry-verified CLI binary (pyupgrade); inspect --help output before assuming structured JSON flags.

  • Indexed in Homebrew Core
Trust & Safety 19 / 25

Classified as low risk based on code-devops scope and upstream package metadata.

  • Install channel verified via brew install pyupgrade
  • Declared license: MIT
Setup & Portability 11 / 15

Installable via brew install pyupgrade across macos, linux.

  • Primary install: brew install pyupgrade
Utility & Efficiency 10 / 15

Upgrade syntax for newer versions of Python

  • Official homepage/source: https://github.com/asottile/pyupgrade
Maintenance & Lineage 7 / 10

community lineage tool maintained by asottile.

  • Upstream repository: asottile/pyupgrade
Docs & Verifiability 7 / 10

Upstream documentation linked at https://github.com/asottile/pyupgrade; baseline FCRS cap applies until local probe runs.

  • https://github.com/asottile/pyupgrade

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

Local execution tool; typically requires no external credentials unless targeting remote endpoints.

Side Effects
Read-Only Local Write
Cost & Quotas

Open-source / free local execution; zero API token or SaaS billing overhead from the binary itself.

Copyable Guardrail for CLAUDE.md / AGENTS.md
When invoking `pyupgrade`, verify flags with `pyupgrade --help` first, close stdin to avoid interactive prompts, and require confirmation before remote or destructive mutations.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect available subcommands & flags
pyupgrade --help

Discover supported flags and subcommands for pyupgrade before constructing automated calls.

Verify binary version & availability
pyupgrade --version

Confirm pyupgrade is installed and executable in PATH with zero side effects.

Strengths for Agents

  • + Indexed in Homebrew Core with reproducible install via brew install pyupgrade
  • + Standalone CLI binary (pyupgrade) directly composable in shell pipelines

Caveats & Pitfalls

  • ! Low-confidence baseline review: not yet locally probed on this host; run pyupgrade --help to verify flags before scripting

Tested Agent Hosts

Follow Ecosystem Links

Related CLIs in Code & DevOps

View category hub →
pyvim 68/100
$ pyvim

Pure Python Vim clone

$ rakudo-star

Rakudo compiler and commonly used packages

$ python-tabulate

Pretty-print tabular data in Python

$ rattler-build

Universal conda package builder

Buf 95/100
$ buf

Modern Protocol Buffers CLI for linting, breaking-change detection, formatting, and codegen with `--error-format=json`.

Ruff 95/100
$ ruff

Ultra-fast Rust Python linter and formatter with `--output-format=json` and `--diff` previews.