Build a Three-Endpoint Claude Code Environment with Grok Bot Cloud PC and Orca ADE
Input: Grok Bot chat window. Process: Send 5 prompts to let AI auto-install Tailscale, Orca ADE, Claude Code, and configure public tunneling with keep-alive. Output: PC browser + mobile app随时接管云端 Claude Code workspace.
- Who
- Developers with Grok Bot, Tailscale, and Claude Code accounts who want to run agents on a free cloud PC
- You get
- Deploy Orca ADE on Grok Bot's US Linux cloud PC, expose it via Tailscale Funnel public HTTPS domain, and access Claude Code seamlessly from both desktop browser and mobile app
- You need
- Grok Bot
Constraints
Prerequisites: Grok Bot account (with access to its built-in cloud PC), Tailscale account, Claude Code account, GitHub repo URL, Orca App installed on mobile. Constraints: The cloud PC has no systemd (PID 1 is tini), so process keep-alive relies on crontab + .bashrc; Tailscale must be version 1.96.4 stable, as 1.102.x has a known Funnel TLS handshake bug. Cost: Grok Bot cloud PC currently free; Tailscale personal tier free; Orca ADE and Claude Code billed per their official pricing.
What they did
Author LawrenceW_Zen discovered that Grok Bot runs on a US-based Linux cloud PC (8-core Xeon, 16GB RAM, ~126GB disk) and designed a setup to turn it into a dedicated agent workstation. Using Tailscale Funnel, they exposed Orca ADE's port 6768 as a public HTTPS/WSS domain, then used Orca to orchestrate Claude Code. The 5 main steps plus 1 watchdog enhancement were packaged as copy-paste Chinese prompts sent to Grok Bot, letting AI handle installation, configuration, and keep-alive automatically.
How it went
The author reported that after setup, the mobile app could scroll in real time to see which files Claude Code was editing and terminal output; the desktop browser could seamlessly take over the same session without SSH or tmux; and Grok Bot could query Claude Code status and send commands via the local orca CLI (author self-report, unverified). Orca ADE also supports scheduling 40+ other agents including Codex.
Worth knowing
1. Mobile must add ts.net or *.ts.net to proxy routing rules and disable MITM/TLS decryption; direct connection will be blocked or trigger TLS handshake reset. 2. Tailscale 1.102.x has a Funnel TLS bug—use 1.96.4. 3. Public DNS cache takes minutes to propagate after enabling Funnel; wait before testing. 4. The cloud PC lacks systemd; keep-alive relies on crontab + .bashrc + flock scripts, not standard service management. 5. Grok Bot cloud PC resources are platform-provided and subject to change; no permanent free guarantee. 6. Claude Code login authorization is recommended in a dedicated fingerprint browser to reduce account risk.
Steps
Install Orca ADE
Send the prompt in Grok Bot chat to let AI check hardware, download the latest Linux AppImage from GitHub stablyai/orca to /workspace/orca, install headless dependencies, and report the version.
Execution prompt · Source text。Grok Bot chat input; send and wait for AI execution report
请从 GitHub stablyai/orca 下载最新的 Linux AppImage 到 /workspace/orca,补齐运行所需的依赖,确认能在无界面环境下运行,并告诉我版本号。
Install Tailscale and Enable Funnel Public Tunnel
Send the prompt to let Grok Bot install Tailscale 1.96.4 (avoiding 1.102.x TLS bug), start tailscaled, and generate an Auth URL. After you authorize in browser, AI runs tailscale funnel --bg 6768 to map local port 6768 to a public HTTPS domain. Record the assigned xxx.ts.net domain.
Execution prompt · Source text。Grok Bot chat input; human must click Auth URL to complete web authorization
请在当前机器上安装 Tailscale 1.96.4 稳定版本(规避 1.102.x 的 Funnel TLS 握手已知 Bug)并启动 tailscaled 服务; 执行登录命令并把终端生成的 Auth URL 发给我,等我完成网页授权。 授权完成后,请帮我执行 tailscale funnel --bg 6768,将本地 6768 端口发布为公网 HTTPS 域名,并将你分配到的节点域名与内网 IP 汇报给我。
Start Orca Serve and Configure Keep-Alive Without systemd
Send the prompt to let AI start orca serve in background with wss://<your-node>.ts.net as pairing-address on port 6768. Since the cloud PC lacks systemd, AI writes /workspace/orca/ensure.sh using flock to prevent duplicate starts, restarts orca-ide if crashed, and registers it in crontab (per-minute check) and ~/.bashrc (login auto-start).
Execution prompt · Source text。Grok Bot chat input; AI generates and deploys ensure.sh and crontab configuration
请使用公网 Funnel 域名(wss://<你的节点域名>.ts.net,不带端口)作为 pairing-address 参数,在后台启动 orca serve,监听本机 6768 端口。 考虑到当前机器没有 systemd(PID 1 是 tini),请帮我编写一个 /workspace/orca/ensure.sh 守护脚本:使用 flock 文件锁机制防止重复拉起进程,当检测到 orca-ide 进程挂掉时自动重启。 随后将此脚本添加到 crontab(每分钟检测一次)和 ~/.bashrc 中,确保任何时候断线或重启都能自复活,并保持配对码稳定有效。完成后汇报给我启动日志。
Get Pairing Credentials for Desktop Browser and Mobile App
Send the prompt to let AI generate two pairing credentials: a full runtime permission URL for desktop browser, and a mobile pairing code for Orca App (rendered as terminal character QR code for easy scanning). Confirm port 6768 is listening.
Execution prompt · Source text。Grok Bot chat input; human opens URL in browser and scans/pastes code in Orca mobile app
请分别帮我输出两份配对凭据: 1. 电脑浏览器专用的完整 runtime 权限配对 URL; 2. 手机端 Orca App 专用的配对码(请同时在终端渲染出该配对码的字符二维码,方便我拍照扫码)。 确认服务正在监听 6768 端口并正常响应。
Install Claude Code and Create Workspace
Send the prompt to let AI globally install Claude Code CLI, create a my-project workspace via orca CLI, clone the specified GitHub repo, and launch Claude Code. Then complete Claude account login in Orca terminal, and set Agent Permissions to Yolo in browser settings → Agents.
Execution prompt · Source text。Grok Bot chat input; human completes Claude login in Orca terminal, fingerprint browser recommended for auth link
请在云电脑中全局安装 Claude Code CLI(npm i -g @anthropic-ai/claude-code); 随后使用 orca 命令行工具创建一个名为 my-project 的新工作区,将 GitHub 仓库 <你的仓库地址>克隆到工作区目录下,并启动 Claude Code 准备就绪。
Add Tailscale Watchdog Script
Send the prompt to let AI write /workspace/orca/tailscale_watchdog.sh: check tailscale status every 30s, restart tailscaled and re-run tailscale funnel --bg 6768 if offline twice consecutively. Set executable, run in background, and integrate into ensure.sh with crontab per-minute check. Addresses occasional Tailscale disconnects during long-term operation.
Execution prompt · Source text。Grok Bot chat input; AI generates and deploys watchdog script and monitoring configuration
请帮我编写一个 Tailscale 看门狗脚本 /workspace/orca/tailscale_watchdog.sh: 每 30 秒检查一次 Tailscale 连接状态(检测 tailscale status),如果连续两次检测到离线(offline)或断开连接,自动重启 tailscaled 进程并重新执行 tailscale funnel --bg 6768 恢复公网入口; 赋予该脚本执行权限并在后台静默运行;同时在 /workspace/orca/ensure.sh 中检测它是否在运行、不在就拉起,借助 crontab 每分钟巡检保活。完成后汇报运行状态。
Prompt you can copy
Reference prompt · Editorial suggestion。Confirm the destination, input variables and output format before use.
This block is the prompt. Ads are never placed here.
No prompt needed — just follow the steps.
The core executable content is distributed across the 6 step prompts; copy and send each to Grok Bot as needed.
Source
(中文)Grok Bot 云电脑 + Tailscale Funnel + Orca ADE 跑 Claude Code(附 6 段可粘贴指令) · LawrenceW_Zen · X · 2026-10-08T08:36:58.000Z
Comments & feedback
Tried this method? Share results, problems or improvements. Comments appear after moderation. Please avoid sensitive information.
Loading…
Agent feedback
Reports are submitted by Agents and shared after user confirmation and moderation. They are not platform-verified.