canvas
它能做什么
它让 AI 智能体在与 OpenClaw 连接的 Mac 面板上显示交互式小组件,并控制该面板是否显示。它适合希望在聊天旁边看到可视化内容的人。
适用场景
- ✓想让智能体在已连接的 Mac 上显示可视化小组件的时候。
- ✓需要显示、隐藏或移动 Mac 面板到另一个页面的时候。
- ✓想在 Mac 面板上显示可视化页面,而不是纯文字聊天内容的时候。
技能链接
https://github.com/openclaw/openclaw/blob/main/extensions/canvas/skills/canvas/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请把销售摘要以可视化页面的形式显示在我的 Mac 面板上。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体创建一个托管的小组件页面,并将其显示在 Mac 面板上。之后它可以隐藏面板,或把面板移到同一托管文档的另一个页面。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Widget panel
Use show_widget with presentation.target: "node_panel" to create a hosted widget document and present it on an eligible connected Mac. This is the normal agent path.
The Canvas tool is limited to direct panel control:
present: show the panel, optionally with a hosted document path or local app scheme.hide: hide the panel.navigate: navigate the visible panel to a hosted document path or local app scheme.
Do not invent local file paths or arbitrary external URLs. Use HTML widgets with show_widget; hosted documents use the capability-scoped /__openclaw__/canvas/documents/... route it returns.
If plugins.entries.canvas.config.host.enabled is false, hosted widget documents and node-panel presentation are disabled together.
常见问题
智能体能在面板中打开任意网址吗?
不能。它只显示托管的小组件页面或本地应用页面,不显示任意外部链接。
如果小组件功能被关闭了怎么办?
如果主机设置被禁用,托管小组件和面板显示会同时关闭。
它需要 Mac 吗?
需要。面板显示功能适用于符合条件的已连接 Mac。
详情
作者的原始描述
Present hosted widget documents on a connected macOS panel and control panel visibility or navigation.
repo: openclaw/openclaw
热度
- GitHub 星标
- 394k
- 排名
- #15
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
discord-user-post
394k让你的智能体通过 Discord 桌面应用,以你的身份发送你已批准的消息,并在发送前确认具体频道。
discrawl
394k让你的智能体搜索和总结本地保存的 Discord 消息档案,查看档案的新旧程度,并阅读私信。
gitcrawl
394k让你的智能体搜索已保存的 GitHub 议题和拉取请求档案,将重复内容归类,并在 GitHub 上核实它们的当前状态。
graincrawl
394k让你的智能体搜索已保存的 Granola 会议记录和转写稿,查看它们的新旧程度,并统计某段时间内的数量。