Agent skill

Lunora Migration Helper

by anolilab in anolilab/lunora

Plans and runs Lunora schema and data migrations with the widen → migrate → narrow pattern.

Custom licenceAuto-check passedDatabases

Install Lunora Migration Helper

skills CLI
$ npx skills add anolilab/lunora --skill lunora-migration-helper -a claude-code

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

GitHub CLI
$ gh skill install anolilab/lunora lunora-migration-helper --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/anolilab/lunora.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/cli/skills/lunora-migration-helper .claude/skills/lunora-migration-helper && 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
lunora-migration-helper
GitHub stars
284
Token cost
~2.6k tokens
SKILL.md length
1,111 words
Files
1
Skills in repo
16
Repo updated
First seen
Licence
Custom licence

At a glance

Plans and runs Lunora schema and data migrations with the widen → migrate → narrow pattern.

  • Works in 3 steps: Widen. Make the schema accept both… → Migrate. Backfill existing rows with a… → Narrow. Make the field required / drop…
  • The user wants to make a field required
  • SKILL.md covers Which storage layer are you…, The pattern: widen, migrate,…, What the drift gate considers… and Online data migrations, plus 3 more sections
  • Calls wrangler; needs LUNORA_ADMIN_TOKEN

What it does

Lunora Migration Helper is an agent skill from anolilab/lunora. Plans and runs Lunora schema and data migrations with the widen → migrate → narrow pattern. Covers online data migrations (defineMigration in lunora/migrations.ts, lunora migrate create | up | down | status), what the pre-deploy schema-drift gate treats as breaking and how a migration covers it, .global() table DDL on D1 (lunora migrate generate) and Hyperdrive, moving a dataset with lunora migrate d1-to-hyperdrive, and re-keying a .shardBy() table. Use when the user wants to make a field required, rename or drop…

Its SKILL.md is about 2.6k 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. It works with SQL. The repository describes itself as: Type-safe, real-time backend framework on your own Cloudflare account — Workers, Durable Objects, D1, R2, Queues. Convex-style DX, Vite-first.

When your agent uses it

  • The user wants to make a field required
  • Change a fields type
  • Add a unique index to a populated table
  • Switch a table between root / .shardBy() / .global()

Example prompts

  • “schema drift gate blocked”
  • “Use the lunora-migration-helper skill to plan and runs Lunora schema and data migrations with the widen → migrate → narrow pattern”
  • “/lunora-migration-helper”

Requirements

  • A credential in LUNORA_ADMIN_TOKEN

Workflow steps

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

  1. Widen. Make the schema accept both shapes: add the new field as
  2. Migrate. Backfill existing rows with a defineMigration, run it with
  3. Narrow. Make the field required / drop the old one, remove the

What it can do on your machine

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

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • wrangler

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

  • Network

    No URLs in SKILL.md. Its commands use wrangler, 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 these keys or tokens, usually read from environment variables:

    • LUNORA_ADMIN_TOKEN

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

Context cost

Lunora Migration Helper loads about 2.6k tokens when it runs. Until then it costs about 193 tokens; SKILL.md has 1,111 words of instructions outside code blocks.

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

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 passed

The automated check found no risky patterns in SKILL.md.

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,111 words (~2,622 tokens).

“Change a Lunora schema that already has data in it without breaking the deploy or losing rows.”

— opening of SKILL.md by anolilab, Custom licence
name
lunora-migration-helper

Read the full SKILL.md on GitHub

Files

Just SKILL.md in packages/cli/skills/lunora-migration-helper of anolilab/lunora.

Open the folder on GitHubat commit 3650b5e

Compare with similar skills

Lunora Migration Helper 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.

Lunora Migration Helper compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Lunora Migration Helper this skillanolilab/lunora284—~2.6kAutomated safety check: PassCustom licence
Evolving The Data ModelTriliumNext/Trilium38k—~2.1kAutomated safety check: PassAGPL-3.0
Orchardcore Data MigrationOrchardCMS/OrchardCore8.2k—~1.7kAutomated safety check: PassBSD-3-Clause
SQL Optimization Patternsynulihao/AgentSkillOS61811 repos~3.3kAutomated safety check: PassNone
SQL PortabilityHL7/sql-on-fhir151—~512Automated safety check: PassCustom licence
ChronicleailyProject/aily-blockly3.8k—~1.6kAutomated safety check: PassGPL-3.0

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
  • Orchardcore Data Migration

    OrchardCMS/OrchardCore

    Creates and updates OrchardCore data migrations (DataMigration classes with CreateAsync/UpdateFromX).

    8.2k GitHub stars~1.7k tokensUpdated yesterday
    DatabasesAuto-check passed
  • SQL Optimization Patterns

    ynulihao/AgentSkillOS

    Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries.

    618 GitHub starsUsed in 11 repos~3.3k tokens
    DatabasesAuto-check passed
  • SQL Portability

    HL7/sql-on-fhir

    Analyse whether a SQL query is portable across database implementations using sqlglot transpilation.

    151 GitHub stars~512 tokensUpdated 4 days ago
    DatabasesAuto-check passed
  • Chronicle

    ailyProject/aily-blockly

    Analyze indexed Aily chat session history for prior decisions, tool executions, project summaries, usage tips, and session-store reindexing.

    3.8k GitHub stars~1.6k tokensUpdated today
    DatabasesAuto-check passed
  • Stmo

    SAP/project-foxhound

    Official

    Manage Redash queries and dashboards on Mozilla's STMO (sql.telemetry.mozilla.org) using stmo-cli.

    180 GitHub starsUsed in 2 repos~1.8k tokens
    DatabasesAuto-check passed

