rp1-migrate

rp1-migrate is a skill for Claude Code from rp1-run/rp1. It costs 18 tokens per session (515 once invoked), scanned A, original, Apache-2.0.

A migration skill moves legacy rp1 project files and database records into the current layout. It first detects whether migration is needed, previews the planned changes, and requires confirmation before changing anything.

In plain words
What is it for?
Use it to inspect migration status, preview file and database changes, and migrate an rp1 project from its main repository.
Why use it?
It provides a controlled path from an older project structure to the current one while reducing the chance of changing the wrong repository or applying changes unexpectedly.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the rp1-base plugin — 21 skills, 17 agents, 1 hook shipped together

Good fit Use it to inspect migration status, preview file and database changes, and migrate an rp1 project from its main repository.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rp1-run/rp1/rp1-migrate
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add rp1-run/rp1 --skill rp1-migrate
Clone the repo
git clone --depth 1 https://github.com/rp1-run/rp1

Made for: Claude Code.

Or install rp1-base, the plugin that ships this one along with the rest of its 21 skills, 17 agents, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for rp1-migrate

README.md
[![agentmods](https://agentmods.dev/badge/skills/rp1-run/rp1/rp1-migrate/github.svg)](https://agentmods.dev/skills/rp1-run/rp1/rp1-migrate)
Your own site
<a href="https://agentmods.dev/skills/rp1-run/rp1/rp1-migrate"><img src="https://agentmods.dev/badge/skills/rp1-run/rp1/rp1-migrate/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for rp1-migrate

Your own site · 80×15
<a href="https://agentmods.dev/skills/rp1-run/rp1/rp1-migrate"><img src="https://agentmods.dev/badge/skills/rp1-run/rp1/rp1-migrate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 515 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00018 $0.00515
Opus 5.5 $0.00007 $0.00206
Sonnet 5.5 $0.00004 $0.00103
Haiku 4.5 $0.00002 $0.00052

Measured 2mo ago against content hash e5fed7af502a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rp1-migrate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/base/skills/rp1-migrate/SKILL.md · 69 lines

What it actually says

Migrate Legacy rp1 Artifacts

Detect and safely migrate legacy rp1 project artifacts. This command changes files and Arcade database rows, so require explicit confirmation before the mutating step.

Detect

Run:

rp1 agent-tools rp1-root-dir

Read data.needsMigration, data.migrationHint, data.isWorktree, and data.projectRoot from the successful result. If data.isWorktree is true, tell the user that migration targets the main repository at data.projectRoot, and that the command must be run from there. Stop and ask the user to rerun the skill from that main repository before previewing or applying migration.

If the command fails because the legacy project is missing project_id, treat that error as recoverable evidence that migration is needed. Stop only for the no rp1 project, run rp1 init error. If detection succeeds with needsMigration: false, report that there is nothing to migrate and stop.

Preview and Confirm

Run:

rp1 migrate --dry-run

Present the output as a partial preview: dry-run reports planned steps but does not compute exact file-move counts or stanza diffs. Recommend stopping Arcade if it is running because migration changes database rows. Ask for explicit confirmation before continuing.

Migrate and Verify

After confirmation, run rp1 migrate and show its summary. Then rerun rp1 agent-tools rp1-root-dir.

  • If needsMigration is false, confirm migration succeeded.
  • If it remains true, report the remaining reasons from migrationHint verbatim. Skipped conflicts or unrelated entries in the legacy directory are left in place by design; point the user to the legacy path and do not rerun migration in a loop.

Do not offer --to-central; it is out of scope for this skill. Refer users to the rp1 migrate reference documentation for that separate option.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 69 lines · 18 tokens per session scan A e5fed7af502a

Subscribe to this mod's changes

rp1-migrate is a skill published in the GitHub repository rp1-run/rp1 (38 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 18 tokens to every session and 515 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-27.

Related

rp1-migrate compared with skills from other repositories

rp1-migrate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rp1-migraterp1-run/rp1Skill381mo agoApache-2.0A18Claude Code
database-designHK-hub/AgentSkillsSkill73mo agoMITA52Claude Code, Codex
diagram-builderHK-hub/AgentSkillsSkill73mo agoMITA106Claude Code, Codex
backend-patternsHK-hub/AgentSkillsSkill73mo agoMITA31Claude Code, Codex
redis-developmentHK-hub/AgentSkillsSkill73mo agoMITA44Claude Code, Codex
drawio-skillHK-hub/AgentSkillsSkill73mo agoMITA160Claude Code, Codex
event-store-designHK-hub/AgentSkillsSkill73mo agoMITA33Claude Code, Codex