A command-line utility that transforms natural language descriptions into complete, syntactically correct Prisma database schemas.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install prisma-schema-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 prisma-schema-gen using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Prisma Generator is a powerful developer tool designed to accelerate the initial phases of database design. By utilizing Openclaw Skills, it allows developers to focus on the logical structure of their data rather than the specific syntax of the Prisma Schema Language. Whether you are building an e-commerce platform or a complex social network, this tool interprets your requirements and outputs a baseline schema ready for implementation.
This utility is part of a broader ecosystem of Openclaw Skills aimed at reducing boilerplate and cognitive load during the development lifecycle. It handles the heavy lifting of defining relations, constraints, and standard timestamp fields, ensuring your project starts with a solid, well-architected foundation.
Prisma Generator is designed for zero-config usage via npx. Ensure you have Node.js 18+ installed and an OpenAI API key configured in your environment.
# Set your API key
export OPENAI_API_KEY='your_key_here'
# Run the generator
npx ai-prisma-gen "your app description"
To see all available flags and options, run:
npx ai-prisma-gen --help
The skill produces a structured Prisma schema. The generated output focuses on the following data taxonomy:
| Component | Description |
|---|---|
| Models | Core entities defined with appropriate scalar types. |
| Relations | Explicit @relation definitions for 1:1, 1:n, and m:n mappings. |
| Timestamps | Automatic inclusion of createdAt and updatedAt fields. |
| Indexes | @unique and @@index attributes for optimized querying. |
| Enums | Custom categorical types based on the provided description. |
Loading
Prisma Gen transforms natural language descriptions into fully formatted, production-ready Prisma database schemas in seconds.

Prefetch Advisor leverages AI to analyze application routing and user flows, recommending specific data and routes to prefetch for instantaneous navigation.

An AI-powered CLI tool that analyzes application routes to suggest and implement intelligent prefetching for instant page transitions.

An AI-powered CLI utility that analyzes project routes to suggest and generate code for high-probability data and page prefetching.

A token-efficient memory architecture that utilizes indexed progressive disclosure to minimize context rot and maximize agent relevance.

An AI-driven CLI tool designed to identify and fix performance bottlenecks in SQL and Prisma database queries.








































