# Runpod migrate

> Runpod migrate is an open-source agent skill for cloud and infrastructure. Guides an agent through moving a codebase from Runpod's older APIs to REST v2. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/runpod/runpod-plugins-official/tree/main/plugins/runpod/skills/runpod-migrate
- **Repository:** https://github.com/runpod/runpod-plugins-official
- **GitHub stars:** 57
- **License:** Apache-2.0
- **Skill name:** runpod-migrate
- **Collection:** https://github.com/runpod/runpod-plugins-official
- **Categories:** [cloud and infrastructure](https://ai-powered.com/categories/cloud-and-infrastructure), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill helps an AI coding agent move a project off Runpod's GraphQL API and REST v1 and onto REST v2. It walks the agent through inventorying which files use which API generation, briefing the breaking changes that apply to that code, planning the edits, rewriting the call sites, and checking the result.

The workflow centers on a bundled Python scanner that classifies call sites by API generation and separates Runpod's serverless job API so it is left untouched. The skill also points to reference tables mapping v1 and GraphQL paths and fields to v2, and it asks the agent to keep behavior changes and version changes in separate commits. Changes that have no v2 equivalent, such as spot pods, are flagged for the user to decide rather than silently dropped.

The scanner is stdlib-only Python, and the skill expects Bash access to run it and to search with rg. Verification uses the live Runpod API, so creating test resources incurs cost. The skill also notes that the official OpenAPI specs for v1 and v2 are public and can be used to confirm field requirements.

## When your agent uses it

> Migrate a codebase from the Runpod GraphQL API or REST v1 to REST v2 — inventory which parts use which API version, rewrite the call sites, flag breaking changes, and verify. Use when someone asks to move to v2, asks what v2 would change, or asks which Runpod API their code is on. For managing infrastructure rather than migrating code, use runpod-mcp or runpodctl; to move a workload to Runpod from another cloud or platform, use runpod-cloud-migrate.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/runpod/runpod-plugins-official/tree/HEAD/plugins/runpod/skills/runpod-migrate)
- [Asks for: Bash(python3 ${CLAUDE_PLUGIN_ROOT}/skills/runpod-migrate/scripts/rp_api_inventory.py:*), Bash(rg:*)](https://github.com/runpod/runpod-plugins-official/blob/HEAD/plugins/runpod/skills/runpod-migrate/SKILL.md)
- [Network calls found in its scripts](https://github.com/runpod/runpod-plugins-official/tree/HEAD/plugins/runpod/skills/runpod-migrate)
- [License: Apache-2.0](https://github.com/runpod/runpod-plugins-official/tree/HEAD/plugins/runpod/skills/runpod-migrate)

## Features

- **Codebase API inventory:** A scanner groups call sites by GraphQL, REST v1, REST v2, and the serverless job API.
- **Breaking change briefing:** Lists renamed fields and same-name changes in meaning that affect the user's code.
- **Migration planning:** Splits work into required changes, cleanup enabled by v2, and decisions for the user.
- **Per-file rewrite guidance:** Maps v1 and GraphQL paths and fields to v2 and explains catalog availability requests.
- **Verification gate:** Re-runs the scanner with a fail option and suggests safe live API checks.
- **Rollback flag option:** Suggests an environment flag to fall back to v1 during the transition.

## Good for

- Check which Runpod API version my project is currently using
- Migrate my pod and endpoint creation code from REST v1 to v2
- Find GraphQL calls in my codebase that need moving to REST v2
- List breaking changes before upgrading my Runpod integration
- Replace my GPU fallback logic when moving pod creation to v2

## Install

### Claude Code

This skill ships in the `runpod` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add runpod/runpod-plugins-official
/plugin install runpod@runpod
```

Or copy only this skill to `~/.claude/skills/runpod-migrate`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/runpod/runpod-plugins-official.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/runpod-migrate &&
cp -R "$tmp/plugins/runpod/skills/runpod-migrate" ~/.claude/skills/runpod-migrate &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/runpod-migrate` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/runpod-migrate` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/runpod/runpod-plugins-official.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/runpod-migrate &&
cp -R "$tmp/plugins/runpod/skills/runpod-migrate" ~/.agents/skills/runpod-migrate &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/runpod-migrate` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/runpod-migrate` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/runpod/runpod-plugins-official.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/runpod-migrate &&
cp -R "$tmp/plugins/runpod/skills/runpod-migrate" ~/.cursor/skills/runpod-migrate &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/runpod-migrate` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/runpod/runpod-plugins-official.git --path plugins/runpod/skills/runpod-migrate
```

Or copy the folder to `~/.gemini/skills/runpod-migrate` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/runpod-migrate`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/runpod/runpod-plugins-official.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/runpod-migrate &&
cp -R "$tmp/plugins/runpod/skills/runpod-migrate" ~/.copilot/skills/runpod-migrate &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/runpod-migrate` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/runpod/runpod-plugins-official.git
```

Then copy `runpod-plugins-official/plugins/runpod/skills/runpod-migrate` into your agent's skills folder as `runpod-migrate`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Runpod migrate trigger?

When someone asks to move to v2, asks what v2 would change, or asks which Runpod API their code is on.

### What does Runpod migrate need to run?

Python 3 for the bundled scanner, plus Bash access to run it and rg for searching. The scanner is stdlib-only and needs no install.

### Does Runpod migrate change the serverless job API?

No. The api.runpod.ai job endpoints are a separate API and the skill explicitly leaves them out of scope.

### Which tasks stay on GraphQL?

Account identity (myself) and spot or interruptible pods have no v2 equivalent, so the skill says those calls remain on GraphQL.

### How do I install Runpod migrate in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/runpod-migrate to use it in all your projects, or to .claude/skills/runpod-migrate in one project. Or install the runpod plugin, which includes it: /plugin marketplace add runpod/runpod-plugins-official, then /plugin install runpod@runpod.

### Does Runpod migrate run scripts?

Yes. It runs Python scripts. Its scripts contain network calls. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Runpod migrate?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Runpod migrate?

The closest alternatives to Runpod migrate are Runpod cloud migrate, Runpod flash, Runpod companion clis, Runpod build template and Runpodctl.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Runpod cloud migrate](https://ai-powered.com/skills/runpod-cloud-migrate): Runpod cloud migrate is an open-source agent skill for cloud and infrastructure.
- [Runpod flash](https://ai-powered.com/skills/runpod-flash): Runpod flash is an open-source agent skill for cloud and infrastructure.
- [Runpod companion clis](https://ai-powered.com/skills/runpod-companion-clis): Runpod companion clis is an open-source agent skill for cloud and infrastructure.
- [Runpod build template](https://ai-powered.com/skills/runpod-build-template): Runpod build template is an open-source agent skill for cloud and infrastructure.
- [Runpodctl](https://ai-powered.com/skills/runpodctl): Runpodctl is an open-source agent skill for cloud and infrastructure.
- [Runpod lifecycle crud](https://ai-powered.com/skills/runpod-lifecycle-crud): Runpod lifecycle crud is an open-source agent skill for cloud and infrastructure.
- [Runpod MCP](https://ai-powered.com/skills/runpod-mcp): Runpod MCP is an open-source agent skill for cloud and infrastructure.
- [Spec driven develop](https://ai-powered.com/skills/spec-driven-develop): Spec driven develop is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/runpod-migrate
