Complete ChatGPT Apps builder - Create, design, implement, test, and deploy ChatGPT Apps with MCP servers, widgets, auth, database integration, and automated deployment
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install chatgpt-apps或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install chatgpt-apps⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/chatgpt-apps/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: chatgpt-apps description: Complete ChatGPT Apps builder - Create, design, implement, test, and deploy ChatGPT Apps with MCP servers, widgets, auth, database integration, and automated deployment homepage: https://github.com/hollaugo/prompt-circle-claude-plugins user-invocable: true ---
Complete workflow for building, testing, and deploying ChatGPT Apps from concept to production.
/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---
---
Purpose: Create a new ChatGPT App from concept to working code.
"What ChatGPT App would you like to build? Describe what it does and the problem it solves."
- 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?
- Static website content display - Complex multi-step workflows requiring external tabs - Duplicating ChatGPT's native capabilities - Ads or upsells
Create 3-5 primary use cases with user stories.
- Query tools (readOnlyHint: true) - Mutation tools (destructiveHint: false) - Destructive tools (destructiveHint: true) - Widget tools (return UI with _meta) - External API tools (openWorldHint: true)
For each widget: - id - unique identifier (kebab-case) - name - display name - description - what it shows - mockData - sample data for preview
Design entities and relationships.
- Single-user (no auth needed) - Multi-user (Auth0 or Supabase Auth)
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:
Server class from @modelcontextprotocol/sdk/server/index.jsStreamableHTTPServerTransport for session managementui://widget/{widget-id}.htmltext/html+skybridgestructuredContent in tool responses_meta with openai/outputTemplate on tools./setup.sh./START.sh --devhttp://localhost:3000/preview---
Purpose: Add a new MCP tool to your ChatGPT App.
- What does this tool do? - What inputs does it need? - What does it return?
- 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
Create Zod schema with appropriate types and descriptions.
Use chatgpt-mcp-generator agent to create: - Tool handler in server/tools/ - Zod schema export - Type exports - Database queries (if needed)
Update server/index.ts with metadata: ```typescript { name: "my-tool", _meta: { "openai/toolInvocation/invoking": "Loading...", "openai/toolInvocation/invoked": "Done", "openai/outputTemplate": "ui://widget/my-widget.html", // if widget } } ```
Add tool to .chatgpt-app/state.json.
Use kebab-case: list-items, create-task, show-recipe-detail
| Scenario | readOnlyHint | destructiveHint | openWorldHint | |----------|--------------|-----------------|---------------| | List/Get | true | false | false | | Create/Update | false | false | false | | Delete | false | true | false | | External API | varies | varies | true |
---
Purpose: Add inline HTML widgets with HTML/CSS/JS and Apps SDK integration.
- Widget purpose and data - Visual design (cards, table, chart, etc.) - Interactivity needs
Document expected structure with TypeScript interface.
```typescript const widgets: WidgetConfig[] = [ { id: "my-widget", name: "My Widget", description: "Displays data", templateUri: "ui://widget/my-widget.html", invoking: "Loading...", invoked: "Ready", mockData: { / sample / }, }, ]; ```
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)
Link tool to widget via widgetId.
Preview at /preview/{widget-id} with mock data.
(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();
})();
---
Purpose: Configure authentication using Auth0 or Supabase Auth.
Auth0:
Supabase Auth:
Ask user preference based on needs.
- Auth0: Create application, configure callback URLs, get credentials - Supabase: Already configured with database setup
Use chatgpt-auth-generator agent to create: - Session management middleware - User subject extraction - Token validation
Add auth middleware to protect routes.
...
安装 Chatgpt Apps 后,可以对 AI 说这些话来触发它
Help me get started with Chatgpt Apps
Explains what Chatgpt Apps does, walks through the setup, and runs a quick demo based on your current project
Use Chatgpt Apps to complete ChatGPT Apps builder - Create, design, implement, test, an...
Invokes Chatgpt Apps with the right parameters and returns the result directly in the conversation
What can I do with Chatgpt Apps in my developer & devops workflow?
Lists the top use cases for Chatgpt Apps, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/chatgpt-apps/ 目录(个人级,所有项目可用),或 .claude/skills/chatgpt-apps/(项目级)。重启 AI 客户端后,用 /chatgpt-apps 主动调用,或让 AI 根据上下文自动发现并使用。
Chatgpt Apps 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Chatgpt Apps 可免费安装使用。请查阅仓库了解许可证信息。
Complete ChatGPT Apps builder - Create, design, implement, test, and deploy ChatGPT Apps with MCP servers, widgets, auth, database integration, and automated deployment
Chatgpt Apps 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using Chatgpt Apps
Identifies repetitive steps in your workflow and sets up Chatgpt Apps to handle them automatically