Agent skill

Next Python Stdlib Upgrade Picker

by RustPython in RustPython/RustPython

Picks the next CPython standard library module ready for a RustPython upgrade, skipping modules that already have an open upgrade pull request.

MITAuto-check passedDevelopment

Install Next Python Stdlib Upgrade Picker

skills CLI
$ npx skills add RustPython/RustPython --skill upgrade-pylib-next -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install RustPython/RustPython upgrade-pylib-next --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/RustPython/RustPython.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/upgrade-pylib-next .claude/skills/upgrade-pylib-next && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
upgrade-pylib-next
GitHub stars
22k
Token cost
~257 tokens
SKILL.md length
86 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
MIT

At a glance

Picks the next CPython standard library module ready for a RustPython upgrade, skipping modules that already have an open upgrade pull request.

  • Works in 3 steps: Get current TODO status → Get open upgrade PRs → From TODO output, select modules in this…
  • Finding which CPython stdlib module to upgrade in RustPython next
  • Calls cargo and gh
  • Skipping modules that already have an open upgrade pull request

What it does

Runs the project's own `update_lib todo` command to see the current upgrade backlog, then separately lists open GitHub pull requests whose title contains "Update" so modules already being worked on can be skipped. From the todo output, it prioritizes modules with no remaining dependencies first, then modules whose dependency count has reached zero out of some total, such as zero of three or zero of five, meaning everything they depend on has already been upgraded.

Once a module is chosen and confirmed to have no open upgrade pull request, it hands off to a separate `upgrade-pylib` skill to actually perform that module's upgrade rather than doing the upgrade work itself. If nothing in the backlog currently qualifies, it reports that the remaining modules are all blocked on unmet dependencies instead of picking an unready one.

When your agent uses it

  • Finding which CPython stdlib module to upgrade in RustPython next
  • Skipping modules that already have an open upgrade pull request
  • Checking whether any stdlib modules are currently unblocked for upgrade

Example prompts

  • “What's the next Python stdlib module ready for upgrade in RustPython?”
  • “Check the todo list and skip anything that already has an open PR.”
  • “Are any modules unblocked right now, or is everything waiting on dependencies?”

Requirements

  • cargo
  • The gh CLI
  • Pre-approved tools (allowed-tools): Skill(upgrade-pylib), Bash(gh pr list:*), Bash(cargo run:*)

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Get current TODO status
  2. Get open upgrade PRs
  3. From TODO output, select modules in this priority order

What it can do on your machine

