migrate

migrate is a skill for Claude Code from SeongwoongCho/adaptive-harness. It costs 40 tokens per session (709 once invoked), scanned A, original, MIT.

A migration skill for updating a project's adaptive-harness configuration and files to the current plugin version.

In plain words
What is it for?
Use it after updating the adaptive-harness plugin, or when the project's harness files or configuration may be out of date.
Why use it?
It brings an older project setup in line with the installed version and reports what was changed.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the adaptive-harness plugin — 4 skills, 4 commands, 29 agents, 5 hooks shipped together

Good fit Use it after updating the adaptive-harness plugin, or when the project's harness files or configuration may be out of date.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add SeongwoongCho/adaptive-harness
Claude Code
/plugin install adaptive-harness

Made for: Claude Code.

Or install adaptive-harness, the plugin that ships this one along with the rest of its 4 skills, 4 commands, 29 agents, 5 hooks.

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 migrate

README.md
[![agentmods](https://agentmods.dev/badge/skills/seongwoongcho/adaptive-harness/migrate/github.svg)](https://agentmods.dev/skills/seongwoongcho/adaptive-harness/migrate)
Your own site
<a href="https://agentmods.dev/skills/seongwoongcho/adaptive-harness/migrate"><img src="https://agentmods.dev/badge/skills/seongwoongcho/adaptive-harness/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 migrate

Your own site · 80×15
<a href="https://agentmods.dev/skills/seongwoongcho/adaptive-harness/migrate"><img src="https://agentmods.dev/badge/skills/seongwoongcho/adaptive-harness/migrate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 709 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.00040 $0.00709
Opus 5 $0.00020 $0.00354
Sonnet 5 $0.00008 $0.00142
Haiku 4.5 $0.00004 $0.00071

Measured 10d ago against content hash e895e2aab187, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

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 10d 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.

skills/migrate/SKILL.md · 104 lines

How it starts

The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.

adaptive-harness migrate

Run this skill whenever you need to manually migrate the project's .adaptive-harness state to match the current plugin version. Typically this is triggered automatically at session start, but you can also invoke it manually via /adaptive-harness:migrate.

When to Use

  • You updated the adaptive-harness plugin and want to apply migrations immediately
  • The session-start hook reported a migration notice but you want a detailed report
  • You suspect the project state is out of sync with the plugin version

Steps

1. Locate the migrate script

The migration script is at ${PLUGIN_ROOT}/hooks/migrate.sh. Discover PLUGIN_ROOT from .adaptive-harness/.plugin-root if set, or use the CLAUDE_PLUGIN_ROOT environment variable.

PLUGIN_ROOT=$(cat .adaptive-harness/.plugin-root 2>/dev/null || echo "${CLAUDE_PLUGIN_ROOT}")

2. Run migrate.sh

bash "${PLUGIN_ROOT}/hooks/migrate.sh"

This outputs a JSON summary to stdout. Capture it:

MIGRATE_OUTPUT=$(bash "${PLUGIN_ROOT}/hooks/migrate.sh")

3. Parse and report the JSON output

The JSON output has this structure:

{
  "status": "migrated",
  "migrated": true,
  "from_version": "0.9.0",
  "to_version": "1.0.0",
  "harnesses_added": ["new-harness-name", "another-harness"],
  "config_fields_added": ["evolution", "ensemble"],
  "changes": { ... }
}

Or when already up to date:

{
  "status": "up_to_date",
  "version": "1.0.0"
}

Or when migration was skipped:

{
  "status": "skipped",
  "reason": "ADAPTIVE_HARNESS_SKIP_MIGRATION=1"
}

4. Report to the user

After running, report in a concise format:

adaptive-harness migration complete.

Version: 0.9.0 → 1.0.0
Harnesses added: new-harness-name, another-harness
Config fields added: evolution, ensemble
Backup: .adaptive-harness/harness-pool.json.bak

If already up to date, report:

adaptive-harness is already up to date (version 1.0.0). No migration needed.

Read the full file on GitHub · 104 lines

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. 10d ago First seen · 104 lines · 40 tokens per session scan A e895e2aab187

Subscribe to this mod's changes

migrate is a skill published in the GitHub repository SeongwoongCho/adaptive-harness (8 stars, last pushed 5mo ago), licensed MIT. It adds 40 tokens to every session and 709 once invoked, about $0.0002 per session on Opus 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-08-31.

Related

Other skills, from other repositories

relocate-claude-vm

Move the Claude Desktop "Computer Use" sandbox VM bundle (typically 11-13 GB at %APPDATA%\Claude\vmbundles on Windows) off the system drive to a roomier disk via a directory junction. Transparent to Claude Desktop, reversible. Use when the system drive is low on space and a disk scan shows vmbundles as a top consumer.…

ibrews/claude-fleet · 98 tokens

autoresearch

Autonomous experiment loop: modifies code, runs experiments, evaluates metrics, keeps improvements. Inspired by karpathy/autoresearch + pi-autoresearch + autoexp. Triggers: /autoresearch, 'auto research', 'optimize continuously', 'experiment loop', 'autonomous optimization'.

alfredolopez80/multi-agent-ralph-loop · 61 tokens

security

Claude-driven security audit with an independent second opinion. Integrates the ralph-security agent (6 quality pillars, OWASP A01-A10). Uses LSP for code navigation during analysis. Use when: (1) /security is invoked, (2) task relates to security functionality.

alfredolopez80/multi-agent-ralph-loop · 60 tokens

task-batch

Autonomous batch task execution with PRD parsing, task decomposition, and continuous execution until all tasks complete. Uses /orchestrator internally. Stops only for major failures (no internet, token limit, system crash). Use when: (1) processing task lists autonomously, (2) PRD-driven development, (3) batch feature…

alfredolopez80/multi-agent-ralph-loop · 96 tokens

diagram-design

Create technical and product diagrams — architecture, flowchart, sequence, state machine, ER / data model, timeline, swimlane, quadrant, nested, tree, layer stack, venn, pyramid — as standalone HTML files with inline SVG. Ships with a neutral editorial skin and a first-run gate that prompts users to customize the…

alfredolopez80/multi-agent-ralph-loop · 92 tokens

create-task-batch

Interactive wizard to create PRD or task lists for /task-batch. Uses /clarify and /ask-questions-if-underspecified for precise task definition. Use when: (1) preparing batch execution, (2) creating PRDs, (3) defining task lists with dependencies. Triggers: /create-task-batch, 'create tasks', 'new batch', 'prepare PRD'.

alfredolopez80/multi-agent-ralph-loop · 86 tokens