Agent skill

Release Cherry Pick Missing Reverts

by pytorch in pytorch/test-infra

Find reverts that landed on pytorch/pytorch main but are missing from a release branch (release/X.Y) because the reverted commit was already shipped in a release candidate, and open one cherry-pick…

Custom licenceAuto-check passedAI & LLM Engineering

Install Release Cherry Pick Missing Reverts

skills CLI
$ npx skills add pytorch/test-infra --skill release-cherry-pick-missing-reverts -a claude-code

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

GitHub CLI
$ gh skill install pytorch/test-infra release-cherry-pick-missing-reverts --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/pytorch/test-infra.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/release-cherry-pick-missing-reverts .claude/skills/release-cherry-pick-missing-reverts && 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
release-cherry-pick-missing-reverts
GitHub stars
113
Token cost
~2.6k tokens
SKILL.md length
1,049 words
Files
1
Skills in repo
11
Repo updated
First seen
Licence
Custom licence

At a glance

Find reverts that landed on pytorch/pytorch main but are missing from a release branch (release/X.Y) because the reverted commit was already shipped in a release candidate, and open one cherry-pick…

  • Works in 5 steps: Get the list of missing reverts → Parse the flagged reverts → One cherry-pick PR per missing revert → …
  • Tasks that involve Deep learning
  • SKILL.md covers Inputs, When to use this skill, Background: what "missing… and Step 1 — Get the list of…, plus 5 more sections
  • Calls git, gh and python; reaches github.com

What it does

Release Cherry Pick Missing Reverts is an agent skill from pytorch/test-infra. Find reverts that landed on pytorch/pytorch main but are missing from a release branch (release/X.Y) because the reverted commit was already shipped in a release candidate, and open one cherry-pick PR per missing revert against the release branch (on a fork branch, never pushing to release/X.Y directly), optionally posting a cherry-pick nomination comment for each on the release tracker issue. Driven by tools/analytics/githubanalyze.py --analyze-missing-reverts-from-branch (the "GitHub Analytics Daily" workflow)…

Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering Deep learning. It works with PyTorch and GitHub. The repository describes itself as: This repository hosts code that supports the testing infrastructure for the PyTorch organization. For example, this repo hosts the logic to track disabled tests and slow tests…

When your agent uses it

  • Tasks that involve Deep learning

Example prompts

  • “GitHub Analytics Daily”
  • “missing reverts”
  • “analyze reverts for release”
  • “/release-cherry-pick-missing-reverts”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Get the list of missing reverts
  2. Parse the flagged reverts
  3. One cherry-pick PR per missing revert
  4. Nominate on the release tracker (if a tracker issue was given)
  5. Summary

What it can do on your machine

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

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • gh
    • python

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

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    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

Release Cherry Pick Missing Reverts loads about 2.6k tokens when it runs. Until then it costs about 193 tokens; SKILL.md has 1,049 words of instructions outside code blocks.

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

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,049 words (~2,639 tokens).

“When a commit ships in a release candidate (so it is on release/X.Y) and is later reverted on main, the revert does not automatically reach the release branch — the buggy commit is still present in release/X.Y. These are missing…”

— opening of SKILL.md by pytorch, Custom licence
name
release-cherry-pick-missing-reverts

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .claude/skills/release-cherry-pick-missing-reverts of pytorch/test-infra.

Open the folder on GitHubat commit 71b3093

Compare with similar skills

Release Cherry Pick Missing Reverts 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.

Release Cherry Pick Missing Reverts compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Release Cherry Pick Missing Reverts this skillpytorch/test-infra113—~2.6kAutomated safety check: PassCustom licence
Fix Issuepytorch/pytorch104k—~2.3kAutomated safety check: PassCustom licence
Homepage Generatorwanshuiyin/ARIS-in-AI-Offer580—~4.8kAutomated safety check: NotesMIT
Triaging Issuespytorch/pytorch104k—~4.2kAutomated safety check: PassCustom licence
Matlab Integrate Pytorch Visionmatlab/matlab-agentic-toolkit1.1k—~3.7kAutomated safety check: PassCustom licence
Xpu Alignmentintel/torch-xpu-ops115—~2kAutomated safety check: PassApache-2.0

