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 狀態".
npx claudepluginhub tim80411/ai-agent-extension --plugin tunnelbox-cliThis skill uses the workspace's default tool permissions.
檢查並安裝 cloudflared 環境。全程使用中文回應(除非使用者用英文提問)。
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
檢查並安裝 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 |
| 網路/下載相關錯誤 | 網路連線問題 | 檢查網路連線後重試 |
遇到錯誤時,向使用者說明原因並提供可行的解決建議。