8.7k★by lxgicstudios
schema-gen – OpenClaw Skill
schema-gen is an OpenClaw Skills integration for coding workflows. Generate database schemas from descriptions
Skill Snapshot
| name | schema-gen |
| description | Generate database schemas from descriptions OpenClaw Skills integration. |
| owner | lxgicstudios |
| repository | lxgicstudios/ai-schema |
| language | Markdown |
| license | MIT |
| topics | |
| security | L1 |
| install | openclaw add @lxgicstudios/ai-schema |
| last updated | Feb 7, 2026 |
Maintainer

name: schema-gen description: Generate database schemas from descriptions
Schema Generator
Describe your data, get a proper database schema. Supports SQL, Prisma, and Drizzle.
Quick Start
npx ai-schema "e-commerce with users, products, orders, reviews"
What It Does
- Generates complete database schema
- Adds proper relationships
- Includes indexes for common queries
- Handles timestamps and soft deletes
Usage Examples
# Generate SQL schema
npx ai-schema "blog with posts, authors, comments, tags"
# Prisma format
npx ai-schema "saas with teams and members" --format prisma
# Drizzle format
npx ai-schema "inventory system" --format drizzle
Output Formats
- Raw SQL (PostgreSQL, MySQL)
- Prisma schema
- Drizzle schema
- TypeORM entities
- Mongoose models
Includes
- Primary keys
- Foreign key relationships
- Indexes on common fields
- Timestamps (created/updated)
- Soft delete support
- Enum types where appropriate
Requirements
Node.js 18+. OPENAI_API_KEY required.
License
MIT. Free forever.
Built by LXGIC Studios
- GitHub: github.com/lxgicstudios/ai-schema
- Twitter: @lxgicstudios
No README available.
Permissions & Security
Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.
Requirements
Node.js 18+. OPENAI_API_KEY required.
FAQ
How do I install schema-gen?
Run openclaw add @lxgicstudios/ai-schema in your terminal. This installs schema-gen into your OpenClaw Skills catalog.
Does this skill run locally or in the cloud?
OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.
Where can I verify the source code?
The source repository is available at https://github.com/openclaw/skills/tree/main/skills/lxgicstudios/ai-schema. Review commits and README documentation before installing.
