chatgpt-apps
Complete ChatGPT Apps builder - Create, design, implement, test, and deploy ChatGPT Apps with MCP servers, widgets, auth, database integration, and automated deployment
Install
mkdir -p .claude/skills/chatgpt-apps && curl -L -o skill.zip "https://mcp.directory/api/skills/download/5727" && unzip -o skill.zip -d .claude/skills/chatgpt-apps && rm skill.zipInstalls to .claude/skills/chatgpt-apps
About this skill
ChatGPT Apps Builder
Complete workflow for building, testing, and deploying ChatGPT Apps from concept to production.
Commands
/chatgpt-apps new- Create a new ChatGPT App/chatgpt-apps add-tool- Add an MCP tool to your app/chatgpt-apps add-widget- Add a widget to your app/chatgpt-apps add-auth- Configure authentication/chatgpt-apps add-database- Set up database/chatgpt-apps validate- Validate your app/chatgpt-apps test- Run tests/chatgpt-apps deploy- Deploy to production/chatgpt-apps resume- Resume working on an app
Table of Contents
- Create New App
- Add MCP Tool
- Add Widget
- Add Authentication
- Add Database
- Generate Golden Prompts
- Validate App
- Test App
- Deploy App
- Resume App
1. Create New App
Purpose: Create a new ChatGPT App from concept to working code.
Workflow
Phase 1: Conceptualization
-
Ask for the app idea "What ChatGPT App would you like to build? Describe what it does and the problem it solves."
-
Analyze against UX Principles
- Conversational Leverage: What can users accomplish through natural language?
- Native Fit: How does this integrate with ChatGPT's conversational flow?
- Composability: Can tools work independently and combine with other apps?
-
Check for Anti-Patterns
- Static website content display
- Complex multi-step workflows requiring external tabs
- Duplicating ChatGPT's native capabilities
- Ads or upsells
-
Define Use Cases Create 3-5 primary use cases with user stories.
Phase 2: Design
-
Tool Topology
- Query tools (readOnlyHint: true)
- Mutation tools (destructiveHint: false)
- Destructive tools (destructiveHint: true)
- Widget tools (return UI with _meta)
- External API tools (openWorldHint: true)
-
Widget Design For each widget:
id- unique identifier (kebab-case)name- display namedescription- what it showsmockData- sample data for preview
-
Data Model Design entities and relationships.
-
Auth Requirements
- Single-user (no auth needed)
- Multi-user (Auth0 or Supabase Auth)
Phase 3: Implementation
Generate complete application with this structure:
{app-name}/
├── package.json
├── tsconfig.server.json
├── setup.sh
├── START.sh
├── .env.example
├── .gitignore
└── server/
└── index.ts
Critical Requirements:
Serverclass from@modelcontextprotocol/sdk/server/index.jsStreamableHTTPServerTransportfor session management- Widget URIs:
ui://widget/{widget-id}.html - Widget MIME type:
text/html+skybridge structuredContentin tool responses_metawithopenai/outputTemplateon tools
Phase 4: Testing
- Run setup:
./setup.sh - Start dev:
./START.sh --dev - Preview widgets:
http://localhost:3000/preview - Test MCP connection
Phase 5: Deployment
- Generate Dockerfile and render.yaml
- Deploy to Render
- Configure ChatGPT connector
2. Add MCP Tool
Purpose: Add a new MCP tool to your ChatGPT App.
Workflow
-
Gather Information
- What does this tool do?
- What inputs does it need?
- What does it return?
-
Classify Tool Type
- Query (readOnlyHint: true) - Fetches data
- Mutation (destructiveHint: false) - Creates/updates data
- Destructive (destructiveHint: true) - Deletes data
- Widget - Returns UI content
- External (openWorldHint: true) - Calls external APIs
-
Design Input Schema Create Zod schema with appropriate types and descriptions.
-
Generate Tool Handler Use
chatgpt-mcp-generatoragent to create:- Tool handler in
server/tools/ - Zod schema export
- Type exports
- Database queries (if needed)
- Tool handler in
-
Register Tool Update
server/index.tswith metadata:{ name: "my-tool", _meta: { "openai/toolInvocation/invoking": "Loading...", "openai/toolInvocation/invoked": "Done", "openai/outputTemplate": "ui://widget/my-widget.html", // if widget } } -
Update State Add tool to
.chatgpt-app/state.json.
Tool Naming
Use kebab-case: list-items, create-task, show-recipe-detail
Annotations Guide
| Scenario | readOnlyHint | destructiveHint | openWorldHint |
|---|---|---|---|
| List/Get | true | false | false |
| Create/Update | false | false | false |
| Delete | false | true | false |
| External API | varies | varies | true |
3. Add Widget
Purpose: Add inline HTML widgets with HTML/CSS/JS and Apps SDK integration.
5 Widget Patterns
- Card Grid - Multiple items in grid
- Stats Dashboard - Key metrics display
- Table - Tabular data
- Bar Chart - Simple visualizations
- Detail Widget - Single item details
Workflow
-
Gather Information
- Widget purpose and data
- Visual design (cards, table, chart, etc.)
- Interactivity needs
-
Define Data Shape Document expected structure with TypeScript interface.
-
Add Widget Config
const widgets: WidgetConfig[] = [ { id: "my-widget", name: "My Widget", description: "Displays data", templateUri: "ui://widget/my-widget.html", invoking: "Loading...", invoked: "Ready", mockData: { /* sample */ }, }, ]; -
Add Widget HTML Generate HTML with:
- Preview mode support (
window.PREVIEW_DATA) - OpenAI Apps SDK integration (
window.openai.toolOutput) - Event listeners (
openai:set_globals) - Polling fallback (100ms, 10s timeout)
- Preview mode support (
-
Create/Update Tool Link tool to widget via
widgetId. -
Test Widget Preview at
/preview/{widget-id}with mock data.
Widget HTML Structure
(function() {
let rendered = false;
function render(data) {
if (rendered || !data) return;
rendered = true;
// Render logic
}
function tryRender() {
if (window.PREVIEW_DATA) { render(window.PREVIEW_DATA); return; }
if (window.openai?.toolOutput) { render(window.openai.toolOutput); }
}
window.addEventListener('openai:set_globals', tryRender);
const poll = setInterval(() => {
if (window.openai?.toolOutput || window.PREVIEW_DATA) {
tryRender();
clearInterval(poll);
}
}, 100);
setTimeout(() => clearInterval(poll), 10000);
tryRender();
})();
4. Add Authentication
Purpose: Configure authentication using Auth0 or Supabase Auth.
When to Add
- Multiple users
- Persistent private data per user
- User-specific API credentials
Providers
Auth0:
- Enterprise-grade
- OAuth 2.1, PKCE flow
- Social logins (Google, GitHub, etc.)
Supabase Auth:
- Simpler setup
- Email/password default
- Integrates with Supabase database
Workflow
-
Choose Provider Ask user preference based on needs.
-
Guide Setup
- Auth0: Create application, configure callback URLs, get credentials
- Supabase: Already configured with database setup
-
Generate Auth Code Use
chatgpt-auth-generatoragent to create:- Session management middleware
- User subject extraction
- Token validation
-
Update Server Add auth middleware to protect routes.
-
Update Environment
# Auth0 AUTH0_DOMAIN=your-tenant.auth0.com AUTH0_CLIENT_ID=... AUTH0_CLIENT_SECRET=... # Supabase (from database setup) SUPABASE_URL=... SUPABASE_ANON_KEY=... -
Test Verify login flow and user isolation.
5. Add Database
Purpose: Configure PostgreSQL database using Supabase.
When to Add
- Persistent user data
- Multi-entity relationships
- Query/filter capabilities
Workflow
-
Check Supabase Setup Verify account and project exist.
-
Gather Credentials
- Project URL
- Anon key (public)
- Service role key (server-side)
-
Define Entities For each entity, specify:
- Fields and types
- Relationships
- Indexes
-
Generate Schema Use
chatgpt-database-generatoragent to create SQL with:id(UUID primary key)user_subject(varchar, indexed)created_at(timestamptz)updated_at(timestamptz)- RLS policies for user isolation
-
Setup Connection Pool
import { createClient } from '@supabase/supabase-js'; const supabase = createClient( process.env.SUPABASE_URL!, process.env.SUPABASE_SERVICE_ROLE_KEY! ); -
Apply Migrations Run SQL in Supabase dashboard or via migration tool.
Query Pattern
Always filter by user_subject:
const { data } = await supabase
.from('tasks')
.select('*')
.eq('user_subject', userSubject);
6. Generate Golden Prompts
Purpose: Generate test prompts to validate ChatGPT correctly invokes tools.
Why Important
- Measure precision/recall
- Enable iteration
- Post-launch monitoring
3 Categories
-
Direct Prompts - Explicit tool invocation
- "Show me my task list"
- "Create a new task called..."
-
Indirect Prompts - Outcome-based, ChatGPT should infer tool
- "What do I need to do today?"
- "Help me organize my work"
-
Negative Prompts - Should NOT trigger tool
- "What is a task?"
- "Tell me about project management"
Workflow
-
Analyze Tools Review each tool's purpose and inputs.
-
Generate Prompts For each tool, create:
- 5+ direct prompts
- 5+ indirect prompts
- 3+ negative prompts
- 2+ edge case prompts
-
Best Practices
- Tool descriptions start with "Use this when..."
- State limitations clearl
Content truncated.
More by openclaw
View all skills by openclaw →You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
drawio-diagrams-enhanced
jgtolentino
Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
ui-ux-pro-max
nextlevelbuilder
"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
nano-banana-pro
garg-aayush
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
fastapi-templates
wshobson
Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.
Related MCP Servers
Browse all serversThe fullstack MCP framework for developing MCP apps for ChatGPT, Claude, and building MCP servers for AI agents. Connect
Quickly rp prototype web apps with Scaffold Generator: create consistent scaffolding using templates, variable substitut
Integrate Auth0 with AI agents to manage Auth0 operations using natural language. Easily create apps and retrieve domain
Integrate with Anki for effortless flashcards+ management, create study notes, and sync across ankiweb for effective lea
AI Meta MCP Server — AI tool builder for autonomous AI tools and AI function platform: create JS, Python & Shell tools w
Manage and secure Hellō authentication apps with Hellō Admin — create, configure, and monitor user authentication quickl
Stay ahead of the MCP ecosystem
Get weekly updates on new skills and servers.