An automated utility for generating timestamped SQL migration files directly from ORM schemas like Prisma and Drizzle.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install migration-gen
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install migration-gen using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Migration Generator is a specialized tool designed to bridge the gap between modern ORM schemas and raw database state management. By analyzing your existing schema definitions, it automatically produces robust SQL migration files that include both UP and DOWN operations, ensuring your database lifecycle remains predictable and manageable. As a key component within the Openclaw Skills ecosystem, this tool eliminates the manual overhead of writing complex SQL for schema changes while maintaining high standards for database versioning.
Built for speed and reliability, this skill supports widely used ORMs such as Prisma, Drizzle, TypeORM, and Sequelize. Openclaw Skills users can integrate this tool into their development environment with zero configuration, allowing for rapid schema iterations without compromising on the structural integrity of the production database.
To use this tool within the Openclaw Skills framework, ensure you have Node.js 18+ and an active environment variable for your AI provider.
# Set your API key
export OPENAI_API_KEY='your_api_key_here'
# Run the generator via npx
npx ai-migrate --orm prisma --name create_profile_table
The skill organizes generated migrations into a strict filesystem hierarchy designed for version control systems.
| Component | Format | Description |
|---|---|---|
| Directory Name | YYYYMMDDHHMMSS_name/ |
Chronological folder for organizing SQL files. |
| up.sql | SQL Script | The migration logic required to apply changes to the database. |
| down.sql | SQL Script | The rollback logic required to revert the specific migration. |
| SQL Guards | IF NOT EXISTS |
Automatic inclusion of safety guards to prevent execution errors. |
--output flag.Loading
A specialized CLI tool that converts plain English descriptions into production-ready Express middleware code with built-in error handling.

A powerful CLI utility for generating search-optimized HTML meta tags, Open Graph data, and structured JSON-LD schema.

An AI-powered tool that scans web pages and generates highly relevant meta tags, Open Graph cards, and Twitter previews.

An AI-powered CLI tool that intelligently resolves Git merge conflicts by analyzing context from both branches.

A high-speed utility to generate realistic mock data from natural language descriptions, TypeScript types, or existing schemas.

MockAPI is a zero-config CLI tool that transforms a simple JSON file into a full-featured REST API with CRUD operations, filtering, and pagination.








































