agentleFS
alpic-aialpic-ai/skybridge/AGENTS.md

skybridge

AGENTS.md2.1k starsChanged 2 months agoMITView on GitHub

Skybridge is a fullstack TypeScript framework for building ChatGPT plugins and MCP Apps — interactive React views that render inside AI conversations. The core loop: an MCP server exposes tools. When the host (ChatGPT, Claude, VSCode…) calls a tool, the server returns structured data and a reference to a React view. The host renders that view in an iframe. The view can read tool output, call other tools, send follow-up messages, and sync UI state back to the model. Skybridge…

  • Installs packages

Trending

Less talk lately.about the whole repository

Dec 2025: 4 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 5 mentionsJun 2026: 15 mentionsJul 2026: 6 mentionsAug 2026: 9 mentionsSep 2026: 5 mentionsOct 2026: 3 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the alpic-ai/skybridge repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about alpic-ai/skybridge

The biggest 5 of 47 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 47

Talked about on GitHub, Bluesky and Hacker News (47 times).

On GitHub · 42

37 more on GitHub

On Hacker News · 2

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository5 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

6 rules. About 0 are common, 0 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    When you need to understand a concept, read the corresponding docs/ page or the source in packages/core/src/.

    line 34
  2. Very specific:

    Always run pnpm test && pnpm build from root before pushing.

    line 59
  3. Very specific:

    Run pnpm format to auto-fix.

    line 83
  4. Very specific:

    When the public API of packages/core/ changes (exports from src/server/index.ts, src/web/index.ts, and CLI commands in src/commands/):

    line 87
  5. Very specific:

    Update skills/ references (chatgpt-app-builder)

    line 88
  6. Very specific:

    Update docs/ — especially api-reference/ and guides/

    line 89

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Agents Guide

What is Skybridge

Skybridge is a fullstack TypeScript framework for building ChatGPT plugins and MCP Apps — interactive React views that render inside AI conversations.

The core loop: an MCP server exposes tools. When the host (ChatGPT, Claude, VSCode…) calls a tool, the server returns structured data and a reference to a React view. The host renders that view in an iframe. The view can read tool output, call other tools, send follow-up messages, and sync UI state back to the model.

Skybridge wraps two host runtimes behind one API:

  • window.openai — ChatGPT's proprietary runtime
  • MCP Apps — the open ext-apps spec (JSON-RPC postMessage)

Developers write one server (backend) and view(s) (frontend). Skybridge detects the runtime at load time.

For deep understanding, read docs/get-started/ and docs/api-reference/.

Monorepo layout

packages/
  core/             # npm: `skybridge` — the framework
    src/server/     #   MCP server (extends @modelcontextprotocol/server), view registration, Express
    src/web/        #   React hooks, runtime adaptors, data-llm, Vite plugin, createStore
    src/cli/        #   CLI entry (oclif)
    src/commands/   #   dev / build / start commands
  devtools/         # npm: @skybridge/devtools — local emulator UI
  create-skybridge/ # npm create skybridge — project scaffolder
 
examples/           # Showcase apps — good for understanding patterns
docs/               # Mintlify site (docs.skybridge.tech)
skills/             # Coding agents skills for guided app building

When you need to understand a concept, read the corresponding docs/ page or the source in packages/core/src/.

Development

Prerequisites: Node.js >= 24.18.0, pnpm 10+ (corepack enable).

pnpm install        # setup

Validation

pnpm test           # unit tests (vitest) + lint (biome ci)
pnpm build          # compile all packages

Per-package:

pnpm --filter skybridge test:unit
pnpm --filter skybridge test:format
pnpm --filter skybridge build

Always run pnpm test && pnpm build from root before pushing.

Publishing on push

publish.yml runs on push to every branch and publishes pre-release versions of skybridge, @skybridge/vite-plugin, @skybridge/devtools, @skybridge/test and create-skybridge:

BranchVersionnpm tag
main0.0.0-next.<sha>next
v22.0.0-beta.<sha>beta
anything else0.0.0-dev.<sha>dev

These pre-release publishes are expected, so pushing a branch needs no special approval. Only a published GitHub release publishes latest.

Code rules

Biome handles lint + format (see biome.json):

  • Double quotes, 2-space indent, auto-sorted imports
  • Errors on: unused variables/imports, non-null assertions, missing block braces

packages/core/biome.json extends root and enforces .js import extensions (ESM output).

TypeScript: strict mode, no any, ESM-only. See packages/core/tsconfig.base.json.

Run pnpm format to auto-fix.

Cross-cutting concerns

When the public API of packages/core/ changes (exports from src/server/index.ts, src/web/index.ts, and CLI commands in src/commands/):

  1. Update skills/ references (chatgpt-app-builder)
  2. Update docs/ — especially api-reference/ and guides/

PR reviewers must enforce these updates are included when a PR touches the public API.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.