More from anolilab/lunora

All 16 skills in this repo
  • Lunora Design

    anolilab/lunora

    This skill should be used when the user explicitly says "Lunora style", "Lunora design", "/lunora-design", or directly asks to use/apply the Lunora design system.

    284 GitHub stars~4.5k tokensUpdated today
    Auto-check passed
  • Lunora

    anolilab/lunora

    Routes general Lunora requests to the right Lunora skill and gives the shared mental model (codegen loop, generated api/internal references, review commands, add-on capabilities, the @lunora/mcp…

    284 GitHub stars~2.6k tokensUpdated today
    Auto-check passed
  • Lunora Create Package

    anolilab/lunora

    Builds a reusable Lunora capability, either as a registry item that lunora add / lunora registry add copies into an app's lunora/, or as a publishable @lunora/ workspace package in the Lunora…

    284 GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Lunora Deploy

    anolilab/lunora

    Deploys a Lunora app to Cloudflare Workers + Durable Objects and gets wrangler.jsonc, remote resources and secrets to line up.

    284 GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Diagnoses and fixes Lunora performance problems — full-table scans and missing indexes, expensive ctx.db.related traversals, OCC write conflicts (409 CONFLICT), live queries that re-run too often…

    284 GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Lunora Quickstart

    anolilab/lunora

    Creates a new Lunora project or adds Lunora to an existing app, then gets the first schema + query/mutation round-trip running.

    284 GitHub stars~2.5k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Lunora Migration Helper

What does Lunora Migration Helper do?

Plans and runs Lunora schema and data migrations with the widen → migrate → narrow pattern. Lunora Migration Helper is an agent skill from anolilab/lunora. Plans and runs Lunora schema and data migrations with the widen → migrate → narrow pattern.

When should I use Lunora Migration Helper?

Lunora Migration Helper fits situations like: the user wants to make a field required; change a fields type; add a unique index to a populated table; switch a table between root / .shardBy() / .global().

How do I install Lunora Migration Helper in Claude Code?

Run `npx skills add anolilab/lunora --skill lunora-migration-helper -a claude-code`. Or copy the skill folder (packages/cli/skills/lunora-migration-helper in anolilab/lunora) into .claude/skills/lunora-migration-helper in your project. Claude Code loads it when a task matches its description.

How do I install Lunora Migration Helper in Codex?

Run `npx skills add anolilab/lunora --skill lunora-migration-helper -a codex`. Or copy the skill folder (packages/cli/skills/lunora-migration-helper in anolilab/lunora) into .agents/skills/lunora-migration-helper in your project. Codex loads it when a task matches its description.

Can I use Lunora Migration Helper 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 anolilab/lunora --skill lunora-migration-helper -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/lunora-migration-helper, .gemini/skills/lunora-migration-helper, .github/skills/lunora-migration-helper and .opencode/skills/lunora-migration-helper in your project.

What does Lunora Migration Helper need to run?

Going by SKILL.md and its folder, Lunora Migration Helper needs the command-line tools its instructions call (wrangler) and credentials named LUNORA_ADMIN_TOKEN. Our summary lists: A credential in LUNORA_ADMIN_TOKEN.

Does Lunora Migration Helper access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Lunora Migration Helper safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Lunora Migration Helper use?

Lunora Migration Helper has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Lunora Migration Helper use?

About 2.6k tokens (SKILL.md is roughly 10k 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 Lunora Migration Helper?

Skills that share tags, products or a category with Lunora Migration Helper: Evolving The Data Model (TriliumNext/Trilium, 38k stars), Orchardcore Data Migration (OrchardCMS/OrchardCore, 8.2k stars), SQL Optimization Patterns (ynulihao/AgentSkillOS, 618 stars) and SQL Portability (HL7/sql-on-fhir, 151 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Lunora Migration Helper?

anolilab (a GitHub organization) maintains it in anolilab/lunora, which has 284 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on October 10, 2026.

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