跳到正文
Skillpedia
部署与云(DevOps)84k · #1416

cli-tunnel

它能做什么

这项技能展示如何打开和关闭隧道,让本地的 OmniRoute 服务器能从互联网访问。适合需要外部访问的人,例如远程智能体或共享测试环境。

适用场景

  • ✓当用户想让本地的 OmniRoute 服务器能从互联网访问的时候。
  • ✓当用户想停止正在运行的隧道或更换其地址的时候。
  • ✓当用户想检查隧道能否从外部访问的时候。

技能链接

https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-tunnel/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-tunnel/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请为我的本地 OmniRoute 开一个隧道,让我的远程智能体可以访问它。”

每周 5 个新技能,1 分钟读完。

工作原理

这项技能列出创建、列出、检查、停止和轮换隧道的命令,还可查看隧道日志和信息,并测试外部是否可以访问。隧道可以是 ngrok、Cloudflare 或自定义设置。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->

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>
常见问题

支持哪些隧道类型?

这项技能提到了 ngrok、Cloudflare 和自定义隧道。

我能看到公开地址吗?

可以。info 和 status 命令会显示正在运行的隧道详情,包括它的网址。

我能安全地停止隧道吗?

可以。stop 命令会先要求确认,除非加上确认参数。

详情

作者的原始描述

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

repo: cheaper-inference/OmniRoute

热度

GitHub 星标
84k
排名
#1416
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能