Agent skill

Migrate Create

by ruvnet in ruvnet/ruflo

Create a new sequentially numbered database migration with up/down SQL files

MITAuto-check: notesDatabases

Install Migrate Create

skills CLI
$ npx skills add ruvnet/ruflo --skill migrate-create -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ruvnet/ruflo migrate-create --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ruvnet/ruflo.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/ruflo-migrations/skills/migrate-create .claude/skills/migrate-create && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
migrate-create
GitHub stars
74k
Token cost
~583 tokens
SKILL.md length
224 words
Files
1
Skills in repo
264
Repo updated
First seen
Licence
MIT

At a glance

Create a new sequentially numbered database migration with up/down SQL files

  • Works in 7 steps: Determine next number -- use Glob to… → Select template -- based on the , choose… → Generate up migration -- write… → …
  • Tasks that involve Database migrations
  • SKILL.md covers When to use, Steps and CLI alternative
  • Calls npx

What it does

Migrate Create is an agent skill from ruvnet/ruflo. Create a new sequentially numbered database migration with up/down SQL files

Its SKILL.md is about 580 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Databases, covering Database migrations and SQL. It works with SQL. The repository describes itself as: 🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory…. The licence is MIT.

When your agent uses it

  • Tasks that involve Database migrations
  • Tasks that involve SQL

Example prompts

  • “/migrate-create”

