[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78BR3F8NR8MTRZC9AEX7RSP":3,"skill-same:01M78BR3F8NR8MTRZC9AEX7RSP":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M78BR3F8NR8MTRZC9AEX7RSP","canvas",null,"Display HTML content on connected Clawdbot nodes across Mac, iOS, and Android canvas views. Use for presenting generated HTML, dashboards, games, visualizations, and interactive demos through the Clawdbot canvas host and node bridge.","Solizardking\u002Fskillhub-main","Solizardking","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F108096810?v=4","01M786KDB10AYV042N0F9BD5B5","Clawd","01M786NYYXSZK1D05WM8JQPC48",0,"MIT","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fcanvas\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: canvas\ndescription: Display HTML content on connected Clawdbot nodes across Mac, iOS, and Android canvas views. Use for presenting generated HTML, dashboards, games, visualizations, and interactive demos through the Clawdbot canvas host and node bridge.\n---\n\n# Canvas Skill\n\nDisplay HTML content on connected Clawdbot nodes (Mac app, iOS, Android).\n\n## Overview\n\nThe canvas tool lets you present web content on any connected node's canvas view. Great for:\n- Displaying games, visualizations, dashboards\n- Showing generated HTML content\n- Interactive demos\n\n## How It Works\n\n### Architecture\n\n```\n┌─────────────────┐     ┌──────────────────┐     ┌─────────────┐\n│  Canvas Host    │────▶│   Node Bridge    │────▶│  Node App   │\n│  (HTTP Server)  │     │  (TCP Server)    │     │ (Mac\u002FiOS\u002F   │\n│  Port 18793     │     │  Port 18790      │     │  Android)   │\n└─────────────────┘     └──────────────────┘     └─────────────┘\n```\n\n1. **Canvas Host Server**: Serves static HTML\u002FCSS\u002FJS files from `canvasHost.root` directory\n2. **Node Bridge**: Communicates canvas URLs to connected nodes\n3. **Node Apps**: Render the content in a WebView\n\n### Tailscale Integration\n\nThe canvas host server binds based on `gateway.bind` setting:\n\n| Bind Mode | Server Binds To | Canvas URL Uses |\n|-----------|-----------------|-----------------|\n| `loopback` | 127.0.0.1 | localhost (local only) |\n| `lan` | LAN interface | LAN IP address |\n| `tailnet` | Tailscale interface | Tailscale hostname |\n| `auto` | Best available | Tailscale > LAN > loopback |\n\n**Key insight:** The `canvasHostHostForBridge` is derived from `bridgeHost`. When bound to Tailscale, nodes receive URLs like:\n```\nhttp:\u002F\u002F\u003Ctailscale-hostname>:18793\u002F__clawdbot__\u002Fcanvas\u002F\u003Cfile>.html\n```\n\nThis is why localhost URLs don't work - the node receives the Tailscale hostname from the bridge!\n\n## Actions\n\n| Action | Description |\n|--------|-------------|\n| `present` | Show canvas with optional target URL |\n| `hide` | Hide the canvas |\n| `navigate` | Navigate to a new URL |\n| `eval` | Execute JavaScript in the canvas |\n| `snapshot` | Capture screenshot of canvas |\n\n## Configuration\n\nIn `~\u002F.clawdbot\u002Fclawdbot.json`:\n\n```json\n{\n  \"canvasHost\": {\n    \"enabled\": true,\n    \"port\": 18793,\n    \"root\": \"\u002FUsers\u002Fyou\u002Fclawd\u002Fcanvas\",\n    \"liveReload\": true\n  },\n  \"gateway\": {\n    \"bind\": \"auto\"\n  }\n}\n```\n\n### Live Reload\n\nWhen `liveReload: true` (default), the canvas host:\n- Watches the root directory for changes (via chokidar)\n- Injects a WebSocket client into HTML files\n- Automatically reloads connected canvases when files change\n\nGreat for development!\n\n## Workflow\n\n### 1. Create HTML content\n\nPlace files in the canvas root directory (default `~\u002Fclawd\u002Fcanvas\u002F`):\n\n```bash\ncat > ~\u002Fclawd\u002Fcanvas\u002Fmy-game.html \u003C\u003C 'HTML'\n\u003C!DOCTYPE html>\n\u003Chtml>\n\u003Chead>\u003Ctitle>My Game\u003C\u002Ftitle>\u003C\u002Fhead>\n\u003Cbody>\n  \u003Ch1>Hello Canvas!\u003C\u002Fh1>\n\u003C\u002Fbody>\n\u003C\u002Fhtml>\nHTML\n```\n\n### 2. Find your canvas host URL\n\nCheck how your gateway is bound:\n```bash\ncat ~\u002F.clawdbot\u002Fclawdbot.json | jq '.gateway.bind'\n```\n\nThen construct the URL:\n- **loopback**: `http:\u002F\u002F127.0.0.1:18793\u002F__clawdbot__\u002Fcanvas\u002F\u003Cfile>.html`\n- **lan\u002Ftailnet\u002Fauto**: `http:\u002F\u002F\u003Chostname>:18793\u002F__clawdbot__\u002Fcanvas\u002F\u003Cfile>.html`\n\nFind your Tailscale hostname:\n```bash\ntailscale status --json | jq -r '.Self.DNSName' | sed 's\u002F\\.$\u002F\u002F'\n```\n\n### 3. Find connected nodes\n\n```bash\nclawdbot nodes list\n```\n\nLook for Mac\u002FiOS\u002FAndroid nodes with canvas capability.\n\n### 4. Present content\n\n```\ncanvas action:present node:\u003Cnode-id> target:\u003Cfull-url>\n```\n\n**Example:**\n```\ncanvas action:present node:mac-63599bc4-b54d-4392-9048-b97abd58343a target:http:\u002F\u002Fpeters-mac-studio-1.sheep-coho.ts.net:18793\u002F__clawdbot__\u002Fcanvas\u002Fsnake.html\n```\n\n### 5. Navigate, snapshot, or hide\n\n```\ncanvas action:navigate node:\u003Cnode-id> url:\u003Cnew-url>\ncanvas action:snapshot node:\u003Cnode-id>\ncanvas action:hide node:\u003Cnode-id>\n```\n\n## Debugging\n\n### White screen \u002F content not loading\n\n**Cause:** URL mismatch between server bind and node expectation.\n\n**Debug steps:**\n1. Check server bind: `cat ~\u002F.clawdbot\u002Fclawdbot.json | jq '.gateway.bind'`\n2. Check what port canvas is on: `lsof -i :18793`\n3. Test URL directly: `curl http:\u002F\u002F\u003Chostname>:18793\u002F__clawdbot__\u002Fcanvas\u002F\u003Cfile>.html`\n\n**Solution:** Use the full hostname matching your bind mode, not localhost.\n\n### \"node required\" error\n\nAlways specify `node:\u003Cnode-id>` parameter.\n\n### \"node not connected\" error\n\nNode is offline. Use `clawdbot nodes list` to find online nodes.\n\n### Content not updating\n\nIf live reload isn't working:\n1. Check `liveReload: true` in config\n2. Ensure file is in the canvas root directory\n3. Check for watcher errors in logs\n\n## URL Path Structure\n\nThe canvas host serves from `\u002F__clawdbot__\u002Fcanvas\u002F` prefix:\n\n```\nhttp:\u002F\u002F\u003Chost>:18793\u002F__clawdbot__\u002Fcanvas\u002Findex.html  → ~\u002Fclawd\u002Fcanvas\u002Findex.html\nhttp:\u002F\u002F\u003Chost>:18793\u002F__clawdbot__\u002Fcanvas\u002Fgames\u002Fsnake.html → ~\u002Fclawd\u002Fcanvas\u002Fgames\u002Fsnake.html\n```\n\nThe `\u002F__clawdbot__\u002Fcanvas\u002F` prefix is defined by `CANVAS_HOST_PATH` constant.\n\n## Tips\n\n- Keep HTML self-contained (inline CSS\u002FJS) for best results\n- Use the default index.html as a test page (has bridge diagnostics)\n- The canvas persists until you `hide` it or navigate away\n- Live reload makes development fast - just save and it updates!\n- A2UI JSON push is WIP - use HTML files for now\n","# Canvas Skill\n\nDisplay HTML content on connected Clawdbot nodes (Mac app, iOS, Android).\n\n## Overview\n\nThe canvas tool lets you present web content on any connected node's canvas view. Great for:\n- Displaying games, visualizations, dashboards\n- Showing generated HTML content\n- Interactive demos\n\n## How It Works\n\n### Architecture\n\n```\n┌─────────────────┐     ┌──────────────────┐     ┌─────────────┐\n│  Canvas Host    │────▶│   Node Bridge    │────▶│  Node App   │\n│  (HTTP Server)  │     │  (TCP Server)    │     │ (Mac\u002FiOS\u002F   │\n│  Port 18793     │     │  Port 18790      │     │  Android)   │\n└─────────────────┘     └──────────────────┘     └─────────────┘\n```\n\n1. **Canvas Host Server**: Serves static HTML\u002FCSS\u002FJS files from `canvasHost.root` directory\n2. **Node Bridge**: Communicates canvas URLs to connected nodes\n3. **Node Apps**: Render the content in a WebView\n\n### Tailscale Integration\n\nThe canvas host server binds based on `gateway.bind` setting:\n\n| Bind Mode | Server Binds To | Canvas URL Uses |\n|-----------|-----------------|-----------------|\n| `loopback` | 127.0.0.1 | localhost (local only) |\n| `lan` | LAN interface | LAN IP address |\n| `tailnet` | Tailscale interface | Tailscale hostname |\n| `auto` | Best available | Tailscale > LAN > loopback |\n\n**Key insight:** The `canvasHostHostForBridge` is derived from `bridgeHost`. When bound to Tailscale, nodes receive URLs like:\n```\nhttp:\u002F\u002F\u003Ctailscale-hostname>:18793\u002F__clawdbot__\u002Fcanvas\u002F\u003Cfile>.html\n```\n\nThis is why localhost URLs don't work - the node receives the Tailscale hostname from the bridge!\n\n## Actions\n\n| Action | Description |\n|--------|-------------|\n| `present` | Show canvas with optional target URL |\n| `hide` | Hide the canvas |\n| `navigate` | Navigate to a new URL |\n| `eval` | Execute JavaScript in the canvas |\n| `snapshot` | Capture screenshot of canvas |\n\n## Configuration\n\nIn `~\u002F.clawdbot\u002Fclawdbot.json`:\n\n```json\n{\n  \"canvasHost\": {\n    \"enabled\": true,\n    \"port\": 18793,\n    \"root\": \"\u002FUsers\u002Fyou\u002Fclawd\u002Fcanvas\",\n    \"liveReload\": true\n  },\n  \"gateway\": {\n    \"bind\": \"auto\"\n  }\n}\n```\n\n### Live Reload\n\nWhen `liveReload: true` (default), the canvas host:\n- Watches the root directory for changes (via chokidar)\n- Injects a WebSocket client into HTML files\n- Automatically reloads connected canvases when files change\n\nGreat for development!\n\n## Workflow\n\n### 1. Create HTML content\n\nPlace files in the canvas root directory (default `~\u002Fclawd\u002Fcanvas\u002F`):\n\n```bash\ncat > ~\u002Fclawd\u002Fcanvas\u002Fmy-game.html \u003C\u003C 'HTML'\n\u003C!DOCTYPE html>\n\u003Chtml>\n\u003Chead>\u003Ctitle>My Game\u003C\u002Ftitle>\u003C\u002Fhead>\n\u003Cbody>\n  \u003Ch1>Hello Canvas!\u003C\u002Fh1>\n\u003C\u002Fbody>\n\u003C\u002Fhtml>\nHTML\n```\n\n### 2. Find your canvas host URL\n\nCheck how your gateway is bound:\n```bash\ncat ~\u002F.clawdbot\u002Fclawdbot.json | jq '.gateway.bind'\n```\n\nThen construct the URL:\n- **loopback**: `http:\u002F\u002F127.0.0.1:18793\u002F__clawdbot__\u002Fcanvas\u002F\u003Cfile>.html`\n- **lan\u002Ftailnet\u002Fauto**: `http:\u002F\u002F\u003Chostname>:18793\u002F__clawdbot__\u002Fcanvas\u002F\u003Cfile>.html`\n\nFind your Tailscale hostname:\n```bash\ntailscale status --json | jq -r '.Self.DNSName' | sed 's\u002F\\.$\u002F\u002F'\n```\n\n### 3. Find connected nodes\n\n```bash\nclawdbot nodes list\n```\n\nLook for Mac\u002FiOS\u002FAndroid nodes with canvas capability.\n\n### 4. Present content\n\n```\ncanvas action:present node:\u003Cnode-id> target:\u003Cfull-url>\n```\n\n**Example:**\n```\ncanvas action:present node:mac-63599bc4-b54d-4392-9048-b97abd58343a target:http:\u002F\u002Fpeters-mac-studio-1.sheep-coho.ts.net:18793\u002F__clawdbot__\u002Fcanvas\u002Fsnake.html\n```\n\n### 5. Navigate, snapshot, or hide\n\n```\ncanvas action:navigate node:\u003Cnode-id> url:\u003Cnew-url>\ncanvas action:snapshot node:\u003Cnode-id>\ncanvas action:hide node:\u003Cnode-id>\n```\n\n## Debugging\n\n### White screen \u002F content not loading\n\n**Cause:** URL mismatch between server bind and node expectation.\n\n**Debug steps:**\n1. Check server bind: `cat ~\u002F.clawdbot\u002Fclawdbot.json | jq '.gateway.bind'`\n2. Check what port canvas is on: `lsof -i :18793`\n3. Test URL directly: `curl http:\u002F\u002F\u003Chostname>:18793\u002F__clawdbot__\u002Fcanvas\u002F\u003Cfile>.html`\n\n**Solution:** Use the full hostname matching your bind mode, not localhost.\n\n### \"node required\" error\n\nAlways specify `node:\u003Cnode-id>` parameter.\n\n### \"node not connected\" error\n\nNode is offline. Use `clawdbot nodes list` to find online nodes.\n\n### Content not updating\n\nIf live reload isn't working:\n1. Check `liveReload: true` in config\n2. Ensure file is in the canvas root directory\n3. Check for watcher errors in logs\n\n## URL Path Structure\n\nThe canvas host serves from `\u002F__clawdbot__\u002Fcanvas\u002F` prefix:\n\n```\nhttp:\u002F\u002F\u003Chost>:18793\u002F__clawdbot__\u002Fcanvas\u002Findex.html  → ~\u002Fclawd\u002Fcanvas\u002Findex.html\nhttp:\u002F\u002F\u003Chost>:18793\u002F__clawdbot__\u002Fcanvas\u002Fgames\u002Fsnake.html → ~\u002Fclawd\u002Fcanvas\u002Fgames\u002Fsnake.html\n```\n\nThe `\u002F__clawdbot__\u002Fcanvas\u002F` prefix is defined by `CANVAS_HOST_PATH` constant.\n\n## Tips\n\n- Keep HTML self-contained (inline CSS\u002FJS) for best results\n- Use the default index.html as a test page (has bridge diagnostics)\n- The canvas persists until you `hide` it or navigate away\n- Live reload makes development fast - just save and it updates!\n- A2UI JSON push is WIP - use HTML files for now\n",{"name":5,"description":7},"main","be3de0244dc1a57e323d8160787ebb40fb64930e","skills\u002Fcanvas","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main","https:\u002F\u002Fskills.x402.wtf","https:\u002F\u002Fgithub.com\u002FSolizardking","https:\u002F\u002Fmusebook.trade","Got a mile high and never came down","2026-10-08 23:20:13",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Solizardking\u002Fskillhub-main --skill canvas",{"tool":39,"command":40},"bunx","bunx skills add Solizardking\u002Fskillhub-main --skill canvas",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Solizardking\u002Fskillhub-main --skill canvas","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fcanvas\u002FSKILL.md",true,[],[48,55,62,69,76,84],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M78E0TGCAMNPS207BA3G07S7","zkrouter","Self-hosted OpenAI-compatible LLM router — smart tier-based routing, ZK-stamped routing decisions, mode overrides, free OpenRouter at install via the Birth bot. Save 60-80% on inference costs by routing to the cheapest capable model across 12+ OpenRouter models.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fzkrouter\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M78E0R1Z8BDT6EDTHY17MTNB","zk","For custom ZK Solana programs and privacy-preserving applications to prevent double spending. Guide to integrate rent-free nullifier PDAs for double-spend prevention.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fzk\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M78E0P3ZTZ1YWF8MD5MM23QE","zk-omni-messaging","Zero-knowledge omnichain messaging between Robinhood Chain and Solana using CheshireZkOmniMessenger (msgType 4) with nullifier anti-replay and the zk-omni-relayer service.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fzk-omni-messaging\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M78E0JXZ2PNB1896VXAGDBWD","zerion-wallet-data","Use when the user asks to check a wallet's portfolio, token balances, DeFi positions, PnL, transaction history, or NFTs. Provides interpreted on-chain data across 40+ EVM chains and Solana via x402 pay-per-request or API key — no raw RPC decoding needed.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fzerion-wallet-data\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":80,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M78E0G14FH9GRRTQYMKD5E59","youtube-clipper","YouTube 视频智能剪辑工具。下载视频和字幕，AI 分析生成精细章节（几分钟级别）， 用户选择片段后自动剪辑、翻译字幕为中英双语、烧录字幕到视频，并生成总结文案。 使用场景：当用户需要剪辑 YouTube 视频、生成短视频片段、制作双语字幕版本时。 关键词：视频剪辑、YouTube、字幕翻译、双语字幕、视频下载、clip video","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube-clipper\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube-clipper\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M78E0C2ZYA99CFFDNB7ZMK5S","yield-optimization","Multi-chain yield optimization via yield.xyz (StakeKit). Discover 2,988+ yield opportunities across 75+ blockchains, build deposit\u002Fwithdrawal transactions with shell scripts, and sign them with a MoonPay wallet. Use when the user wants to earn yield, find the best lending or staking rate, enter\u002Fexit a position, or check portfolio balances.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fyield-optimization\u002FSKILL.md",[],[]]