Agent skill

Migrations

by theopenco in theopenco/llmgateway

Generate, review, edit, apply, or resolve conflicts for Drizzle database migrations in this repo.

Custom licenceAuto-check passedDatabases

Install Migrations

skills CLI
$ npx skills add theopenco/llmgateway --skill migrations -a claude-code

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

GitHub CLI
$ gh skill install theopenco/llmgateway migrations --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/theopenco/llmgateway.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/migrations .claude/skills/migrations && 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
migrations
GitHub stars
1.7k
Token cost
~984 tokens
SKILL.md length
487 words
Files
1
Skills in repo
19
Repo updated
First seen
Licence
Custom licence

At a glance

Generate, review, edit, apply, or resolve conflicts for Drizzle database migrations in this repo.

  • Works in 3 steps: Note any locking adaptation in your… → Delete your branch's migration folder,… → Re-apply only still-required locking…
  • Changing packages/db/src/schema.ts
  • SKILL.md covers Default: use generated SQL, How Drizzle tracks migrations, Generate migrations and Editing generated migrations, plus 2 more sections
  • Calls pnpm and git

What it does

Migrations is an agent skill from theopenco/llmgateway. Generate, review, edit, apply, or resolve conflicts for Drizzle database migrations in this repo. Use when changing packages/db/src/schema.ts, running pnpm migrations or pnpm migrate, touching packages/db/migrations, reviewing migration diffs, or handling migration merge conflicts.

Its SKILL.md is about 980 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, ORMs and data access and Git workflow. It works with pnpm and SQL. The repository describes itself as: Route, manage, and analyze your LLM requests across multiple providers with a unified API interface.

When your agent uses it

  • Changing packages/db/src/schema.ts
  • Running pnpm migrations
  • Touching packages/db/migrations
  • Reviewing migration diffs

Example prompts

  • “/migrations”

Workflow steps

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

  1. Note any locking adaptation in your branch's migration.sql; regeneration emits vanilla SQL and drops it.
  2. Delete your branch's migration folder, then run pnpm migrations.
  3. Re-apply only still-required locking adaptations. Do not carry speculative fallbacks forward.

What it can do on your machine

Read from SKILL.md and the folder at commit 414b1b9. 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:

    • pnpm
    • git

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

  • Network

    No URLs in SKILL.md. Its commands use pnpm and git, 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

Migrations loads about 984 tokens when it runs. Until then it costs about 73 tokens; SKILL.md has 487 words of instructions outside code blocks.

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

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 487 words (~984 tokens).

“Use this workflow for database schema changes and migration conflicts.”

— opening of SKILL.md by theopenco, Custom licence
name
migrations

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/migrations of theopenco/llmgateway.

Open the folder on GitHubat commit 414b1b9

Compare with similar skills

Migrations 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.

Migrations compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Migrations this skilltheopenco/llmgateway1.7k—~984Automated safety check: PassCustom licence
Archestra Dev Migrationsarchestra-ai/archestra4.4k—~804Automated safety check: PassCustom licence
Wtfnoobnooc/agent1.4k—~2.1kAutomated safety check: NotesNone
DB Migrationskurealnum/dotfiles290—~820Automated safety check: PassNone
Drizzle DatabaseChatbotXIO/ChatbotX879—~2.1kAutomated safety check: PassCustom licence
Drizzle Migration Rolloutlobehub/lobehub83k—~3.5kAutomated safety check: NotesCustom licence

Similar skills

  • Archestra Dev Migrations

    archestra-ai/archestra

    A skill your agent uses when changing Drizzle schemas, generating migrations, editing migration SQL, creating data-only migrations, diagnosing drizzle-kit check failures, or resolving…

    4.4k GitHub stars~804 tokensUpdated today
    DatabasesAuto-check passed
  • Wtf

    noobnooc/agent

    Pre-launch and pre-commit audit for vibe coding projects. An agent skill from noobnooc/agent.

    1.4k GitHub stars~2.1k tokensUpdated 1 mo ago
    DatabasesAuto-check: notes
  • 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
  • Drizzle Database

    ChatbotXIO/ChatbotX

    Work with Drizzle ORM database schema, migrations, relations, and queries in PostgreSQL.

    879 GitHub stars~2.1k tokensUpdated today
    DatabasesAuto-check passed
  • Covers schema conventions and safe rollout for Drizzle database migrations: online indexes, backfills, idempotent SQL and fixing regeneration or rebase conflicts.

    83k GitHub stars~3.5k tokensUpdated today
    DatabasesAuto-check: notes
  • Daoyou Data Layer

    ChurchTao/Daoyou

    Daoyou Drizzle/PostgreSQL、事务、V6 角色与宗门归属、统一背包、Redis 战局和回放归档指南。Use when modifying schema, migrations, repositories, persistence mappers, resource commits or durable game models.

    120 GitHub stars~1.9k tokensUpdated yesterday
    DatabasesAuto-check passed

More from theopenco/llmgateway

All 19 skills in this repo
  • Blog

    theopenco/llmgateway

    Write and validate an LLM Gateway marketing blog post in the repository's current house style, including structured frontmatter and a gpt-image-2 OpenGraph image.

    1.7k GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Model Benchmarks

    theopenco/llmgateway

    Run and report repository model or provider-mapping benchmarks.

    1.7k GitHub stars~1.1k tokensUpdated today
    Auto-check: notes
  • Skill Authoring

    theopenco/llmgateway

    Create, update, and audit repository-local agent skills against the current LLM Gateway codebase.

    1.7k GitHub stars~662 tokensUpdated today
    Auto-check passed
  • Security Audit

    theopenco/llmgateway

    Security best practices, vulnerability review, and full security audits for LLM Gateway.

    1.7k GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Changelog

    theopenco/llmgateway

    Write a new LLM Gateway changelog entry. An agent skill from theopenco/llmgateway.

    1.7k GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Knowledge Base

    theopenco/llmgateway

    Write a new LLM Gateway docs Knowledge base page under apps/docs/content/(product)/learn with light and dark dashboard screenshots.

    1.7k GitHub stars~1.7k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Migrations

What does Migrations do?

Generate, review, edit, apply, or resolve conflicts for Drizzle database migrations in this repo. Migrations is an agent skill from theopenco/llmgateway. Generate, review, edit, apply, or resolve conflicts for Drizzle database migrations in this repo.

When should I use Migrations?

Migrations fits situations like: changing packages/db/src/schema.ts; running pnpm migrations; touching packages/db/migrations; reviewing migration diffs.

How do I install Migrations in Claude Code?

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

How do I install Migrations in Codex?

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

Can I use Migrations 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 theopenco/llmgateway --skill migrations -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/migrations, .gemini/skills/migrations, .github/skills/migrations and .opencode/skills/migrations in your project.

What does Migrations need to run?

Going by SKILL.md and its folder, Migrations needs the command-line tools its instructions call (pnpm and git).

Does Migrations access the network?

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

Is Migrations 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 Migrations use?

Migrations 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 Migrations use?

About 984 tokens (SKILL.md is roughly 3.9k 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 Migrations?

Skills that share tags, products or a category with Migrations: Archestra Dev Migrations (archestra-ai/archestra, 4.4k stars), Wtf (noobnooc/agent, 1.4k stars), DB Migrations (kurealnum/dotfiles, 290 stars) and Drizzle Database (ChatbotXIO/ChatbotX, 879 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Migrations?

theopenco (a GitHub organization) maintains it in theopenco/llmgateway, which has 1,675 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on October 7, 2026.

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