Triaging Issues
pytorch/pytorch
Triages GitHub issues by routing to oncall teams, applying labels, and closing questions.
Disable or re-enable Cloudflare R2 (download-r2.pytorch.org) usage in managev2.py during R2 outages.
$ npx skills add pytorch/test-infra --skill r2-outage-toggle -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install pytorch/test-infra r2-outage-toggle --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/pytorch/test-infra.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/r2-outage-toggle .claude/skills/r2-outage-toggle && rm -rf skills-srcUse ~/.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/
Install the "r2-outage-toggle" agent skill from https://github.com/pytorch/test-infra/tree/main/.claude/skills/r2-outage-toggle into .claude/skills/r2-outage-toggle/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "r2-outage-toggle", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/pytorch/test-infra/tree/main/.claude/skills/r2-outage-toggleType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add pytorch/test-infra --skill r2-outage-toggle -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install pytorch/test-infra r2-outage-toggle --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pytorch/test-infra.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/r2-outage-toggle .agents/skills/r2-outage-toggle && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "r2-outage-toggle" agent skill from https://github.com/pytorch/test-infra/tree/main/.claude/skills/r2-outage-toggle into .agents/skills/r2-outage-toggle/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "r2-outage-toggle", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add pytorch/test-infra --skill r2-outage-toggle -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install pytorch/test-infra r2-outage-toggle --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pytorch/test-infra.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/r2-outage-toggle .cursor/skills/r2-outage-toggle && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "r2-outage-toggle" agent skill from https://github.com/pytorch/test-infra/tree/main/.claude/skills/r2-outage-toggle into .cursor/skills/r2-outage-toggle/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "r2-outage-toggle", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/pytorch/test-infra.git --path .claude/skills/r2-outage-toggle--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add pytorch/test-infra --skill r2-outage-toggle -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install pytorch/test-infra r2-outage-toggle --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pytorch/test-infra.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/r2-outage-toggle .gemini/skills/r2-outage-toggle && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "r2-outage-toggle" agent skill from https://github.com/pytorch/test-infra/tree/main/.claude/skills/r2-outage-toggle into .gemini/skills/r2-outage-toggle/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "r2-outage-toggle", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install pytorch/test-infra r2-outage-toggleInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add pytorch/test-infra --skill r2-outage-toggle -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/pytorch/test-infra.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/r2-outage-toggle .github/skills/r2-outage-toggle && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "r2-outage-toggle" agent skill from https://github.com/pytorch/test-infra/tree/main/.claude/skills/r2-outage-toggle into .github/skills/r2-outage-toggle/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "r2-outage-toggle", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add pytorch/test-infra --skill r2-outage-toggle -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install pytorch/test-infra r2-outage-toggle --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pytorch/test-infra.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/r2-outage-toggle .opencode/skills/r2-outage-toggle && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "r2-outage-toggle" agent skill from https://github.com/pytorch/test-infra/tree/main/.claude/skills/r2-outage-toggle into .opencode/skills/r2-outage-toggle/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "r2-outage-toggle", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
r2-outage-toggleDisable or re-enable Cloudflare R2 (download-r2.pytorch.org) usage in managev2.py during R2 outages.
R2 Outage Toggle is an agent skill from pytorch/test-infra. Disable or re-enable Cloudflare R2 (download-r2.pytorch.org) usage in managev2.py during R2 outages. Can toggle R2 off/on for nightly builds, prod/stable builds, or both. The affected packages are PTFOUNDATIONPACKAGES (torch, torchvision, torchaudio, fbgemmgpu, fbgemmgpugenai, triton, pytorchtriton, pytorchtritonrocm, pytorchtritonxpu).
Its SKILL.md is about 1.5k 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 Incident response and Deep learning. It works with PyTorch and Cloudflare R2. 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…
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 71b3093. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
download-r2.pytorch.orgd21usjoq99fcb9.cloudfront.netFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
R2 Outage Toggle loads about 1.5k tokens when it runs. Until then it costs about 92 tokens; SKILL.md has 470 words of instructions outside code blocks.
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.
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.
Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 470 words (~1,501 tokens).
“Modifies s3_management/manage_v2.py to disable or re-enable Cloudflare R2 (download-r2.pytorch.org) URL generation for PyTorch foundation packages. Use during R2 outages to fall back to S3/CloudFront, or to restore R2 usage after an outage is resolved.”
Just SKILL.md in .claude/skills/r2-outage-toggle of pytorch/test-infra.
Open the folder on GitHubat commit 71b3093
R2 Outage Toggle 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| R2 Outage Toggle this skillpytorch/test-infra | 113 | — | ~1.5k | Automated safety check: Pass | Custom licence | |
| Triaging Issuespytorch/pytorch | 104k | — | ~4.2k | Automated safety check: Pass | Custom licence | |
| CI Metricspytorch/pytorch | 104k | — | ~1.1k | Automated safety check: Pass | Custom licence | |
| Senior ML Engineerdavila7/claude-code-templates | 32k | 3 repos | ~1.4k | Automated safety check: Pass | MIT | |
| Flash AttentionLuciole-Studio/Misaka-Agent | 139 | 1 repos | ~2.7k | Automated safety check: Pass | MIT | |
| Docstringpytorch/pytorch | 104k | 2 repos | ~2.6k | Automated safety check: Pass | Custom licence |
pytorch/pytorch
Triages GitHub issues by routing to oncall teams, applying labels, and closing questions.
pytorch/pytorch
Query PyTorch CI, GitHub Actions, HUD, Grafana, and infrastructure metrics.
davila7/claude-code-templates
World-class ML engineering skill for productionizing ML models, MLOps, and building scalable ML systems.
Luciole-Studio/Misaka-Agent
Speed up long-sequence transformer training and inference. An agent skill from Luciole-Studio/Misaka-Agent.
pytorch/pytorch
Write docstrings for PyTorch functions and methods following PyTorch conventions.
pytorch/pytorch
Choose 32-bit vs 64-bit index math in PyTorch CUDA kernels. An agent skill from pytorch/pytorch.
pytorch/test-infra
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…
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.
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…
pytorch/test-infra
Generate (and optionally open) a PyTorch release tracker / cherry-pick tracking issue from a release announcement, like https://github.com/pytorch/pytorch/issues/180506.
pytorch/test-infra
Generate a PyTorch release validation checklist issue by pulling open/closed issues from a GitHub milestone and cherry-picks from a release tracker issue.
pytorch/test-infra
Update tools/scripts/generatebinarybuildmatrix.py when a PyTorch release goes live.
Works with
Categories
Disable or re-enable Cloudflare R2 (download-r2.pytorch.org) usage in managev2.py during R2 outages. R2 Outage Toggle is an agent skill from pytorch/test-infra.py during R2 outages.
R2 Outage Toggle fits situations like: tasks that involve Incident response; tasks that involve Deep learning.
Run `npx skills add pytorch/test-infra --skill r2-outage-toggle -a claude-code`. Or copy the skill folder (.claude/skills/r2-outage-toggle in pytorch/test-infra) into .claude/skills/r2-outage-toggle in your project. Claude Code loads it when a task matches its description.
Run `npx skills add pytorch/test-infra --skill r2-outage-toggle -a codex`. Or copy the skill folder (.claude/skills/r2-outage-toggle in pytorch/test-infra) into .agents/skills/r2-outage-toggle in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add pytorch/test-infra --skill r2-outage-toggle -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/r2-outage-toggle, .gemini/skills/r2-outage-toggle, .github/skills/r2-outage-toggle and .opencode/skills/r2-outage-toggle in your project.
Going by SKILL.md and its folder, R2 Outage Toggle needs the command-line tools its instructions call (python). Our summary lists: Python 3.
SKILL.md names 2 domains. In commands or code: download-r2.pytorch.org and d21usjoq99fcb9.cloudfront.net; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.
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.
R2 Outage Toggle has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.
About 1.5k tokens (SKILL.md is roughly 6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with R2 Outage Toggle: Triaging Issues (pytorch/pytorch, 104k stars), CI Metrics (pytorch/pytorch, 104k stars), Senior ML Engineer (davila7/claude-code-templates, 32k stars) and Flash Attention (Luciole-Studio/Misaka-Agent, 139 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
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.