---
name: chatgpt-app-builder
description: |-
  Guide developers through creating and updating ChatGPT plugins.
  Covers the full lifecycle: brainstorming ideas against UX guidelines, bootstrapping projects, implementing tools/views, debugging, running dev servers, deploying and connecting plugins to ChatGPT.
  Use when a user wants to create or update a ChatGPT plugin (formerly called a ChatGPT app) / MCP server for ChatGPT, or use the Skybridge framework.
title: chatgpt-app-builder
canonical_url: https://skilld.dev/gh/alpic-ai/skybridge/chatgpt-app-builder
last_updated: 2026-10-07T08:02:08.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> 30 supporting files sit beside this SKILL.md. When the Skill refers to one, fetch https://skilld.dev/api/skills-raw/alpic-ai/skybridge/chatgpt-app-builder/PATH with PATH replaced.
>
> If the user asked to install this Skill, run `npx skilld install alpic-ai/skybridge/chatgpt-app-builder`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/chatgpt-app-builder`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/alpic-ai/skybridge/chatgpt-app-builder) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/chatgpt-app-builder`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/chatgpt-app-builder --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/chatgpt-app-builder --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# Creating Plugins For LLMs

ChatGPT plugins are conversational experiences that extend ChatGPT through tools and custom UI views. They're built as MCP servers invoked during conversations.

⚠️ The plugin is consumed by two users at once: the **human** and the **ChatGPT LLM**. They collaborate through the view—the human interacts with it, the LLM sees its state. Internalize this before writing code: the view is your shared surface.

SPEC.md keeps track of the plugin's requirements and design decisions. Keep it up to date as you work on the plugin.

**Building an ecommerce plugin?** → Read [ecommerce.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/chatgpt-app-builder/references/ecommerce.md) first.

**No SPEC.md?** → Read [discover.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/chatgpt-app-builder/references/discover.md) first. Nothing else until SPEC.md exists.

**SPEC.md exists?** → Read SPEC.md, then follow [architecture.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/chatgpt-app-builder/references/architecture.md) to design the change. Update SPEC.md, then read the relevant Implementation references below before writing code.

**Migrating from Skybridge `< 0.36.x`?** → Read [migrate-to-v1.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/chatgpt-app-builder/references/migrate-to-v1.md) first. Users may reference `skybridge >= 0.36.x` as v1.

**Migrating from Skybridge `1.x` to `2.x`?** → Fetch the [v2.0.0 release notes](https://github.com/alpic-ai/skybridge/releases/tag/v2.0.0) first and follow them.

## Setup

1. **Copy template** → [copy-template.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/chatgpt-app-builder/references/copy-template.md): when starting a new project with ready SPEC.md
2. **Run locally** → [run-locally.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/chatgpt-app-builder/references/run-locally.md): when ready to test, need dev server or ChatGPT connection
3. **Evals** → [evals.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/chatgpt-app-builder/references/evals.md): when checking that a real model reaches the right tools from natural prompts, in a test

## Architecture

Design or evolve UX flows and API shape → [architecture.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/chatgpt-app-builder/references/architecture.md)

## Implementation

- **Fetch and render data** → [fetch-and-render-data.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/chatgpt-app-builder/references/fetch-and-render-data.md): when implementing server handlers and view data fetching
- **State and context** → [state-and-context.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/chatgpt-app-builder/references/state-and-context.md): when persisting view UI state and updating LLM context
- **Prompt LLM** → [prompt-llm.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/chatgpt-app-builder/references/prompt-llm.md): when view needs to trigger LLM response
- **UI guidelines** → [ui-guidelines.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/chatgpt-app-builder/references/ui-guidelines.md): display modes, layout constraints, theme, device, and locale
- **External links** → [open-external-links.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/chatgpt-app-builder/references/open-external-links.md): when redirecting to external URLs or setting "open in app" target
- **OAuth** → [oauth.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/chatgpt-app-builder/references/oauth.md): when tools need user authentication to access user-specific data
- **Assets and styling** → [assets-and-styling.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/chatgpt-app-builder/references/assets-and-styling.md): when adding images, fonts or CSS to views
- **CSP** → [csp.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/chatgpt-app-builder/references/csp.md): when declaring allowed domains for fetch, assets, redirects, or iframes
- **Events** → [events.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/chatgpt-app-builder/references/events.md): when ChatGPT should react to activity in the app without the user, such as new comments or incidents
- **OpenAI MCP extensions** → [openai-extensions.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/chatgpt-app-builder/references/openai-extensions.md): when the view should open from the ChatGPT sidebar, a conversation side panel, a file, or a deep link, or use ChatGPT at-mentions, titled messages or local files

## Deploy

- **Ship to production** → [deploy.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/chatgpt-app-builder/references/deploy.md): when ready to deploy via Alpic
- **Publish to ChatGPT Directory** → [publish.md](https://skilld.dev/api/skills-raw/alpic-ai/skybridge/chatgpt-app-builder/references/publish.md): when ready to submit for review

Full API docs: [https://docs.skybridge.tech/api-reference.md](https://docs.skybridge.tech/api-reference.md)

Release notes & changelog: [https://skybridge.tech/changelog.md](https://skybridge.tech/changelog.md)
