跳到正文
Skillpedia
界面(UI/UX)394k · #15

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/openclaw/openclaw/blob/main/extensions/canvas/skills/canvas/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能