The Art of Debugging
stas00/the-art-of-debugging
Condensed debugging method and tool recipes for Unix, Python and PyTorch programs: crashes, hangs, segfaults, wrong output, CUDA OOM, NaN values and slowness.
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…
$ npx skills add pytorch/test-infra --skill migrate-workflow-ec2-to-osdc -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install pytorch/test-infra migrate-workflow-ec2-to-osdc --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/migrate-workflow-ec2-to-osdc .claude/skills/migrate-workflow-ec2-to-osdc && 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 "migrate-workflow-ec2-to-osdc" agent skill from https://github.com/pytorch/test-infra/tree/main/.claude/skills/migrate-workflow-ec2-to-osdc into .claude/skills/migrate-workflow-ec2-to-osdc/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "migrate-workflow-ec2-to-osdc", 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/migrate-workflow-ec2-to-osdcType 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 migrate-workflow-ec2-to-osdc -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install pytorch/test-infra migrate-workflow-ec2-to-osdc --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/migrate-workflow-ec2-to-osdc .agents/skills/migrate-workflow-ec2-to-osdc && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "migrate-workflow-ec2-to-osdc" agent skill from https://github.com/pytorch/test-infra/tree/main/.claude/skills/migrate-workflow-ec2-to-osdc into .agents/skills/migrate-workflow-ec2-to-osdc/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "migrate-workflow-ec2-to-osdc", 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 migrate-workflow-ec2-to-osdc -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install pytorch/test-infra migrate-workflow-ec2-to-osdc --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/migrate-workflow-ec2-to-osdc .cursor/skills/migrate-workflow-ec2-to-osdc && 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 "migrate-workflow-ec2-to-osdc" agent skill from https://github.com/pytorch/test-infra/tree/main/.claude/skills/migrate-workflow-ec2-to-osdc into .cursor/skills/migrate-workflow-ec2-to-osdc/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "migrate-workflow-ec2-to-osdc", 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/migrate-workflow-ec2-to-osdc--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 migrate-workflow-ec2-to-osdc -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install pytorch/test-infra migrate-workflow-ec2-to-osdc --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/migrate-workflow-ec2-to-osdc .gemini/skills/migrate-workflow-ec2-to-osdc && 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 "migrate-workflow-ec2-to-osdc" agent skill from https://github.com/pytorch/test-infra/tree/main/.claude/skills/migrate-workflow-ec2-to-osdc into .gemini/skills/migrate-workflow-ec2-to-osdc/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "migrate-workflow-ec2-to-osdc", 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 migrate-workflow-ec2-to-osdcInstalls 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 migrate-workflow-ec2-to-osdc -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/migrate-workflow-ec2-to-osdc .github/skills/migrate-workflow-ec2-to-osdc && 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 "migrate-workflow-ec2-to-osdc" agent skill from https://github.com/pytorch/test-infra/tree/main/.claude/skills/migrate-workflow-ec2-to-osdc into .github/skills/migrate-workflow-ec2-to-osdc/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "migrate-workflow-ec2-to-osdc", 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 migrate-workflow-ec2-to-osdc -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 migrate-workflow-ec2-to-osdc --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/migrate-workflow-ec2-to-osdc .opencode/skills/migrate-workflow-ec2-to-osdc && 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 "migrate-workflow-ec2-to-osdc" agent skill from https://github.com/pytorch/test-infra/tree/main/.claude/skills/migrate-workflow-ec2-to-osdc into .opencode/skills/migrate-workflow-ec2-to-osdc/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "migrate-workflow-ec2-to-osdc", 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.
migrate-workflow-ec2-to-osdcStep-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…
Migrate Workflow Ec2 To Osdc is an agent skill from 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 through linux-build.yml / linux-test.yml. Use when migrating a workflow off EC2 onto on-site data center / EKS-hosted self-hosted runners (OSDC / ARC), enabling the ARC experiment, or wiring up use-arc / runnerprefix / ci-docker-hash / python-version / compiler / cuda-version inputs.
Its SKILL.md is about 2k 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 and Containers. It works with PyTorch, Linux, Docker and GitHub Actions. 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…
5 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:
gitghFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git and gh, which can reach the network depending on how they are called.
From 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.
Migrate Workflow Ec2 To Osdc loads about 2k tokens when it runs. Until then it costs about 131 tokens; SKILL.md has 801 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 801 words (~1,993 tokens).
“OSDC (= ARC = on-site data center, EKS-hosted self-hosted runners) replaces EC2 runners. Migration touches the workflow file and requires a few inputs to flow into the reusable _linux-build.yml / _linux-test.yml so the OSDC code paths (build-osdc, test-osdc) activate. EC2…”
Just SKILL.md in .claude/skills/migrate-workflow-ec2-to-osdc of pytorch/test-infra.
Open the folder on GitHubat commit 71b3093
Migrate Workflow Ec2 To Osdc 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 |
|---|---|---|---|---|---|---|
| Migrate Workflow Ec2 To Osdc this skillpytorch/test-infra | 113 | — | ~2k | Automated safety check: Pass | Custom licence | |
| The Art of Debuggingstas00/the-art-of-debugging | 1.7k | — | ~6.1k | Automated safety check: Notes | CC-BY-SA-4.0 | |
| Ako4allTongmingLAIC/AKO4ALL | 369 | — | ~4k | Automated safety check: Pass | MIT | |
| Paddle Op DevPaddlePaddle/Paddle | 24k | — | ~1.3k | Automated safety check: Pass | Apache-2.0 | |
| Cosmos3 Env TroubleshootNVIDIA/cosmos-framework | 558 | — | ~1.3k | Automated safety check: Notes | Custom licence | |
| Fix Envevo-design/proto-tools | 135 | — | ~2.5k | Automated safety check: Notes | MIT |
stas00/the-art-of-debugging
Condensed debugging method and tool recipes for Unix, Python and PyTorch programs: crashes, hangs, segfaults, wrong output, CUDA OOM, NaN values and slowness.
TongmingLAIC/AKO4ALL
Drive an agentic loop that iteratively optimizes a GPU kernel for maximum speedup.
PaddlePaddle/Paddle
PaddlePaddle (飞桨) C++ 算子开发指南。提供从 YAML 配置、InferMeta 函数、Kernel 实现、Python API 封装、单元测试到编译验证的完整算子开发流程指导。在以下场景使用此 skill:(1) 为 Paddle 框架新增 C++ 算子 (2) 修改或调试已有 Paddle 算子 (3) 编写算子的 YAML…
NVIDIA/cosmos-framework
Diagnose and fix Cosmos3 environment, installation, and runtime errors.
evo-design/proto-tools
Fixes tool environment setup failures in proto-tools, either just for the current machine (eject the tool's standalone dir, patch it, and point PROTO<TOOLKITSTANDALONEDIR at it; works for any…
awslabs/agent-plugins
Check and compare software component versions on SageMaker HyperPod cluster nodes - NVIDIA drivers, CUDA toolkit, cuDNN, NCCL, EFA, AWS OFI NCCL, GDRCopy, MPI, Neuron SDK (Trainium/Inferentia)…
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
Disable or re-enable Cloudflare R2 (download-r2.pytorch.org) usage in managev2.py during R2 outages.
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.
Categories
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…. Migrate Workflow Ec2 To Osdc is an agent skill from pytorch/test-infra.yml.
Migrate Workflow Ec2 To Osdc fits situations like: migrating a workflow off EC2 onto on-site data center / EKS-hosted self-hosted runners (OSDC / ARC); enabling the ARC experiment; wiring up use-arc / runnerprefix / ci-docker-hash / python-version / compiler / cuda-version inputs.
Run `npx skills add pytorch/test-infra --skill migrate-workflow-ec2-to-osdc -a claude-code`. Or copy the skill folder (.claude/skills/migrate-workflow-ec2-to-osdc in pytorch/test-infra) into .claude/skills/migrate-workflow-ec2-to-osdc in your project. Claude Code loads it when a task matches its description.
Run `npx skills add pytorch/test-infra --skill migrate-workflow-ec2-to-osdc -a codex`. Or copy the skill folder (.claude/skills/migrate-workflow-ec2-to-osdc in pytorch/test-infra) into .agents/skills/migrate-workflow-ec2-to-osdc 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 migrate-workflow-ec2-to-osdc -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/migrate-workflow-ec2-to-osdc, .gemini/skills/migrate-workflow-ec2-to-osdc, .github/skills/migrate-workflow-ec2-to-osdc and .opencode/skills/migrate-workflow-ec2-to-osdc in your project.
Going by SKILL.md and its folder, Migrate Workflow Ec2 To Osdc needs the command-line tools its instructions call (git and gh). Our summary lists: Python 3; Docker.
SKILL.md contains no URLs. Its commands use git and gh, which can reach the network depending on how they are called. 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.
Migrate Workflow Ec2 To Osdc has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.
About 2k tokens (SKILL.md is roughly 8k 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 Migrate Workflow Ec2 To Osdc: The Art of Debugging (stas00/the-art-of-debugging, 1.7k stars), Ako4all (TongmingLAIC/AKO4ALL, 369 stars), Paddle Op Dev (PaddlePaddle/Paddle, 24k stars) and Cosmos3 Env Troubleshoot (NVIDIA/cosmos-framework, 558 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.