[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79JQSXPB9V595F3AMDR2MH9":3,"skill-same:01M79JQSXPB9V595F3AMDR2MH9":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M79JQSXPB9V595F3AMDR2MH9","self-host-relay",null,"用户要用自己的服务器搭建 PipiUI 远程链接（Relay + browser-ui）时按此流程部署，不要指向我们的 deepwood。","Leehow\u002Fpipiui","Leehow","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F8022275?v=4","01M79JQKJ75AT6BQD6Q8BDZ6HX","01M79JQKK1HF42F74CMVWVS2ZJ",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FLeehow\u002Fpipiui\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fself-host-relay\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: \"self-host-relay\"\ndescription: \"用户要用自己的服务器搭建 PipiUI 远程链接（Relay + browser-ui）时按此流程部署，不要指向我们的 deepwood。\"\nversion: 1\ncreated: \"2026-08-18\"\nupdated: \"2026-08-18\"\n---\n## When to Use\nUse when the user wants to self-host PipiUI remote control \u002F 远程链接 \u002F Relay on their own VPS or domain, or when the remote-control teaching modal sent the canned setup prompt.\n\n## Procedure\n1. Ask only for what is missing: SSH login (host\u002Fuser\u002Fkey), a domain with DNS A record, and whether they already have nginx or Cloudflare Tunnel.\n2. Do not use remote.deepwood.cn or pipi.aichattrpg.com as their server. Those are ours.\n3. There is no installer tarball. Deploy unit is repo Relay\u002F plus Electron\u002Fpackages\u002Fui\u002Fdist\u002Fbrowser as browser-ui.\n4. On their server: copy Relay\u002F to \u002Fopt\u002Fpipiui-relay, Node >=22, npm ci && npm run build (on the server, not this Mac if Clash proxy would hang).\n5. Write \u002Fetc\u002Fpipiui-relay.env from Relay\u002Fdeploy\u002Fpipiui-relay.env.example: PIPIUI_RELAY_HOST=127.0.0.1, PORT=8787, PIPIUI_PUBLIC_ORIGIN=https:\u002F\u002Ftheir-domain, PIPIUI_TUNNEL_URL=wss:\u002F\u002Ftheir-domain\u002Ftunnel\u002Fws, PIPIUI_BROWSER_UI_DIR=\u002Fopt\u002Fpipiui-relay\u002Fbrowser-ui.\n6. Install Relay\u002Fdeploy\u002Fpipiui-relay.service, enable --now, check healthz.\n7. Build browser-ui from this repo with Electron\u002Fpackages\u002Fui ..\u002F..\u002Fnode_modules\u002F.bin\u002Fvite build --config vite.browser.config.ts (no npx\u002Fnpm on this Mac). rsync dist\u002Fbrowser\u002F to \u002Fopt\u002Fpipiui-relay\u002Fbrowser-ui. Do not restart relay for static UI-only updates.\n8. TLS: nginx+certbot on 443 with WebSocket upgrade, or Cloudflare Tunnel to 127.0.0.1:8787. Follow Relay\u002FREADME.md.\n9. When https:\u002F\u002Ftheir-domain\u002Fhealthz works, tell them to open 远程控制, put that origin in 服务器地址, then turn the switch on. Pair URL must keep #secret.\n10. Never commit, never push, never write their secrets into the repo.\n\n## Pitfalls\n- pipiui-upload only publishes Electron zip to our existing DMIT host — it does not install Relay for a third party.\n- This Mac's npm via Clash hangs; do not npm install locally. Build vite with the existing binary; run npm ci only on their VPS.\n- Restarting pipiui-relay wipes in-memory pair rooms. Restart only when Relay JS changed.\n- Packaged App has no env; origin must be set in the 远程控制 panel (start\u002Freset relayOrigin), not PIPIUI_RELAY_ORIGIN.\n\n## Verification\n1. curl -sS https:\u002F\u002Ftheir-domain\u002Fhealthz returns {\"ok\":true}\n2. Pair page at https:\u002F\u002Ftheir-domain\u002Fpair\u002F\u003Cid>#secret loads browser-ui, not the old white fallback\n3. PipiUI 远程控制 using that origin reaches status 已连接 Relay and shows a pair URL on that host","## When to Use\nUse when the user wants to self-host PipiUI remote control \u002F 远程链接 \u002F Relay on their own VPS or domain, or when the remote-control teaching modal sent the canned setup prompt.\n\n## Procedure\n1. Ask only for what is missing: SSH login (host\u002Fuser\u002Fkey), a domain with DNS A record, and whether they already have nginx or Cloudflare Tunnel.\n2. Do not use remote.deepwood.cn or pipi.aichattrpg.com as their server. Those are ours.\n3. There is no installer tarball. Deploy unit is repo Relay\u002F plus Electron\u002Fpackages\u002Fui\u002Fdist\u002Fbrowser as browser-ui.\n4. On their server: copy Relay\u002F to \u002Fopt\u002Fpipiui-relay, Node >=22, npm ci && npm run build (on the server, not this Mac if Clash proxy would hang).\n5. Write \u002Fetc\u002Fpipiui-relay.env from Relay\u002Fdeploy\u002Fpipiui-relay.env.example: PIPIUI_RELAY_HOST=127.0.0.1, PORT=8787, PIPIUI_PUBLIC_ORIGIN=https:\u002F\u002Ftheir-domain, PIPIUI_TUNNEL_URL=wss:\u002F\u002Ftheir-domain\u002Ftunnel\u002Fws, PIPIUI_BROWSER_UI_DIR=\u002Fopt\u002Fpipiui-relay\u002Fbrowser-ui.\n6. Install Relay\u002Fdeploy\u002Fpipiui-relay.service, enable --now, check healthz.\n7. Build browser-ui from this repo with Electron\u002Fpackages\u002Fui ..\u002F..\u002Fnode_modules\u002F.bin\u002Fvite build --config vite.browser.config.ts (no npx\u002Fnpm on this Mac). rsync dist\u002Fbrowser\u002F to \u002Fopt\u002Fpipiui-relay\u002Fbrowser-ui. Do not restart relay for static UI-only updates.\n8. TLS: nginx+certbot on 443 with WebSocket upgrade, or Cloudflare Tunnel to 127.0.0.1:8787. Follow Relay\u002FREADME.md.\n9. When https:\u002F\u002Ftheir-domain\u002Fhealthz works, tell them to open 远程控制, put that origin in 服务器地址, then turn the switch on. Pair URL must keep #secret.\n10. Never commit, never push, never write their secrets into the repo.\n\n## Pitfalls\n- pipiui-upload only publishes Electron zip to our existing DMIT host — it does not install Relay for a third party.\n- This Mac's npm via Clash hangs; do not npm install locally. Build vite with the existing binary; run npm ci only on their VPS.\n- Restarting pipiui-relay wipes in-memory pair rooms. Restart only when Relay JS changed.\n- Packaged App has no env; origin must be set in the 远程控制 panel (start\u002Freset relayOrigin), not PIPIUI_RELAY_ORIGIN.\n\n## Verification\n1. curl -sS https:\u002F\u002Ftheir-domain\u002Fhealthz returns {\"ok\":true}\n2. Pair page at https:\u002F\u002Ftheir-domain\u002Fpair\u002F\u003Cid>#secret loads browser-ui, not the old white fallback\n3. PipiUI 远程控制 using that origin reaches status 已连接 Relay and shows a pair URL on that host",{"name":5,"created":23,"updated":23,"version":13,"description":7},"2026-08-18","main","0fc8c5f1d479ff1d7a0f392920d9479a67d4d884",".agents\u002Fskills\u002Fself-host-relay",0,"https:\u002F\u002Fgithub.com\u002FLeehow\u002Fpipiui","https:\u002F\u002Fpipi.aichattrpg.com\u002F","https:\u002F\u002Fgithub.com\u002FLeehow","2026-10-22 22:52:03",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add Leehow\u002Fpipiui --skill self-host-relay",{"tool":38,"command":39},"bunx","bunx skills add Leehow\u002Fpipiui --skill self-host-relay",{"tool":41,"command":42},"pnpm","pnpm dlx skills add Leehow\u002Fpipiui --skill self-host-relay","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLeehow\u002Fpipiui\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fself-host-relay\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":18},"01M79JW5VYX2QR2404PD7WARKS","terminal-investigation","Bounded file discovery and terminal execution for a Computer Task Terminal Worker.","https:\u002F\u002Fgithub.com\u002FLeehow\u002Fpipiui\u002Fblob\u002Fmain\u002FElectron\u002Fresources\u002Fruntime\u002Fpi-ext\u002Fpackages\u002Fcomputer-agent\u002Fskills\u002Fterminal-investigation\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M79JW2KXB8C795WKCMA3YQXH","procedure-learning","Compile verified Computer Task exploration into safe parameterized Procedure candidates.","https:\u002F\u002Fgithub.com\u002FLeehow\u002Fpipiui\u002Fblob\u002Fmain\u002FElectron\u002Fresources\u002Fruntime\u002Fpi-ext\u002Fpackages\u002Fcomputer-agent\u002Fskills\u002Fprocedure-learning\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":18},"01M79JVZ6B01YXQJNDRYQHMRY9","desktop-verification","Verify a Computer Task from a fresh observation without repairing or mutating the target.","https:\u002F\u002Fgithub.com\u002FLeehow\u002Fpipiui\u002Fblob\u002Fmain\u002FElectron\u002Fresources\u002Fruntime\u002Fpi-ext\u002Fpackages\u002Fcomputer-agent\u002Fskills\u002Fdesktop-verification\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":18},"01M79JVWSCCH7MKFKP9NJC4N4G","desktop-investigation","Locate desktop controls with semantic evidence and bounded visual fallback.","https:\u002F\u002Fgithub.com\u002FLeehow\u002Fpipiui\u002Fblob\u002Fmain\u002FElectron\u002Fresources\u002Fruntime\u002Fpi-ext\u002Fpackages\u002Fcomputer-agent\u002Fskills\u002Fdesktop-investigation\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":18},"01M79JVRFK3WVCKRCVZ0S1K0X8","cua-driver-operation","Operate PipiUI's pinned Cua Driver through snapshot, semantic locate, coherent action batch, and fresh verification.","https:\u002F\u002Fgithub.com\u002FLeehow\u002Fpipiui\u002Fblob\u002Fmain\u002FElectron\u002Fresources\u002Fruntime\u002Fpi-ext\u002Fpackages\u002Fcomputer-agent\u002Fskills\u002Fcua-driver-operation\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":18},"01M79JVMQP7N4SR5HP5QYWMZD3","computer-task-recovery","Replan after target loss, ambiguous location, unknown mutation outcome, or failed verification.","https:\u002F\u002Fgithub.com\u002FLeehow\u002Fpipiui\u002Fblob\u002Fmain\u002FElectron\u002Fresources\u002Fruntime\u002Fpi-ext\u002Fpackages\u002Fcomputer-agent\u002Fskills\u002Fcomputer-task-recovery\u002FSKILL.md",[],[]]