Similar skills

  • Fix Issue

    pytorch/pytorch

    Fix bugs reported in PyTorch GitHub issues by reproducing, root-causing, and implementing a fix in the local working tree.

    104k GitHub stars~2.3k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Homepage Generator

    wanshuiyin/ARIS-in-AI-Offer

    Generate a fact-checked academic personal homepage from a CV, optionally augmented by an existing manual homepage and an assets directory.

    580 GitHub stars~4.8k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check: notes
  • Triaging Issues

    pytorch/pytorch

    Triages GitHub issues by routing to oncall teams, applying labels, and closing questions.

    104k GitHub stars~4.2k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Matlab Integrate Pytorch Vision

    matlab/matlab-agentic-toolkit

    Creates MATLAB interfaces to Python image processing and computer vision models from GitHub repositories or pip-installable packages using MPyReq.

    1.1k GitHub stars~3.7k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Xpu Alignment

    intel/torch-xpu-ops

    Official

    Find upstream PyTorch behavior or fixes that may require XPU parity work, validate them on XPU, and produce independently reviewed evidence.

    115 GitHub stars~2k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Issue Triage

    intel/torch-xpu-ops

    Official

    Shallow, text-only triage of a GitHub issue on pytorch or torch-xpu-ops.

    115 GitHub stars~2.5k tokensUpdated today
    AI & LLM EngineeringAuto-check passed

More from pytorch/test-infra

All 11 skills in this repo
  • Step-by-step playbook for migrating a pytorch/pytorch .github/workflows/.yml from EC2 to OSDC (ARC) runners — covers both dial-up and 100% opt-in patterns, with the inputs that must be plumbed…

    113 GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Pytorch Clickhouse

    pytorch/test-infra

    Load this FIRST whenever working with PyTorch CI data (any pytorch/ org repo), the torchci/HUD codebase, or the PyTorch HUD ClickHouse database.

    113 GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • R2 Outage Toggle

    pytorch/test-infra

    Disable or re-enable Cloudflare R2 (download-r2.pytorch.org) usage in managev2.py during R2 outages.

    113 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Generate (and optionally open) a PyTorch release tracker / cherry-pick tracking issue from a release announcement, like https://github.com/pytorch/pytorch/issues/180506.

    113 GitHub stars~2.7k tokensUpdated today
    Auto-check passed
  • Generate a PyTorch release validation checklist issue by pulling open/closed issues from a GitHub milestone and cherry-picks from a release tracker issue.

    113 GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Update tools/scripts/generatebinarybuildmatrix.py when a PyTorch release goes live.

    113 GitHub stars~1.7k tokensUpdated today
    Auto-check passed

Works with

Questions about Release Cherry Pick Missing Reverts

What does Release Cherry Pick Missing Reverts do?

Find reverts that landed on pytorch/pytorch main but are missing from a release branch (release/X.Y) because the reverted commit was already shipped in a release candidate, and open one cherry-pick…. Release Cherry Pick Missing Reverts is an agent skill from pytorch/test-infra.Y directly), optionally posting a cherry-pick nomination comment for each on the release tracker issue.

When should I use Release Cherry Pick Missing Reverts?

Release Cherry Pick Missing Reverts fits situations like: tasks that involve Deep learning.

How do I install Release Cherry Pick Missing Reverts in Claude Code?

Run `npx skills add pytorch/test-infra --skill release-cherry-pick-missing-reverts -a claude-code`. Or copy the skill folder (.claude/skills/release-cherry-pick-missing-reverts in pytorch/test-infra) into .claude/skills/release-cherry-pick-missing-reverts in your project. Claude Code loads it when a task matches its description.

How do I install Release Cherry Pick Missing Reverts in Codex?

Run `npx skills add pytorch/test-infra --skill release-cherry-pick-missing-reverts -a codex`. Or copy the skill folder (.claude/skills/release-cherry-pick-missing-reverts in pytorch/test-infra) into .agents/skills/release-cherry-pick-missing-reverts in your project. Codex loads it when a task matches its description.

Can I use Release Cherry Pick Missing Reverts 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 pytorch/test-infra --skill release-cherry-pick-missing-reverts -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/release-cherry-pick-missing-reverts, .gemini/skills/release-cherry-pick-missing-reverts, .github/skills/release-cherry-pick-missing-reverts and .opencode/skills/release-cherry-pick-missing-reverts in your project.

What does Release Cherry Pick Missing Reverts need to run?

Going by SKILL.md and its folder, Release Cherry Pick Missing Reverts needs the command-line tools its instructions call (git, gh and python). Our summary lists: Python 3.

Does Release Cherry Pick Missing Reverts access the network?

SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Release Cherry Pick Missing Reverts 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 Release Cherry Pick Missing Reverts use?

Release Cherry Pick Missing Reverts has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Release Cherry Pick Missing Reverts use?

About 2.6k tokens (SKILL.md is roughly 11k 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 Release Cherry Pick Missing Reverts?

Skills that share tags, products or a category with Release Cherry Pick Missing Reverts: Fix Issue (pytorch/pytorch, 104k stars), Homepage Generator (wanshuiyin/ARIS-in-AI-Offer, 580 stars), Triaging Issues (pytorch/pytorch, 104k stars) and Matlab Integrate Pytorch Vision (matlab/matlab-agentic-toolkit, 1.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Release Cherry Pick Missing Reverts?

pytorch (a GitHub organization) maintains it in pytorch/test-infra, which has 113 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 8, 2026.

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