All skills
alpic-ai avatar

/chatgpt-app-builder

@3340b34
by Alpicalpic-ai/skybridge2.1k stars
140

Guide developers through creating and updating ChatGPT apps. Covers the full lifecycle: brainstorming ideas against UX guidelines, bootstrapping projects, implementing tools/views, debugging, running dev servers, deploying and connecting apps to ChatGPT. Use when a user wants to create or update a ChatGPT app / MCP server for ChatGPT, or use the Skybridge framework.

Use this Skill: https://skilld.dev/gh/alpic-ai/skybridge/chatgpt-app-builder

This session only. Nothing lands on disk.

referencesrun-locally.md

≈1k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Running Locally Workflow

1. Start Dev Server

Install dependencies and start the dev server in the background:

{pm} install && {pm} run dev

For Deno projects, use deno task dev instead.

When started, output the local MCP server and devtools URL.

Hot reload enabled (nodemon for server, HMR for views).

2. Test in DevTools via Chrome DevTools MCP (Optional)

The devtools page renders views locally, and it exposes its actions as WebMCP tools, so you can drive it directly instead of clicking around: run any registered tool and see its view render in the preview, read the rendered result, and switch the preview controls. This closes the loop on your own work (edit a view, run the tool, read the result, fix what is wrong) and is much faster than click/fill/screenshot interactions.

Setup

The agent reaches the page's WebMCP tools through chrome-devtools-mcp, registered with the WebMCP category flag and the Chrome feature flags forwarded to the browser it launches. When configured, the list_webmcp_tools and execute_webmcp_tool tools are available; if they are absent, offer the user the registration command (WebMCP is experimental and needs Chrome 149+):

claude mcp add chrome-devtools --scope user -- \
  npx chrome-devtools-mcp@latest \
  --categoryExperimentalWebmcp=true \
  --chrome-arg=--enable-features=WebMCP,DevToolsWebMCPSupport

(Codex: codex mcp add chrome-devtools -- npx ... with the same args. Other clients: see the client configuration guide.)

Workflow

  1. navigate_page to the devtools URL output by the dev server
  2. list_webmcp_tools to discover the page's tools:
    • one tool per app tool: executes it on the local MCP server, returns its result, and renders its view in the preview pane
    • devtools_set_view_options: sets any subset of darkTheme (boolean), mobileDevice (boolean), locale (BCP 47 code); the display mode is driven by the view itself
  3. execute_webmcp_tool with toolName and JSON-stringified input

Interactions inside the rendered view itself are not WebMCP tools: use regular DOM understanding and interactions there. Use take_screenshot only to visually verify rendering, and screenshot the preview iframe (accessible name html-preview in the page snapshot) rather than the full page.

No WebMCP (older Chrome, or the user declines the setup)? Fall back to driving the devtools page with regular chrome-devtools-mcp interactions (snapshot, click, fill) or playwright if available.

3. Connect to AI Assistants (Optional)

Ask user if they want to test in ChatGPT/Claude or just use local devtools.

If yes, expose the local server via Alpic tunnel:

alpic tunnel --port 3000

Extract the forwarding URL from Alpic tunnel output (e.g., https://cool-marmot-fondue-420.alpic.dev).

Connect to ChatGPT

Provide the user with these instructions to create the app in ChatGPT:

  1. Go to Apps Settings → Create App
  2. Enter a name and description for the app
  3. Paste this URL: {tunnel-url}/mcp
  4. Set the appropriate Authentication scheme. In doubt, pick "No Authentication"
  5. Click Create
  6. Test by typing @{app-name} in a ChatGPT chat

Troubleshooting:

  • 'Create App' button missing: ask user to enable Developer mode in Settings → Apps → Advanced Settings
  • 'Create App' button not working: confirm they have ChatGPT Plus, Pro, Business, or Enterprise/Edu plan

Connect to Claude

Provide the user with these instructions to create the app in Claude:

  1. Go to Connector Settings → Add Custom Connector
  2. Enter a name and URL: {tunnel-url}/mcp
  3. Click Create
  4. In Claude chat, click the + button and select @{app-name}

Troubleshooting:

  • 'Add Custom Connector' button missing: confirm they have a Claude paid plan

Source: SKILL.md on GitHub

1 alert6d5 checks · Risk SAFE
  • Gen Agent Trust Hub6d

    The skill is a comprehensive development guide for the Skybridge framework, which helps build ChatGPT applications. It is generally safe and follows security best practices, such as documenting CSP and OAuth configurations. It identifies a minor risk of indirect prompt injection as it processes user-provided specification files to guide the development process.

  • Socket6d

    No alerts

  • Snyk6d

    Risk: LOW · No issues

  • Runlayer7mo

    8/23 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 3340b34. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Activeupdated last week

README badge

README badge for alpic-ai/skybridge

Guides developers through the complete lifecycle of building ChatGPT apps—from ideation and project setup through implementation, debugging, and deployment to the ChatGPT Directory. Covers the Skybridge MCP server framework, tool integration, custom UI views, state management, OAuth, and the dual-user model where both the human and ChatGPT LLM interact with the same view.

Generated from the current SKILL.md.

What is a ChatGPT app and how does it work?
A ChatGPT app is a conversational experience that extends ChatGPT through tools and custom UI views, built as an MCP server. The view serves as a shared surface where both the human user and the ChatGPT LLM interact and collaborate.
Do I need a SPEC.md file before building?
Yes. You should read discover.md first to create a SPEC.md that documents your app's requirements and design decisions before implementing anything.
What does this skill cover?
The skill guides the full lifecycle: brainstorming ideas against UX guidelines, bootstrapping projects, implementing tools and views, debugging, running dev servers, deploying via Alpic, and publishing to the ChatGPT Directory.
Does this skill provide API documentation?
Yes. Full API docs are available at https://docs.skybridge.tech/api-reference.md, and the skill includes implementation references for specific tasks like OAuth, state management, and CSP configuration.

Generated from the current SKILL.md. These answers refresh after source changes.