migration-data-step

migration-data-step is a skill for Claude Code from langwatch/langwatch. It costs 320 tokens per session (4,210 once invoked), scanned A, original, Apache-2.0.

A guide to defining data, tenant, and procedure migration steps. A migration changes stored data or its shape safely, and a checkpoint lets a long-running step resume after interruption.

In plain words
What is it for?
Use it to write backfills, data moves, tenant-by-tenant changes, and operator-controlled migration procedures.
Why use it?
It helps choose whether a change should run in SQL, in the background, or only when an operator asks, while avoiding unsafe or unresumable work.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: reads .claude/ paths.

Good fit Use it to write backfills, data moves, tenant-by-tenant changes, and operator-controlled migration procedures.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/langwatch/langwatch/migration-data-step
About the project

LangWatch is a platform for testing, evaluating, and monitoring LLM-powered agents before release and in production. Teams use it to run agent simulations, trace and evaluate behavior, improve prompts and models, review failures, and manage provider costs and governance.

langwatch/langwatch · 5,059 stars · on GitHub · langwatch.ai

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 langwatch/langwatch --skill migration-data-step
Clone the repo
git clone --depth 1 https://github.com/langwatch/langwatch

Made for: Claude Code.

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 migration-data-step

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/langwatch/langwatch/migration-data-step"><img src="https://agentmods.dev/badge/skills/langwatch/langwatch/migration-data-step.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 320 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,210 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.00320 $0.04210
Opus 5.5 $0.00128 $0.01684
Sonnet 5.5 $0.00064 $0.00842
Haiku 4.5 $0.00032 $0.00421

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

Security

Grade A, and why

migration-data-step 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 1mo 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.

.claude/skills/migration-data-step/SKILL.md · 252 lines

How it starts

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

Write a data step

A data step moves or reshapes data between an expand and its contract. Schema is the postgres-migration and clickhouse-migration skills; which recipe applies at all is migration. Record: ARCHITECTURE.md §7 (the rulings of rounds 14 to 16 are in ADR-173) and §9 for the events a step records; design dev/docs/plans/migrations-rethink-2026-10-06.md, cited "plan 6.x".

1. Choose kind and mode

The step Kind Mode Runs
Rows of a table the same migration creates, SQL only none none inline SQL in that Prisma migration (postgres-migration)
Needs domain code, a peer *Api, object storage, events or a model data background on the worker after the last release, newest code
A later release's schema or code cannot work until it is done, SQL suffices, only on tables created in its own release (never a sign-in or ingest table) data blocking inside upgrade, at its own release, before the next
Per tenant, with a legacy path served until a proof passes tenant background on the worker, per owner
Needs an operator's decision or arguments (plan, copy, finalize, verify) none none a named task outside the ledger (section 5)

Read the full file on GitHub · 252 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · +35 lines · +30 tokens per session 32c53721e0d7
  2. 1mo ago First seen · 217 lines · 290 tokens per session scan A 76d8c8be190c

Subscribe to this mod's changes

migration-data-step is a skill published in the GitHub repository langwatch/langwatch (5,059 stars, last pushed today), licensed Apache-2.0. It adds 320 tokens to every session and 4,210 once invoked, about $0.0013 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-10-13.

Related

migration-data-step compared with skills from other repositories

migration-data-step next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
migration-data-steplangwatch/langwatchSkill5.1ktodayApache-2.0A320Claude Code
magicbasedtyq/magicSkill5.1k1mo agononeA63Claude Code, Codex
teamshare-clidtyq/magicSkill5.1k1mo agononeA78Claude Code, Codex
ai-engineering-toolkitsickn33/agentic-awesome-skillsSkill51ktodayMITA47Claude Code
stale-sweepgoogleapis/mcp-toolboxSkill17k2d agoApache-2.0A159Claude Code, Codex
triage-issuesgoogleapis/mcp-toolboxSkill17k2d agoApache-2.0A164Claude Code, Codex
docsite-link-sweepgoogleapis/mcp-toolboxSkill17k2d agoApache-2.0A148Claude Code, Codex