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…
Generate database migrations for a Medusa module. An agent skill from medusajs/medusa-agent-skills.
$ npx skills add medusajs/medusa-agent-skills --skill db-generate -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install medusajs/medusa-agent-skills db-generate --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/medusajs/medusa-agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/medusa-dev/skills/db-generate .claude/skills/db-generate && rm -rf skills-srcUse ~/.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/
Install the "db-generate" agent skill from https://github.com/medusajs/medusa-agent-skills/tree/main/plugins/medusa-dev/skills/db-generate into .claude/skills/db-generate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "db-generate", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/medusajs/medusa-agent-skills/tree/main/plugins/medusa-dev/skills/db-generateType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add medusajs/medusa-agent-skills --skill db-generate -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install medusajs/medusa-agent-skills db-generate --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/medusajs/medusa-agent-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/medusa-dev/skills/db-generate .agents/skills/db-generate && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "db-generate" agent skill from https://github.com/medusajs/medusa-agent-skills/tree/main/plugins/medusa-dev/skills/db-generate into .agents/skills/db-generate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "db-generate", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add medusajs/medusa-agent-skills --skill db-generate -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install medusajs/medusa-agent-skills db-generate --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/medusajs/medusa-agent-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/medusa-dev/skills/db-generate .cursor/skills/db-generate && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "db-generate" agent skill from https://github.com/medusajs/medusa-agent-skills/tree/main/plugins/medusa-dev/skills/db-generate into .cursor/skills/db-generate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "db-generate", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/medusajs/medusa-agent-skills.git --path plugins/medusa-dev/skills/db-generate--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add medusajs/medusa-agent-skills --skill db-generate -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install medusajs/medusa-agent-skills db-generate --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/medusajs/medusa-agent-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/medusa-dev/skills/db-generate .gemini/skills/db-generate && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "db-generate" agent skill from https://github.com/medusajs/medusa-agent-skills/tree/main/plugins/medusa-dev/skills/db-generate into .gemini/skills/db-generate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "db-generate", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install medusajs/medusa-agent-skills db-generateInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add medusajs/medusa-agent-skills --skill db-generate -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/medusajs/medusa-agent-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/medusa-dev/skills/db-generate .github/skills/db-generate && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "db-generate" agent skill from https://github.com/medusajs/medusa-agent-skills/tree/main/plugins/medusa-dev/skills/db-generate into .github/skills/db-generate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "db-generate", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add medusajs/medusa-agent-skills --skill db-generate -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install medusajs/medusa-agent-skills db-generate --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/medusajs/medusa-agent-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/medusa-dev/skills/db-generate .opencode/skills/db-generate && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "db-generate" agent skill from https://github.com/medusajs/medusa-agent-skills/tree/main/plugins/medusa-dev/skills/db-generate into .opencode/skills/db-generate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "db-generate", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
db-generateGenerate database migrations for a Medusa module. An agent skill from medusajs/medusa-agent-skills.
DB Generate is an agent skill from medusajs/medusa-agent-skills. Generate database migrations for a Medusa module
Its SKILL.md is about 190 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. The repository describes itself as: Agent skills and commands for Medusa best practices and conventions.
Read from SKILL.md and the folder at commit 066132d. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
Bash(npx medusa db:generate:*)From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
npxFrom the folder's file list and the shell code blocks in SKILL.md.
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.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
DB Generate loads about 192 tokens when it runs. Until then it costs about 15 tokens; SKILL.md has 81 words of instructions outside code blocks.
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.
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.
Without a licence we can't republish the file, so here is its outline and opening line. It has 81 words (~192 tokens).
“Generate database migrations for the specified Medusa module.”
Just SKILL.md in plugins/medusa-dev/skills/db-generate of medusajs/medusa-agent-skills.
Open the folder on GitHubat commit 066132d
DB Generate 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| DB Generate this skillmedusajs/medusa-agent-skills | 228 | — | ~192 | Automated safety check: Pass | None | |
| Evolving The Data ModelTriliumNext/Trilium | 38k | — | ~2.1k | Automated safety check: Pass | AGPL-3.0 | |
| Creating Database MigrationsNangoHQ/nango | 13k | — | ~449 | Automated safety check: Pass | Custom licence | |
| Openwrt Package UpdateNethServer/nethsecurity | 191 | — | ~841 | Automated safety check: Pass | Custom licence | |
| Free Willsyahiidkamil/Software-Engineer-AI-Agent-Atlas | 401 | — | ~3.4k | Automated safety check: Pass | None | |
| Ecto Migrationsoperately/operately | 577 | — | ~1.2k | Automated safety check: Pass | Custom licence |
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…
NangoHQ/nango
A skill your agent uses when adding or editing Nango database migrations - covers migration directory selection, timestamped .cjs naming, matching recent migration style, down migration decisions…
NethServer/nethsecurity
A skill your agent uses when updating any forked OpenWrt package in a NethSecurity workspace from the upstream openwrt/packages feed.
syahiidkamil/Software-Engineer-AI-Agent-Atlas
Deliberate-choice procedure for a medium-to-high-stakes engineering fork — when the first plausible solution (the instinct, the default next-token pull) would be costly to get wrong.
operately/operately
Rules for Operately schema migrations (app/priv/repo/migrations/) and data migrations (app/lib/operately/data/change.ex).
simstudioai/sim
Author or review a Drizzle DB migration for zero-downtime safety — expand/contract phasing, backward-compatibility with the deployed app version, and writing the -- migration-safe acknowledgment the…
medusajs/medusa-agent-skills
Walks through adding an AI agent for store operators to a Medusa project: data models, module service, agent runtime, streaming API route and admin chat UI.
medusajs/medusa-agent-skills
Interactive tutorial where the agent teaches Medusa development by guiding you through building a brands feature, with lessons and verification checkpoints.
medusajs/medusa-agent-skills
Runs the mcloud commands for logging in, checking who is authenticated, and choosing the active organization, project and environment.
medusajs/medusa-agent-skills
Lists Medusa Cloud deployments, fetches one deployment's details and reads backend or storefront build logs through the mcloud CLI to debug failed builds.
medusajs/medusa-agent-skills
Runs mcloud environments commands to list, inspect, create, delete, redeploy or rebuild environments in Medusa Cloud projects.
medusajs/medusa-agent-skills
Reproduces a Medusa Cloud build on your machine with mcloud local build, to debug build-failed deployments without pushing or waiting on Cloud.
Categories
Generate database migrations for a Medusa module. An agent skill from medusajs/medusa-agent-skills. DB Generate is an agent skill from medusajs/medusa-agent-skills.
DB Generate fits situations like: tasks that involve Database migrations.
Run `npx skills add medusajs/medusa-agent-skills --skill db-generate -a claude-code`. Or copy the skill folder (plugins/medusa-dev/skills/db-generate in medusajs/medusa-agent-skills) into .claude/skills/db-generate in your project. Claude Code loads it when a task matches its description.
Run `npx skills add medusajs/medusa-agent-skills --skill db-generate -a codex`. Or copy the skill folder (plugins/medusa-dev/skills/db-generate in medusajs/medusa-agent-skills) into .agents/skills/db-generate in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add medusajs/medusa-agent-skills --skill db-generate -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-generate, .gemini/skills/db-generate, .github/skills/db-generate and .opencode/skills/db-generate in your project.
Going by SKILL.md and its folder, DB Generate needs the command-line tools its instructions call (npx). Our summary lists: Node.js. Its frontmatter pre-approves these tools: Bash(npx medusa db:generate:*).
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.
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.
No licence was found for DB Generate or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.
About 192 tokens (SKILL.md is roughly 768 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with DB Generate: Evolving The Data Model (TriliumNext/Trilium, 38k stars), Creating Database Migrations (NangoHQ/nango, 13k stars), Openwrt Package Update (NethServer/nethsecurity, 191 stars) and Free Will (syahiidkamil/Software-Engineer-AI-Agent-Atlas, 401 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
medusajs (a GitHub organization) maintains it in medusajs/medusa-agent-skills, which has 228 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on October 5, 2026.
Source: medusajs/medusa-agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.