chatgpt-apps
Build, scaffold, refactor, and troubleshoot ChatGPT Apps SDK applications that combine an MCP server and widget UI.
Skill by bzellman
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/bzellman-chatgpt-apps
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, backend, productivity, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
chatgpt-apps- Description
- Build, scaffold, refactor, and troubleshoot ChatGPT Apps SDK applications that combine an MCP server and widget UI. Use when Codex needs to design tools, register UI resources, wire the MCP Apps bridge or ChatGPT compatibility APIs, apply Apps SDK metadata or CSP or domain settings, or produce a docs-aligned project scaffold. Prefer a docs-first workflow by invoking the openai-docs skill or OpenAI developer docs MCP tools before generating code.
- License
- MIT
- Instructions
- 317 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (11)
- LICENSE.txt
- SKILL.md
- openai.yaml · agents/
- app-archetypes.md · references/
- apps-sdk-docs-workflow.md · references/
- interactive-state-sync-patterns.md · references/
- repo-contract-and-validation.md · references/
- search-fetch-standard.md · references/
- upstream-example-workflow.md · references/
- window-openai-patterns.md · references/
- scaffold_node_ext_apps.mjs · scripts/
SKILL.md (first lines)
# ChatGPT Apps ## Overview Scaffold ChatGPT Apps SDK implementations with a docs-first, example-first workflow, then generate code that follows current Apps SDK and MCP Apps bridge patterns. Use this skill to produce: - A primary app-archetype classification and repo-shape decision - A tool plan (names, schemas, annotations, outputs) - An upstream starting-point recommendation (official example, ext-apps example, or local fallback scaffold) - An MCP server scaffold (resource registration, tool handlers, metadata) - A widget scaffold (MCP Apps bridge first, `window.openai` compatibility/extensions second) - A reusable Node + `@modelcontextprotocol/ext-apps` starter scaffold for low-dependency fallbacks - A validation report against the minimum working repo contract - Local dev and connector setup steps - A short stakeholder summary of what the app does (when requested) ## Mandatory Docs-First Workflow Use `$openai-docs` first whenever building or changing a ChatGPT Apps SDK app. 1. Invoke `$openai-docs` (preferred) or call the OpenAI docs MCP server directly. 2. Fetch current Apps SDK docs before writing code, especially (baseline pages): - `apps-sdk/build/mcp-server` - `apps-sdk/build/chatgpt-ui` - `apps-sdk/build/examples` - `apps-sdk/plan/tools` - `apps-sdk/reference` 3. Fetch `apps-sdk/quickstart` when scaffolding a new app or generating a first-pass implementation, and check the official examples repo/page before inventing a scaffold from scratch. 4. Fetch deployment/submission docs when the task includes local ChatGPT testing, hosting, or public launch: - `apps-sdk/deploy` - `apps-sdk/deploy/submission` - `apps-sdk/app-submission-guidelines` 5. Cite the docs URLs you used when explaining design choices or generated scaffolds. 6. Prefer current docs guidance over older repo patterns when they differ, and call out compatibility aliases explicitly. 7. If doc search times out or returns poor matches, fetch the canonical Apps SDK pages directly by URL and continue; do not let search failure block scaffolding. If `$openai-docs` is unavailable, use: - `mcp__openaiDeveloperDocs__search_openai_docs` - `mcp__openaiDeveloperDocs__fetch_openai_doc` Read `references/apps-sdk-docs-workflow.md` for suggested doc queries and a compact checklist. Read `references/app-archetypes.md` to classify the request into a small number of supported app shapes before choosing examples or scaffolds. Read `references/repo-contract-and-validation.md` when generating or reviewing a repo so the output stays inside a stable “working app” contract. Read `references/search-fetch-standard.md` when the app is connector-like, data-only, sync-oriented, or meant to work well with company knowledge or deep research. Read `references/upstream-example-workflow.md` when starting a greenfield app or when deciding whether to adapt an upstream example or use the local fallback scaffold. Read `references/window-openai-patterns.md` when the task needs ChatGPT-specific widget behavior or when translating repo examples that use wrapper-specific `app.*` helpers. ## Prompt Guidance Use prompts that explicitly pair this skill with `$openai-docs` so the resulting scaffold is grounded in current docs. Preferred prompt patterns: - `Use $chatgpt-apps with $openai-docs to scaffold a ChatGPT app for <use case> with a <TS/Python> MCP server and <React/vanilla> widget.` - `Use $chatgpt-apps with $openai-docs to adapt the closest official Apps SDK example into a ChatGPT app for <use case>.` - `Use $chatgpt-apps and $openai-docs to refactor this Apps SDK demo into a production-ready structure with tool annotations, CSP, and URI versioning.` - `Use $chatgpt-apps with $openai-docs to plan tools first, then generate the MCP server and widget code.` When responding, ask for or infer these inputs before coding: - Use case and primary user flows - Read-only vs mutating tools - Demo vs production target - Private/internal use vs public directory submission - Backend language and UI stack - Auth requirements - External API domains for CSP allowlists - Hosting target and local dev approach - Org ownership/verification readiness (for submission tasks) ## Classify The App Before Choosing Code Before choosing examples, repo shape, or scaffolds, classify the request into one primary archetype and state it. - `tool-only` - `vanilla-widget` - `react-widget` - `interactive-decoupled` - `submission-ready` Infer the archetype unless a missing detail is truly blocking. Use the archetype to choose: - whether a UI is needed at all - whether to preserve a split `server/` + `web/` layout - whether to prefer official OpenAI examples, ext-apps examples, or the local fallback scaffold - which validation checks matter most - whether `search` and `fetch` should be the default read-only tool surface Read `references/app-archetypes.md` for the decision rubric. ## Default Starting-Point Order For greenfield apps, prefer these starting points in order: 1. **Official OpenAI examples** when a close example already matches the requested stack or interaction pattern. 2. **Version-matched `@modelcontextprotocol/ext-apps` examples** when the user needs a lower-level or more portable MCP Apps baseline. 3. **`scripts/scaffold_node_ext_apps.mjs`** only when no close example fits, the user wants a tiny Node + vanilla starter, or network access/example retrieval is undesirable. Do not generate a large custom scaffold from scratch if a close upstream example already exists. Copy the smallest matching example, remove unrelated demo code, then patch it to the current docs and the user request. ## Build Workflow ### 0. Classify The App Archetype Pick one primary archetype before planning tools or choosing a starting point. - Prefer a single primary archetype instead of mixing several. - If the request is broad, infer the smallest archetype that can still satisfy it. - Escalate to `submission-ready` only when the user asks for public launch, directory submission, or review-ready deployment. - Call out the chosen archetype in your response so the user can correct it early if needed. ### 1. Plan Tools Before Code Define the tool surface area from user intents.
From bzellman/earp-kit, MIT.
More from bzellman/earp-kit
- 0.414score
ios-design
bzellman
Design and implement SwiftUI interfaces for <YOUR_APP> iOS app with design system compliance, Apple HIG principles, and visual references.
SkillDFreshness: DClaude Code +9 - 0.411score
ios-simulator-skill
bzellman
21 production-ready scripts for iOS app testing, building, and automation.
SkillDFreshness: DClaude Code +9 - 0.410score
install-tooling
bzellman
Use when installing new skills or agents from curated lists or GitHub repositories, when the user says "install", "add skill", "add agent", or wants to set up…
SkillDFreshness: DClaude Code +9 - 0.409score
brand-guidelines
bzellman
Applies <YOUR_APP>'s official brand colors and typography to any artifact.
SkillDFreshness: DClaude Code +9 - 0.406score
dead-code-cleanup
bzellman
Safely find and remove dead code from Swift files using an isolated git worktree.
SkillDFreshness: DClaude Code +9 - 0.401score
self-healing-deploy
bzellman
Self-healing merge-to-production pipeline.
SkillDFreshness: DClaude Code +9 - 0.399score
<YOUR_IOS_BUILD>
bzellman
Run <YOUR_APP> iOS builds and simulator tests through FULLSTACK_SCRIPTS/build-ios-formatted.sh and format-build-log.py.
SkillDFreshness: DClaude Code +9 - 0.397score
bug-to-pr
bzellman
End-to-end pipeline from bug report to merged fix PR.
SkillDFreshness: DClaude Code +9 - 0.385score
find-skills
bzellman
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express…
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Apr 7, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/bzellman/earp-kit
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.688score
chatgpt-apps
openaiOfficial
Build, scaffold, refactor, and troubleshoot ChatGPT Apps SDK applications that combine an MCP server and widget UI.
SkillDFreshness: D★ 28.3KClaude Code +9 - 0.298score
chatgpt-apps
whopointer
Build, scaffold, refactor, and troubleshoot ChatGPT Apps SDK applications that combine an MCP server and widget UI.
SkillCFreshness: C★ 1Claude Code +9 - 0.246score
chatgpt-apps
yuriyarhat-cyber
Build, scaffold, refactor, and troubleshoot ChatGPT Apps SDK applications that combine an MCP server and widget UI.
SkillDFreshness: DClaude Code +9
More from bzellman
- 0.414score
ios-design
bzellman
Design and implement SwiftUI interfaces for <YOUR_APP> iOS app with design system compliance, Apple HIG principles, and visual references.
SkillDFreshness: DClaude Code +9 - 0.411score
ios-simulator-skill
bzellman
21 production-ready scripts for iOS app testing, building, and automation.
SkillDFreshness: DClaude Code +9 - 0.410score
install-tooling
bzellman
Use when installing new skills or agents from curated lists or GitHub repositories, when the user says "install", "add skill", "add agent", or wants to set up…
SkillDFreshness: DClaude Code +9 - 0.409score
brand-guidelines
bzellman
Applies <YOUR_APP>'s official brand colors and typography to any artifact.
SkillDFreshness: DClaude Code +9 - 0.406score
dead-code-cleanup
bzellman
Safely find and remove dead code from Swift files using an isolated git worktree.
SkillDFreshness: DClaude Code +9 - 0.401score
self-healing-deploy
bzellman
Self-healing merge-to-production pipeline.
SkillDFreshness: DClaude Code +9
Cite this page
chatgpt-apps skill. Agent Mart. https://agentmart.dev/skills/bzellman-chatgpt-apps (last updated 2026-10-24)