Requirements

  • Node.js
  • Pre-approved tools (allowed-tools): Read, Write, Glob, Bash, mcp__plugin_ruflo-core_ruflo__memory_store, mcp__plugin_ruflo-core_ruflo__memory_search, mcp__plugin_ruflo-core_ruflo__agentdb_pattern-search

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Determine next number -- use Glob to scan the migrations directory for existing migration files and find the highest number, then…
  2. Select template -- based on the , choose the appropriate SQL template
  3. Generate up migration -- write NNN_.up.sql with the appropriate SQL using IF NOT EXISTS for idempotency
  4. Generate down migration -- write NNN_.down.sql with the reverse operation using IF EXISTS
  5. Search past patterns -- call mcpplugin_ruflo-core_rufloagentdb_pattern-search (ReasoningBank-routed; don't pass a namespace argument…
  6. Store metadata -- call mcpplugin_ruflo-core_ruflomemory_store --namespace migrations to record the migration with number, name, status…
  7. Report -- display: migration number, file paths created, template used, any similar past migrations found

What it can do on your machine

Read from SKILL.md and the folder at commit de590e1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Glob
    • Bash
    • mcp__plugin_ruflo-core_ruflo__memory_store
    • mcp__plugin_ruflo-core_ruflo__memory_search
    • mcp__plugin_ruflo-core_ruflo__agentdb_pattern-search

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Migrate Create loads about 583 tokens when it runs. Until then it costs about 23 tokens; SKILL.md has 224 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~23
When it runs · the whole SKILL.md, loaded when a task matches
~583

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Glob, Bash, mcp__plugin_ruflo-core_ruflo__memory_store, mcp__plugin_ruflo-core_ruflo__m

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ruvnet/ruflo at commit de590e1, republished under its MIT licence (© ruvnet). 224 words, ~583 tokens.

Download SKILL.mdSave it as .claude/skills/migrate-create/SKILL.md (or your agent's skills folder).
name
migrate-create
description
Create a new sequentially numbered database migration with up/down SQL files
allowed-tools
Read, Write, Glob, Bash, mcp__plugin_ruflo-core_ruflo__memory_store, mcp__plugin_ruflo-core_ruflo__memory_search, mcp__plugin_ruflo-core_ruflo__agentdb_pattern-search
argument-hint
<name>

Migrate Create

Generate a new database migration with sequential numbering and up/down SQL file pair.

When to use

When you need to create a new database migration for schema changes such as creating tables, adding columns, creating indexes, or modifying constraints.

Steps

  1. Determine next number -- use Glob to scan the migrations directory for existing migration files and find the highest number, then increment by 1 (zero-pad to 3 digits)
  2. Select template -- based on the <name>, choose the appropriate SQL template:
    • Names starting with create_ -> CREATE TABLE template
    • Names starting with add_ -> ALTER TABLE ADD COLUMN template
    • Names starting with drop_ -> DROP with safety checks
    • Names containing index -> CREATE INDEX template
    • Other -> generic migration template with placeholder comments
  3. Generate up migration -- write NNN_<name>.up.sql with the appropriate SQL using IF NOT EXISTS for idempotency
  4. Generate down migration -- write NNN_<name>.down.sql with the reverse operation using IF EXISTS
  5. Search past patterns -- call mcp__plugin_ruflo-core_ruflo__agentdb_pattern-search (ReasoningBank-routed; don't pass a namespace argument — pattern-* tools ignore it).
  6. Store metadata -- call mcp__plugin_ruflo-core_ruflo__memory_store --namespace migrations to record the migration with number, name, status (pending), and file paths. The memory_* tool family routes by namespace; agentdb_hierarchical-* does NOT (it routes by tier working|episodic|semantic), so use memory_* here. See ruflo-agentdb ADR-0001 §"Namespace convention".
  7. Report -- display: migration number, file paths created, template used, any similar past migrations found

CLI alternative

bash
npx @claude-flow/cli@latest memory store --namespace migrations --key "migration-NNN_NAME" --value '{"number": NNN, "name": "NAME", "status": "pending"}'

© ruvnet, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/ruflo-migrations/skills/migrate-create of ruvnet/ruflo.

Open the folder on GitHubat commit de590e1

Compare with similar skills

Migrate Create next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Migrate Create compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Migrate Create this skillruvnet/ruflo74k—~583Automated safety check: NotesMIT
Evolving The Data ModelTriliumNext/Trilium38k—~2.1kAutomated safety check: PassAGPL-3.0
DB Migrationskurealnum/dotfiles290—~820Automated safety check: PassNone
Forge Business Flow Developmentyaomindong1996/forge-admin125—~1.3kAutomated safety check: PassApache-2.0
Migrationkortix-ai/suna20k—~1.2kAutomated safety check: PassCustom licence
Data Modelgenkovich/sdd171—~4kAutomated safety check: PassMIT

Similar skills

  • Evolving The Data Model

    TriliumNext/Trilium

    A skill your agent uses when adding a DB migration or a new column/field to a Becca entity in Trilium ("add a migration", "new column on notes/attributes", "ALTER TABLE", "add a field to…

    38k GitHub stars~2.1k tokensUpdated today
    DatabasesAuto-check passed
  • DB Migrations

    kurealnum/dotfiles

    A skill your agent uses when generating or regenerating Drizzle migration files, changing database schema tables or columns, resolving migration sequence conflicts after rebase, reviewing migration…

    290 GitHub stars~820 tokensUpdated 5 mo ago
    DatabasesAuto-check passed
  • Forge Business Flow Development

    yaomindong1996/forge-admin

    Develop Forge business approval workflows backed by Flowable, using the current sample purchase order approval as the reference.

    125 GitHub stars~1.3k tokensUpdated yesterday
    DatabasesAuto-check passed
  • Migration

    kortix-ai/suna

    How to change the database schema in this repo. An agent skill from kortix-ai/suna.

    20k GitHub stars~1.2k tokensUpdated today
    DatabasesAuto-check passed
  • Data Model

    genkovich/sdd

    A skill your agent uses to design the data model AND generate the actual forward + rollback migrations in one pass — shippable SQL, not a plan.

    171 GitHub stars~4k tokensUpdated 1 mo ago
    DatabasesAuto-check passed
  • Cockroachdb Engineer

    FerroxLabs/wayland

    CockroachDB distributed SQL expert covering multi-region deployment, survivability goals, schema design for distributed systems, online schema changes, transaction contention management, follower…

    608 GitHub stars~4k tokensUpdated yesterday
    DatabasesAuto-check passed

More from ruvnet/ruflo

All 264 skills in this repo
  • Stores, searches, and retrieves successful patterns with HNSW-indexed semantic search so agents can reuse past solutions instead of relearning them.

    74k GitHub starsUsed in 2 repos~830 tokens
    Auto-check passed
  • Runs claude-flow CLI security scans for input validation, path traversal, SQL injection, XSS, hardcoded secrets and known CVEs, and writes an audit report.

    74k GitHub starsUsed in 2 repos~823 tokens
    Auto-check passed
  • Applies the SPARC method (specification, pseudocode, architecture, refinement, completion) with 17 specialized modes and multi-agent orchestration, from research to deployment.

    74k GitHub starsUsed in 2 repos~829 tokens
    Auto-check passed
  • Coordinates a hierarchical swarm of specialized agents through the claude-flow CLI for work that spans several files or modules at once.

    74k GitHub starsUsed in 2 repos~779 tokens
    Auto-check passed
  • Sets up and drives Ruflo, an npm-installed orchestration layer for multi-agent swarms, persistent memory, routing, hooks and its MCP tool catalog.

    74k GitHub starsUsed in 1 repo~975 tokens
    Auto-check passed
  • Agent Coordination

    ruvnet/ruflo

    Reference for spawning, listing, monitoring and stopping agents with claude-flow commands, with agent type families, routing codes and coordination tips.

    74k GitHub starsUsed in 2 repos~519 tokens
    Auto-check passed

Works with

Categories

Questions about Migrate Create

What does Migrate Create do?

Create a new sequentially numbered database migration with up/down SQL files. Migrate Create is an agent skill from ruvnet/ruflo.

When should I use Migrate Create?

Migrate Create fits situations like: tasks that involve Database migrations; tasks that involve SQL.

How do I install Migrate Create in Claude Code?

Run `npx skills add ruvnet/ruflo --skill migrate-create -a claude-code`. Or copy the skill folder (plugins/ruflo-migrations/skills/migrate-create in ruvnet/ruflo) into .claude/skills/migrate-create in your project. Claude Code loads it when a task matches its description.

How do I install Migrate Create in Codex?

Run `npx skills add ruvnet/ruflo --skill migrate-create -a codex`. Or copy the skill folder (plugins/ruflo-migrations/skills/migrate-create in ruvnet/ruflo) into .agents/skills/migrate-create in your project. Codex loads it when a task matches its description.

Can I use Migrate Create in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ruvnet/ruflo --skill migrate-create -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/migrate-create, .gemini/skills/migrate-create, .github/skills/migrate-create and .opencode/skills/migrate-create in your project.

What does Migrate Create need to run?

Going by SKILL.md and its folder, Migrate Create needs the command-line tools its instructions call (npx). Our summary lists: Node.js. Its frontmatter pre-approves these tools: Read, Write, Glob, Bash, mcp__plugin_ruflo-core_ruflo__memory_store, mcp__plugin_ruflo-core_ruflo__memory_search, mcp__plugin_ruflo-core_ruflo__agentdb_pattern-search.

Does Migrate Create access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Migrate Create safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Migrate Create use?

Migrate Create is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Migrate Create use?

About 583 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Migrate Create?

Skills that share tags, products or a category with Migrate Create: Evolving The Data Model (TriliumNext/Trilium, 38k stars), DB Migrations (kurealnum/dotfiles, 290 stars), Forge Business Flow Development (yaomindong1996/forge-admin, 125 stars) and Migration (kortix-ai/suna, 20k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Migrate Create?

ruvnet (a GitHub user) maintains it in ruvnet/ruflo, which has 74,012 GitHub stars. The repository holds 264 skills in this directory. The repository was last updated on October 7, 2026.

Source: ruvnet/ruflo on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.