Agent skill

DB Migration Scripts

by golemcloud in golemcloud/golem

Writing database migration SQL scripts. An agent skill from golemcloud/golem.

Custom licenceAuto-check passedDatabases

Install DB Migration Scripts

skills CLI
$ npx skills add golemcloud/golem --skill db-migration-scripts -a claude-code

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

GitHub CLI
$ gh skill install golemcloud/golem db-migration-scripts --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/golemcloud/golem.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/db-migration-scripts .claude/skills/db-migration-scripts && 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
db-migration-scripts
GitHub stars
1.5k
Token cost
~1.5k tokens
SKILL.md length
675 words
Files
1
Skills in repo
289
Repo updated
First seen
Licence
Custom licence

At a glance

Writing database migration SQL scripts. An agent skill from golemcloud/golem.

  • Works in 3 steps: Confirm that the PostgreSQL and SQLite… → Run an affected persistence/repository… → Run the smallest affected crate check…
  • Modifying migration files under db/migration/ directories
  • SKILL.md covers Owning Directories, PostgreSQL and SQLite, File Naming and Follow the Local Schema Style, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

DB Migration Scripts is an agent skill from golemcloud/golem. Writing database migration SQL scripts. Use when creating or modifying migration files under db/migration/ directories, adding tables, indexes, or columns.

Its SKILL.md is about 1.5k 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. It works with SQL, PostgreSQL and SQLite. The repository describes itself as: Golem Cloud is the agent-native platform for building AI agents and distributed applications that never lose state, never duplicate work, and never require you to build…

When your agent uses it

  • Modifying migration files under db/migration/ directories
  • Tasks that involve Database migrations

Example prompts

  • “/db-migration-scripts”

Workflow steps

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

  1. Confirm that the PostgreSQL and SQLite filenames and schema results match.
  2. Run an affected persistence/repository test against both database variants. The selected test
  3. Run the smallest affected crate check and tests with --report-time.

What it can do on your machine

Read from SKILL.md and the folder at commit 2dea6b9. 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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are sql).

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

  • Network

    No URLs in SKILL.md.

    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

DB Migration Scripts loads about 1.5k tokens when it runs. Until then it costs about 44 tokens; SKILL.md has 675 words of instructions outside code blocks.

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

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 675 words (~1,491 tokens).

“The repository currently has these migration roots:”

— opening of SKILL.md by golemcloud, Custom licence
name
db-migration-scripts

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/db-migration-scripts of golemcloud/golem.

Open the folder on GitHubat commit 2dea6b9

Compare with similar skills

DB Migration Scripts 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.

DB Migration Scripts compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
DB Migration Scripts this skillgolemcloud/golem1.5k—~1.5kAutomated safety check: PassCustom licence
Database MigrationRain-kl/OpenFlare288—~1.3kAutomated safety check: PassApache-2.0
Database MarchatCod-e-Codes/marchat137—~985Automated safety check: PassMIT
SQL Database Support for pRESTprest/prest4.6k—~1.6kAutomated safety check: PassMIT
Cursor BYOK Database Schemaleookun/cursor-byok3.2k—~1.3kAutomated safety check: PassMIT
Migrationgocronx-team/gocron808—~1.1kAutomated safety check: PassMIT

