canvas
Present local HTML on connected CrawClaw nodes. Use when you need to show a dashboard, demo, or interactive page on a Mac, iOS, or Android canvas and need the correct host URL for the current bind mode.
适合你,如果需要在Mac、iOS或Android上预览本地HTML页面
/ 通过 npx 安装 校验哈希
npx oh-my-skill add qianleigood/crawclaw/canvas/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- qianleigood/crawclaw/canvas/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify qianleigood/crawclaw/canvas安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
30GitHub stars
~339上下文体积 · 单文件
索引托管
怎么用
商店整理自技能原文 · 版本 f27e175 · 表述以原文为准它做什么
装上后,Claude能根据你给的HTML文件,在已连接的CrawClaw节点(如Mac、iOS、Android)的画布上展示该页面,还能控制导航、截图或隐藏。
什么时候触发
当你需要在一个已连接的节点上显示本地HTML页面(比如仪表盘、演示或交互网页),并确保URL正确时触发。
装好后可以这样说
执行present操作。
执行snapshot操作。
技能原文 SKILL.md
Canvas
Use this skill to push HTML content to a connected node's canvas view.
Workflow
- Confirm
canvasHost.enabledand notecanvasHost.root. - Put the page under the canvas root.
- Find an online node with
crawclaw nodes list. - Build the correct URL for the current bind mode:
loopback:http://127.0.0.1:18793/__crawclaw__/canvas/<file>.htmllan,tailnet,auto: use the bridge-visible host name or address- Run the action you need:
canvas action:present node:<node-id> target:<full-url>canvas action:navigate node:<node-id> url:<full-url>canvas action:snapshot node:<node-id>canvas action:hide node:<node-id>
Rules
- Always include
node:<node-id>. - Prefer the host name actually advertised by the gateway; do not guess with
localhost. - Keep demo pages self-contained when possible.
Debugging
- White screen usually means the node received the wrong host for the current bind mode.
- Check
gateway.bind, confirm port18793is listening, thencurlthe exact URL you plan to present. - If live reload does not update, confirm
canvasHost.liveReloadis enabled and the file is undercanvasHost.root.
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →
评论
登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。
…