Agent skill

Migrate Workflow Ec2 To Osdc

by pytorch in 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…

Custom licenceAuto-check passedAI & LLM Engineering

Install Migrate Workflow Ec2 To Osdc

skills CLI
$ npx skills add pytorch/test-infra --skill migrate-workflow-ec2-to-osdc -a claude-code

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

GitHub CLI
$ gh skill install pytorch/test-infra migrate-workflow-ec2-to-osdc --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/migrate-workflow-ec2-to-osdc .claude/skills/migrate-workflow-ec2-to-osdc && 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
migrate-workflow-ec2-to-osdc
GitHub stars
113
Token cost
~2k tokens
SKILL.md length
801 words
Files
1
Skills in repo
11
Repo updated
First seen
Licence
Custom licence

At a glance

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…

  • Works in 5 steps: Make sure get-label-type opts into the… → Plumb five inputs into the build job → Add get-label-type to the test job's… → …
  • Migrating a workflow off EC2 onto on-site data center / EKS-hosted self-hosted runners (OSDC / ARC)
  • SKILL.md covers Decide: dial-up vs. 100% opt-in, Migration steps (dial-up…, Migration steps (100% opt-in… and What the inputs do (mental…, plus 1 more section
  • Calls git and gh

What it does

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…

When your agent uses it

  • 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

Example prompts

  • “/migrate-workflow-ec2-to-osdc”

Requirements

  • Python 3
  • Docker

Workflow steps

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

  1. Make sure get-label-type opts into the ARC experiment
  2. Plumb five inputs into the build job
  3. Add get-label-type to the test job's needs and plumb the use-arc + setup-linux inputs
  4. Drop the OSDC-incompatible inputs
  5. Verify

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

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

  • Network

    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.

  • 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

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.

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

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 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…”

— opening of SKILL.md by pytorch, Custom licence
name
migrate-workflow-ec2-to-osdc

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .claude/skills/migrate-workflow-ec2-to-osdc of pytorch/test-infra.

Open the folder on GitHubat commit 71b3093

Compare with similar skills

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.

Migrate Workflow Ec2 To Osdc compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Migrate Workflow Ec2 To Osdc this skillpytorch/test-infra113—~2kAutomated safety check: PassCustom licence
The Art of Debuggingstas00/the-art-of-debugging1.7k—~6.1kAutomated safety check: NotesCC-BY-SA-4.0
Ako4allTongmingLAIC/AKO4ALL369—~4kAutomated safety check: PassMIT
Paddle Op DevPaddlePaddle/Paddle24k—~1.3kAutomated safety check: PassApache-2.0
Cosmos3 Env TroubleshootNVIDIA/cosmos-framework558—~1.3kAutomated safety check: NotesCustom licence
Fix Envevo-design/proto-tools135—~2.5kAutomated safety check: NotesMIT

Similar skills

  • 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.

    1.7k GitHub stars~6.1k tokensUpdated 2 days ago
    DevelopmentAuto-check: notes
  • Ako4all

    TongmingLAIC/AKO4ALL

    Drive an agentic loop that iteratively optimizes a GPU kernel for maximum speedup.

    369 GitHub stars~4k tokensUpdated 23 days ago
    AI & LLM EngineeringAuto-check passed
  • Paddle Op Dev

    PaddlePaddle/Paddle

    PaddlePaddle (飞桨) C++ 算子开发指南。提供从 YAML 配置、InferMeta 函数、Kernel 实现、Python API 封装、单元测试到编译验证的完整算子开发流程指导。在以下场景使用此 skill:(1) 为 Paddle 框架新增 C++ 算子 (2) 修改或调试已有 Paddle 算子 (3) 编写算子的 YAML…

    24k GitHub stars~1.3k tokensUpdated 8 days ago
    AI & LLM EngineeringAuto-check passed
  • Cosmos3 Env Troubleshoot

    NVIDIA/cosmos-framework

    Official

    Diagnose and fix Cosmos3 environment, installation, and runtime errors.

    558 GitHub stars~1.3k tokensUpdated today
    DevOps & CloudAuto-check: notes
  • Fix Env

    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…

    135 GitHub stars~2.5k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check: notes
  • Hyperpod Version Checker

    awslabs/agent-plugins

    Official

    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)…

    915 GitHub starsUsed in 1 repo~910 tokens
    AI & LLM EngineeringAuto-check passed

More from pytorch/test-infra

All 11 skills in this repo
  • 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
  • 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…

    113 GitHub stars~2.6k 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

Questions about Migrate Workflow Ec2 To Osdc

What does Migrate Workflow Ec2 To Osdc do?

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.

When should I use Migrate Workflow Ec2 To Osdc?

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.

How do I install Migrate Workflow Ec2 To Osdc in Claude Code?

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.

How do I install Migrate Workflow Ec2 To Osdc in Codex?

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.

Can I use Migrate Workflow Ec2 To Osdc 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 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.

What does Migrate Workflow Ec2 To Osdc need to run?

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.

Does Migrate Workflow Ec2 To Osdc access the network?

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.

Is Migrate Workflow Ec2 To Osdc 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 Migrate Workflow Ec2 To Osdc use?

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.

How many tokens does Migrate Workflow Ec2 To Osdc use?

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.

What are the alternatives to Migrate Workflow Ec2 To Osdc?

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.

Who maintains Migrate Workflow Ec2 To Osdc?

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.