Similar skills

  • Database Migration

    Rain-kl/OpenFlare

    Wavelet 项目专用:当新增或修改数据库表结构、索引、初始化数据、系统配置 seed、模板 seed、默认管理员、goose SQL 迁移、internal/infra/persistence/migrator、ClickHouse 分析库 DDL 或数据库升级流程时必须使用。本技能指导在 internal/infra/persistence/migrator/goose 下编写…

    288 GitHub stars~1.3k tokensUpdated today
    DatabasesAuto-check passed
  • Database Marchat

    Cod-e-Codes/marchat

    Changes marchat SQL schema and queries across SQLite, PostgreSQL, and MySQL using dialect helpers.

    137 GitHub stars~985 tokensUpdated 4 days ago
    DatabasesAuto-check passed
  • Guides classifying, gap-analyzing and scaffolding support for a new SQL database in pREST, from Postgres-compatible variants to entirely new dialects.

    4.6k GitHub stars~1.6k tokensUpdated yesterday
    DatabasesAuto-check passed
  • Cursor BYOK Database Schema

    leookun/cursor-byok

    Guides SQLite schema changes in the Cursor BYOK server, keeping SQLx migrations, the Rust store, API contracts and fixtures aligned.

    3.2k GitHub stars~1.3k tokensUpdated 9 days ago
    DatabasesAuto-check passed
  • Migration

    gocronx-team/gocron

    Create, review, or verify gocron database migrations across SQLite, MySQL, and PostgreSQL.

    808 GitHub stars~1.1k tokensUpdated 5 days ago
    DatabasesAuto-check passed
  • Squix

    eduardofuncao/squix

    Run SQL queries across databases (Postgres, MySQL, SQLite, etc.) via the squix CLI.

    273 GitHub stars~784 tokensUpdated 15 days ago
    DatabasesAuto-check passed

More from golemcloud/golem

All 289 skills in this repo
  • Moonbit C Binding

    golemcloud/golem

    Guide for writing MoonBit bindings to C libraries using native FFI.

    1.5k GitHub stars~3k tokensUpdated today
    Auto-check passed
  • Adding Dependencies

    golemcloud/golem

    Adding or updating crate dependencies in the Golem workspace.

    1.5k GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Analysing CI Failures

    golemcloud/golem

    Analysing GitHub Actions CI failures from a run URL. An agent skill from golemcloud/golem.

    1.5k GitHub stars~862 tokensUpdated today
    Auto-check passed
  • Adds a built-in WASM plugin that is externally released and provisioned by the registry service.

    1.5k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Debugging Hanging Tests

    golemcloud/golem

    Diagnosing and fixing hanging worker executor or integration tests.

    1.5k GitHub stars~879 tokensUpdated today
    Auto-check passed
  • Golem Add Agent Effect

    golemcloud/golem

    Adding an Effect-based agent to a Golem component. An agent skill from golemcloud/golem.

    1.5k GitHub stars~1.3k tokensUpdated today
    Auto-check passed

Categories

Questions about DB Migration Scripts

What does DB Migration Scripts do?

Writing database migration SQL scripts. An agent skill from golemcloud/golem. DB Migration Scripts is an agent skill from golemcloud/golem. Writing database migration SQL scripts.

When should I use DB Migration Scripts?

DB Migration Scripts fits situations like: modifying migration files under db/migration/ directories; tasks that involve Database migrations.

How do I install DB Migration Scripts in Claude Code?

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

How do I install DB Migration Scripts in Codex?

Run `npx skills add golemcloud/golem --skill db-migration-scripts -a codex`. Or copy the skill folder (.agents/skills/db-migration-scripts in golemcloud/golem) into .agents/skills/db-migration-scripts in your project. Codex loads it when a task matches its description.

Can I use DB Migration Scripts 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 golemcloud/golem --skill db-migration-scripts -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/db-migration-scripts, .gemini/skills/db-migration-scripts, .github/skills/db-migration-scripts and .opencode/skills/db-migration-scripts in your project.

What does DB Migration Scripts need to run?

SKILL.md names no scripts, command-line tools or credentials: DB Migration Scripts is instructions for the agent only.

Does DB Migration Scripts 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 DB Migration Scripts 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 DB Migration Scripts use?

DB Migration Scripts 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 DB Migration Scripts use?

About 1.5k tokens (SKILL.md is roughly 6k 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 DB Migration Scripts?

Skills that share tags, products or a category with DB Migration Scripts: Database Migration (Rain-kl/OpenFlare, 288 stars), Database Marchat (Cod-e-Codes/marchat, 137 stars), SQL Database Support for pREST (prest/prest, 4.6k stars) and Cursor BYOK Database Schema (leookun/cursor-byok, 3.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains DB Migration Scripts?

golemcloud (a GitHub organization) maintains it in golemcloud/golem, which has 1,506 GitHub stars. The repository holds 289 skills in this directory. The repository was last updated on October 7, 2026.

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