migrate

migrate is a skill for Claude Code from GlamgarOnDiscord/claude-saas-blueprint. It costs 26 tokens per session (702 once invoked), scanned A, original, MIT.

A migration workflow for changing databases, major dependencies, libraries, or frameworks. It includes project-specific checks such as backups, local database testing, security policies, generated types, and tests.

In plain words
What is it for?
Use it to create and apply database migrations, upgrade packages or frameworks, update affected types, test the impact, and prepare rollback migrations.
Why use it?
Large technical changes can break data, security settings, or code that depends on older types and APIs. The workflow helps expose those risks and keeps already-applied database migrations unchanged.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python scripts/supabase_migrate.py --diff # voir l'état actuel.

Good fit Use it to create and apply database migrations, upgrade packages or frameworks, update affected types, test the impact, and prepare rollback migrations.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/GlamgarOnDiscord/claude-saas-blueprint
agentmods
npx agentmods add skills/glamgarondiscord/claude-saas-blueprint/migrate

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 migrate

README.md
[![agentmods](https://agentmods.dev/badge/skills/glamgarondiscord/claude-saas-blueprint/migrate/github.svg)](https://agentmods.dev/skills/glamgarondiscord/claude-saas-blueprint/migrate)
Your own site
<a href="https://agentmods.dev/skills/glamgarondiscord/claude-saas-blueprint/migrate"><img src="https://agentmods.dev/badge/skills/glamgarondiscord/claude-saas-blueprint/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/glamgarondiscord/claude-saas-blueprint/migrate"><img src="https://agentmods.dev/badge/skills/glamgarondiscord/claude-saas-blueprint/migrate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 702 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.00026 $0.00702
Opus 5 $0.00013 $0.00351
Sonnet 5 $0.00005 $0.00140
Haiku 4.5 $0.00003 $0.00070

Measured 11d ago against content hash f7b143d2a523, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 11d 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/migrate/SKILL.md · 73 lines

How it starts

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

Modes

/migrate db [description] — Migration de base de données

Avant de commencer :

# 1. Backup local obligatoire
python scripts/supabase_migrate.py --diff   # voir l'état actuel
git stash || git commit -m "chore: pre-migration checkpoint"

Création et application :

python scripts/supabase_migrate.py --new [description]   # crée le fichier migration
# Éditer le fichier créé dans supabase/migrations/
python scripts/supabase_migrate.py --env local           # appliquer en dev d'abord

Checklist post-migration :

  1. Toute nouvelle table → vérifier ENABLE ROW LEVEL SECURITY + politiques RLS
  2. python scripts/supabase_rls_check.py — doit retourner 0 tables sans RLS
  3. Mettre à jour core/entities/ et core/ports/ si les types changent
  4. Régénérer les types TypeScript : pnpm supabase gen types
  5. Tests blast radius : pnpm test -- --grep [feature]

Rollback :

python scripts/supabase_migrate.py --new rollback-[description]
# Écrire le SQL inverse dans le nouveau fichier
python scripts/supabase_migrate.py --env local

Règle stricte : jamais modifier une migration déjà appliquée — toujours créer une nouvelle.


/migrate dep [package] [version] — Mise à jour de dépendance majeure

  1. Lire changelog/release notes officiel (WebSearch) — breaking changes uniquement
  2. Grep les imports du package dans tout le projet
  3. Appliquer les changements fichier par fichier
  4. tsc --noEmit + tests après chaque fichier
  5. Si la migration est complexe → /deep-update (veille changelog approfondie)
  6. Documenter dans decisions.md si changement architecturel

/migrate lib [ancienne] → [nouvelle] — Changement de librairie

  1. Rechercher le guide de migration officiel (WebSearch)
  2. Mapper les API ancienne → nouvelle (tableau de correspondance)
  3. EnterPlanMode — plan fichier par fichier avant de toucher quoi que ce soit
  4. Remplacer fichier par fichier, tests verts entre chaque
  5. pnpm remove [ancienne] seulement quand 0 import restant (Grep)
  6. Tests complets + tsc --noEmit

Read the full file on GitHub · 73 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. 11d ago First seen · 73 lines · 26 tokens per session scan A f7b143d2a523

Subscribe to this mod's changes

migrate is a skill published in the GitHub repository GlamgarOnDiscord/claude-saas-blueprint (2 stars, last pushed 3mo ago), licensed MIT. It adds 26 tokens to every session and 702 once invoked, about $0.0001 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.