360 Secure SkillHub
360 安全技能中心

cli-tunnel

该 Skill 以 omniroute 命令行工具管理隧道连接,支持创建、停止、列出、查看状态/日志/信息及轮换隧道,并可用 --json 输出结构化结果。适用于从命令行检查隧道 URL 与外部可达性的场景。

diegosouzapw
热度 0.00
最近更新 2026-10-19 02:16:35
分类:自动化依赖:代码执行 / 第三方 API应用场景:DevOps / 自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add diegosouzapw/omniroute/cli-tunnel
Metadata
name
cli-tunnel
description
Start and stop tunnel connections (ngrok, Cloudflare, custom) from the CLI. Inspect active tunnel URLs, configure authentication, and test external reachability.

Overview

Start and stop tunnel connections (ngrok, Cloudflare, custom) from the CLI. Inspect active tunnel URLs, configure authentication, and test external reachability.

Quick install

npm install -g omniroute   # or: npx omniroute
omniroute --version

Subcommands

tunnel

Example:

omniroute tunnel

tunnel list

Flags:

  • --json

Example:

omniroute tunnel list

tunnel create [type]

Example:

omniroute tunnel create [type]

tunnel stop <type>

Flags:

  • --yes

Example:

omniroute tunnel stop <type>

tunnel status <type>

Flags:

  • --json

Example:

omniroute tunnel status <type>

tunnel logs <type>

Flags:

  • --tail <n>

Example:

omniroute tunnel logs <type>

tunnel info <type>

Flags:

  • --json

Example:

omniroute tunnel info <type>

tunnel rotate <type>

Flags:

  • --yes

Example:

omniroute tunnel rotate <type>