skills$openclaw/schema-gen
lxgicstudios8.7k

by lxgicstudios

schema-gen – OpenClaw Skill

schema-gen is an OpenClaw Skills integration for coding workflows. Generate database schemas from descriptions

8.7k stars886 forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

nameschema-gen
descriptionGenerate database schemas from descriptions OpenClaw Skills integration.
ownerlxgicstudios
repositorylxgicstudios/ai-schema
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @lxgicstudios/ai-schema
last updatedFeb 7, 2026

Maintainer

lxgicstudios

lxgicstudios

Maintains schema-gen in the OpenClaw Skills directory.

View GitHub profile
File Explorer
2 files
.
_meta.json
470 B
SKILL.md
1.2 KB
SKILL.md

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

README.md

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.