Read from SKILL.md and the folder at commit 1e72b22. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Skill(upgrade-pylib)
    • Bash(gh pr list:*)
    • Bash(cargo run:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • cargo
    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Next Python Stdlib Upgrade Picker loads about 257 tokens when it runs. Until then it costs about 36 tokens; SKILL.md has 86 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~36
When it runs · the whole SKILL.md, loaded when a task matches
~257

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from RustPython/RustPython at commit 1e72b22, republished under its MIT licence (© RustPython). 86 words, ~257 tokens.

Download SKILL.mdSave it as .claude/skills/upgrade-pylib-next/SKILL.md (or your agent's skills folder).
name
upgrade-pylib-next
description
Pick the next CPython stdlib module ready for upgrade based on update_lib todo output and skip modules with open upgrade PRs.
allowed-tools
Skill(upgrade-pylib), Bash(gh pr list:*), Bash(cargo run:*)

Upgrade Next Python Library

Find the next Python library module ready for upgrade and then run the upgrade-pylib workflow for it.

Workflow

  1. Get current TODO status:
shell
cargo run --release -- scripts/update_lib todo 2>/dev/null
  1. Get open upgrade PRs:
shell
gh pr list --search "Update in:title" --json number,title --template '{{range .}}#{{.number}} {{.title}}{{"\\n"}}{{end}}'
  1. From TODO output, select modules in this priority order:
  • [ ] [no deps]
  • [ ] [0/n] where dependencies are all upgraded (for example [0/3], [0/5])
  1. Skip modules that already have an open upgrade PR.

  2. Run upgrade for selected module using the upgrade-pylib workflow.

If no modules match, report that eligible modules are blocked by dependencies.

© RustPython, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/upgrade-pylib-next of RustPython/RustPython.

Open the folder on GitHubat commit 1e72b22

Compare with similar skills

Next Python Stdlib Upgrade Picker next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Next Python Stdlib Upgrade Picker compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Next Python Stdlib Upgrade Picker this skillRustPython/RustPython22k—~257Automated safety check: PassMIT
jscpd Code Migration Trackerkucherenko/jscpd6.4k—~5kAutomated safety check: PassMIT
Uv Package ManagerYikai-Liao/symusic18916 repos~4kAutomated safety check: NotesMIT
Dep Auditorlaolaoshiren/claude-code-skills-zh878—~895Automated safety check: PassMIT
Flowfile Build and Environment SetupEdwardvaneechoud/Flowfile373—~7.3kAutomated safety check: NotesMIT
Update V8 Versionopeninterpreter/openinterpreter69k2 repos~845Automated safety check: PassApache-2.0

Similar skills

  • Measures a code port between languages or frameworks with jscpd's function-level comparison, porting tests before code and tracking what is left unmatched.

    6.4k GitHub stars~5k tokensUpdated today
    DevelopmentAuto-check passed
  • Uv Package Manager

    Yikai-Liao/symusic

    Master the uv package manager for fast Python dependency management, virtual environments, and modern Python project workflows.

    189 GitHub starsUsed in 16 repos~4k tokens
    DevelopmentAuto-check: notes
  • Dep Auditor

    laolaoshiren/claude-code-skills-zh

    审计 Node.js、Python、Go、Rust、JVM、Ruby 项目的依赖漏洞、版本健康度与许可证事实;当用户要求检查 package.json、lockfile、requirements、go.mod、Cargo.toml、pom.xml、Gemfile.lock,或生成不改依赖的中文审计报告时使用

    878 GitHub stars~895 tokensUpdated 3 days ago
    DevelopmentAuto-check passed
  • Flowfile Build and Environment Setup

    Edwardvaneechoud/Flowfile

    Recreates every Flowfile development and build environment from scratch, with exact version pins and an explanation of what each Makefile target really does.

    373 GitHub stars~7.3k tokensUpdated today
    DevelopmentAuto-check: notes
  • Update V8 Version

    openinterpreter/openinterpreter

    Bumps the pinned v8 and rusty_v8 versions in Codex, validates the release-candidate path with the v8-canary check, and traces failures to upstream build changes.

    69k GitHub starsUsed in 2 repos~845 tokens
    DevOps & CloudAuto-check passed
  • Uv Workflow

    Aedelon/claude-code-blueprint

    Master uv package manager for Python: project setup, dependency management, virtual environments, lockfiles, CI/CD integration, Docker builds, and migration from pip/poetry.

    120 GitHub stars~1.2k tokensUpdated 7 mo ago
    DevOps & CloudAuto-check: notes

More from RustPython/RustPython

  • Apple Container Test Runner

    RustPython/RustPython

    Runs RustPython tests inside a Linux container built with Apple's container CLI, so macOS users can compare Linux results with their local ones.

    22k GitHub stars~467 tokensUpdated today
    Auto-check passed
  • RustPython C-API Expansion

    RustPython/RustPython

    Implements missing CPython C-API functions in RustPython's crates/capi, mapping each header to its module with the pyo3-ffi header split.

    22k GitHub stars~831 tokensUpdated today
    Auto-check passed
  • RustPython Stdlib Upgrade

    RustPython/RustPython

    Upgrades a Python standard library module from CPython into RustPython with update_lib, then triages and marks the tests that still fail.

    22k GitHub stars~876 tokensUpdated today
    Auto-check passed
  • Investigates a failing RustPython test by comparing it with CPython, then either fixes it or gathers the details for an incompatibility report.

    22k GitHub stars~467 tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Next Python Stdlib Upgrade Picker

What does Next Python Stdlib Upgrade Picker do?

Picks the next CPython standard library module ready for a RustPython upgrade, skipping modules that already have an open upgrade pull request. Runs the project's own `update_lib todo` command to see the current upgrade backlog, then separately lists open GitHub pull requests whose title contains "Update" so modules already being worked on can be skipped. From the todo output, it prioritizes modules with no remaining dependencies first, then modules whose dependency count has reached zero out of some total, such as zero of three or zero of five, meaning everything they depend on has already been upgraded.

When should I use Next Python Stdlib Upgrade Picker?

Next Python Stdlib Upgrade Picker fits situations like: finding which CPython stdlib module to upgrade in RustPython next; skipping modules that already have an open upgrade pull request; checking whether any stdlib modules are currently unblocked for upgrade.

How do I install Next Python Stdlib Upgrade Picker in Claude Code?

Run `npx skills add RustPython/RustPython --skill upgrade-pylib-next -a claude-code`. Or copy the skill folder (.agents/skills/upgrade-pylib-next in RustPython/RustPython) into .claude/skills/upgrade-pylib-next in your project. Claude Code loads it when a task matches its description.

How do I install Next Python Stdlib Upgrade Picker in Codex?

Run `npx skills add RustPython/RustPython --skill upgrade-pylib-next -a codex`. Or copy the skill folder (.agents/skills/upgrade-pylib-next in RustPython/RustPython) into .agents/skills/upgrade-pylib-next in your project. Codex loads it when a task matches its description.

Can I use Next Python Stdlib Upgrade Picker in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add RustPython/RustPython --skill upgrade-pylib-next -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/upgrade-pylib-next, .gemini/skills/upgrade-pylib-next, .github/skills/upgrade-pylib-next and .opencode/skills/upgrade-pylib-next in your project.

What does Next Python Stdlib Upgrade Picker need to run?

Going by SKILL.md and its folder, Next Python Stdlib Upgrade Picker needs the command-line tools its instructions call (cargo and gh). Our summary lists: cargo; The gh CLI. Its frontmatter pre-approves these tools: Skill(upgrade-pylib), Bash(gh pr list:*), Bash(cargo run:*).

Does Next Python Stdlib Upgrade Picker access the network?

SKILL.md contains no URLs. Its commands use gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Next Python Stdlib Upgrade Picker safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Next Python Stdlib Upgrade Picker use?

Next Python Stdlib Upgrade Picker is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Next Python Stdlib Upgrade Picker use?

About 257 tokens (SKILL.md is roughly 1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Next Python Stdlib Upgrade Picker?

Skills that share tags, products or a category with Next Python Stdlib Upgrade Picker: jscpd Code Migration Tracker (kucherenko/jscpd, 6.4k stars), Uv Package Manager (Yikai-Liao/symusic, 189 stars), Dep Auditor (laolaoshiren/claude-code-skills-zh, 878 stars) and Flowfile Build and Environment Setup (Edwardvaneechoud/Flowfile, 373 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Next Python Stdlib Upgrade Picker?

RustPython (a GitHub organization) maintains it in RustPython/RustPython, which has 22,383 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 8, 2026.

Source: RustPython/RustPython on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.