an
它能做什么
这项技能在对话中打开一个 Agent-Native 工作区应用,使其实时界面与智能体的操作并排显示。适合通过 Dispatch 使用 Agent-Native 应用、并希望在聊天时直接在其中工作的人。
适用场景
- ✓当你想在聊天旁边打开某个特定的 Agent-Native 应用(例如幻灯片编辑器)的时候。
- ✓当你想让智能体在已打开的应用中做有针对性的修改的时候。
- ✓当你不确定确切的应用名称,需要查看自己可以打开哪些应用的时候。
技能链接
https://github.com/BuilderIO/agent-native/blob/main/.agents/plugins/agent-native/skills/an/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“你能在这里打开我的幻灯片应用,让我请你对演示文稿做些修改吗?”
每周 5 个新技能,1 分钟读完。
工作原理
智能体请 Dispatch 在内嵌面板中打开指定的应用。如有需要,你可以在那里登录,之后就能用日常语言请求修改。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Agent-Native Apps
Use /an <app> to open an Agent-Native app beside the conversation and keep
the app's live UI and the agent's actions in the same workflow. The first
argument is the Dispatch app id. For example, /an slides opens the Slides
editor. After it opens, the user can sign in in that browser surface and ask
for new decks or focused edits in ordinary language.
Open the app
For a known app, call Dispatch's open_app with an inline surface:
{
"app": "slides",
"path": "/",
"embed": true,
"chrome": "full"
}
The MCP App response is the preferred handoff for Claude, Claude Desktop, Claude Cowork, ChatGPT, ChatGPT desktop, Codex, and other compatible hosts. Keep the returned open link as the fallback for a host that cannot render MCP Apps inline. Do not claim that a browser opened unless the host rendered the inline surface or its browser tool confirmed the returned URL.
If the app name is missing or uncertain, call list_apps first and use the
exact granted app id. If the requested app is not listed, explain that it must
be granted in Dispatch's Agents access settings. Do not invent a URL, use a
localhost URL, or route around the Dispatch grant.
Work in the opened app
Prefer direct app tools when the host exposes them. After opening an app, call
list-host-webmcp-tools when available, then use run-host-webmcp-tool
with the exact listed name and origin. Page-local tools reflect current app
state and selection, so use view-screen before selection-dependent edits
and read back writes.
You are the model doing the work: when the user asks for new content — a design, a deck, a form, a document — author it yourself and save it with the app's create/update tools. Never hand off authoring to the app's own agent when those tools exist, and never wait on an in-app question form; it answers back through that app's own chat, not to you.
Use ask_app only when the host has no direct page tools, the requested
capability is not exposed, the task needs the app agent's interpretation or
multi-step specialist reasoning, or a direct call fails and needs recovery.
Dispatch's unified /mcp endpoint still exposes generic cross-app verbs; a
direct app MCP connection or page WebMCP surface is where named app actions
appear.
The app's MCP instructions name its key tools (generated from the app's own
list); follow those names verbatim and use tool-search for anything else —
never guess a tool name.
- Call
view-screenbefore any selection-dependent edit and use the ids it returns; never guess an id from a title, index, or stale context. - If
view-screenreturns aselectionandnextRequiredAction, make that call directly with the smallest atomic change; do not regenerate a whole artifact for a focused edit. - Read the result back with the app's matching read action and report what
changed. A queued
ask_app_statustask is not proof an edit completed.
Authentication and host behavior
The Dispatch MCP connector identifies the calling agent, while the embedded app uses the user's browser session. Let the user complete sign-in in the rendered Agent-Native browser surface. Never request, copy, or store passwords, OAuth codes, cookies, or access tokens.
The generic Agent-Native plugin registers Dispatch at
https://dispatch.agent-native.com/mcp for hosts that support plugin MCP
configuration. ChatGPT custom connectors use the same URL with OAuth. After
installing or changing a connector, reload Claude/Cowork/ChatGPT or reconnect
and rescan the MCP server if the new tools or inline surface are not visible.
Failure handling
- If
open_appsucceeds but no inline surface appears, show its returned link and say that this host does not expose an embedded browser here. - After an app loads, check for
list-host-webmcp-toolsbefore delegating. If it is available, use the exact returned tool name and origin for direct work. - If
ask_appcannot reach Slides, check that Slides is granted in Dispatch and that the connector is authenticated, then retry once with the exact app idslides. - If screen state has no deck or selection, describe that state instead of fabricating context. Ask the user to open a deck or select an element when the requested edit depends on it.
- Treat a successful open link, a queued task, or a tool acknowledgment as navigation/task setup only. Confirm a write with the app's readback action.
常见问题
如果应用不在我的列表中怎么办?
智能体会说明必须先在 Dispatch 的智能体访问设置中授权,才能打开该应用。
我需要登录吗?
你可能需要像平常一样在应用的浏览器面板中登录。
智能体可以打开任何网址吗?
不可以。它只打开你已授权的应用,也不会编造网址。
详情
作者的原始描述
Open and operate Agent-Native workspace apps through Dispatch MCP, with inline app surfaces, browser-session authentication, and current screen state.
repo: BuilderIO/agent-native
热度
- GitHub 星标
- 7.6k
- 排名
- #13127
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …