闲社服务运行正常AI智能体自动化平台
v

Vibe隧道管理

技能标识:vibetunnel

Manage VibeTunnel terminal sessions. Create, list, monitor, and control terminal sessions visible in the VibeTunnel web dashboard.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

Vibe隧道管理

VibeTunnel

通过 REST API 管理 VibeTunnel 终端会话。可创建、列出、监控和控制 Web 仪表板中可见的会话。

设置

VibeTunnel 必须处于运行状态。默认地址:http://localhost:8080。可通过 VT_URL 环境变量覆盖。

健康检查

bash curl -s ${VT_URL:-http://localhost:8080}/api/health | jq .

列出会话

bash curl -s ${VT_URL:-http://localhost:8080}/api/sessions | jq .

紧凑视图:
bash
curl -s ${VT_URL:-http://localhost:8080}/api/sessions | jq -r .[] | \(.status | if . == running then ● else ○ end) \(.name) [\(.id | .[0:8])]

创建会话

bash curl -s -X POST ${VT_URL:-http://localhost:8080}/api/sessions \ -H Content-Type: application/json \ -d {command: [zsh, -l, -i], name: my-session, workingDir: /path/to/dir} | jq .

参数:

  • - command:数组 — 命令及参数(默认值:[zsh, -l, -i])
  • name:字符串 — 显示名称
  • workingDir:字符串 — 工作目录
  • cols:数字 — 终端宽度(默认值:120)
  • rows:数字 — 终端高度(默认值:30)

获取会话

bash curl -s ${VT_URL:-http://localhost:8080}/api/sessions/ | jq .

删除会话

bash curl -s -X DELETE ${VT_URL:-http://localhost:8080}/api/sessions/ | jq .

发送输入

bash curl -s -X POST ${VT_URL:-http://localhost:8080}/api/sessions//input \ -H Content-Type: application/json \ -d {text: ls -la\n} | jq .

注意:包含 \n 以执行命令。

调整会话大小

bash curl -s -X POST ${VT_URL:-http://localhost:8080}/api/sessions//resize \ -H Content-Type: application/json \ -d {cols: 150, rows: 40} | jq .

示例

启动 Claude Code 会话:
bash
curl -s -X POST ${VT_URL:-http://localhost:8080}/api/sessions \
-H Content-Type: application/json \
-d {command: [claude], name: claude-code, workingDir: ~/repos/my-project} | jq .

启动 tmux 会话:
bash
curl -s -X POST ${VT_URL:-http://localhost:8080}/api/sessions \
-H Content-Type: application/json \
-d {command: [tmux, new, -A, -s, work], name: tmux-work} | jq .

清理已退出的会话:
bash
curl -s ${VT_URL:-http://localhost:8080}/api/sessions | jq -r .[] | select(.status == exited) | .id | \
xargs -I {} curl -s -X DELETE ${VT_URL:-http://localhost:8080}/api/sessions/{}

环境变量

变量默认值描述
VT_URLhttp://localhost:8080VibeTunnel 服务器 URL

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 vibetunnel-1776382596 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 vibetunnel-1776382596 技能

通过命令行安装

skillhub install vibetunnel-1776382596

下载

⬇ 下载 vibetunnel v1.0.0(免费)

文件大小: 1.66 KB | 发布时间: 2026-4-17 15:44

v1.0.0 最新 2026-4-17 15:44
Initial release: pure SKILL.md with curl-based REST API patterns for VibeTunnel session management
返回顶部