From tunnelbox-cli
Use this skill when the user wants to check or install cloudflared for TunnelBox. Trigger phrases include: "check cloudflared", "is cloudflared installed", "install cloudflared", "檢查 cloudflared", "安裝 cloudflared", "tunnelbox 環境", "環境檢查", "cloudflared 狀態".
How this skill is triggered — by the user, by Claude, or both
Slash command
/tunnelbox-cli:tunnelbox-envThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
檢查並安裝 cloudflared 環境。全程使用中文回應(除非使用者用英文提問)。
檢查並安裝 cloudflared 環境。全程使用中文回應(除非使用者用英文提問)。
tunnelbox env check --json
JSON 輸出範例(已安裝):
{ "success": true, "data": { "installed": true, "status": "available", "version": "2024.1.0" } }
JSON 輸出範例(未安裝):
{ "success": true, "data": { "installed": false, "status": "not_found" } }
JSON 輸出範例(版本過舊):
{ "success": true, "data": { "installed": true, "status": "outdated", "version": "2023.1.0", "errorMessage": "..." } }
tunnelbox env install --json
JSON 輸出範例(成功安裝):
{ "success": true, "data": { "installed": true, "version": "2024.1.0" } }
JSON 輸出範例(已安裝):
{ "success": true, "data": { "installed": true, "alreadyInstalled": true, "version": "2024.1.0" } }
tunnelbox env check --json
installed: true + status: "available" → cloudflared 已安裝,版本為 Xinstalled: true + status: "outdated" → cloudflared 已安裝但版本過舊,建議更新installed: false → cloudflared 未安裝,建議執行 tunnelbox env installtunnelbox env check --json 確認是否需要安裝。tunnelbox env install --json
注意:env install 需要 TunnelBox app 正在運行。若 app 未開啟,會收到錯誤訊息 TunnelBox app is not running,請提示使用者先啟動 TunnelBox。
所有指令加上 --json 以取得結構化輸出。錯誤格式:
{ "success": false, "error": "error message" }
| 錯誤訊息 | 原因 | 建議 |
|---|---|---|
| TunnelBox app is not running | App 未啟動 | 請先開啟 TunnelBox |
| 網路/下載相關錯誤 | 網路連線問題 | 檢查網路連線後重試 |
遇到錯誤時,向使用者說明原因並提供可行的解決建議。
npx claudepluginhub tim80411/ai-agent-extension --plugin tunnelbox-cliGuides deployment of TunPilot server on Linux via SSH script, CLI connection with health checks, updates, and initial setup detection.
Deploys Cloudflare Access with Cloudflare Tunnel to provide zero trust access to self-hosted applications, replacing VPNs with identity-aware policies and device posture checks.
Deploys Cloudflare Access and Tunnel for zero-trust access to self-hosted apps via identity-aware policies, device posture checks, and WARP client as VPN replacement. For securing internal web, SSH, RDP services without open ports.