Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

huawei-cloud-devbridge-tunnel

БесплатноЗапускает вложенные скриптыНе проверен

Create and manage DevBridge development tunnels on Huawei Cloud to securely expose local development services to remote devices. Based on DevBridge CLI v0.2.x…

huaweicloudskillот huaweicloudskill569 установок в других каталогах

Об этом скилле

Huawei Cloud DevBridge Development Tunnel

Create and manage DevBridge development tunnels to securely expose local development services to remote devices via Huawei Cloud relay infrastructure.

Overview

DevBridge is a development tunnel service that allows developers to expose local services (web servers, APIs, debug endpoints) to remote devices without opening public inbound ports. The CLI tool (devbridge) manages tunnels, ports, host connections, and connect sessions. Host and Connect both initiate outbound connections to the relay service, so the hosting device does not need a public inbound port.

Architecture

  • Host device: a local service (for example localhost:8080) plus devbridge host for the tunnel.
  • Relay service (Huawei Cloud): holds the tunnel (id), port, credentials and access policy; the public address is https://<tunnelId>.<clusterId>.myhuaweicloud.com.
  • Connect device: devbridge connect maps the tunnel to a local address such as localhost:8080.
  • Host and Connect both open outbound connections to the relay, so no inbound port is opened on the hosting device.

2026-09-20 域名升级通知:DevBridge 隧道域名已切换,原 *.cn-north-4-bridge.myhuaweicloud.com 变更为新集群域名(如 *.devbridge-s2.hwtunnel.com)。旧版端侧(v0.1.x)已无法连接,必须使用 v0.2.x 并重新创建隧道。以 devbridge host 实际输出的 Tunnel URL 为准。

Use Cases

  • Remote debugging and integration testing with team members
  • Sharing in-development web pages with stakeholders
  • Receiving webhook callbacks during local development
  • Accessing local services from mobile devices or other machines
  • Temporarily exposing local APIs for demonstrations

Typical User Expressions

  • "Help me expose my local port 8080 to a remote device"
  • "Create a development tunnel for my frontend dev server"
  • "I need to share my local API with the team for testing"
  • "Connect to a tunnel from another machine"
  • "帮我把本地 8080 端口暴露给远程设备"

Version Support

Item Requirement
CLI version v0.2.x (installed from official channel, e.g. 0.2.1-release / 0.2.2-release)
Authentication API Key (devbridge auth login --api-key or env HW_API_KEY) or interactive login
Tunnel domain New cluster domain (devbridge-s2.hwtunnel.com etc.), shown in devbridge host output
Old versions v0.1.x is NOT supported — AK/SK auth flags removed, old domain no longer connects

Dynamic Command Adaptation Layer

CRITICAL — All tunnel/port/host operations MUST go through db_* wrapper functions (defined in scripts/devbridge_cmd.sh), NOT direct devbridge commands. Only devbridge auth and devbridge version are exempt.

The DevBridge CLI may change flags between releases. The adaptation layer dynamically discovers supported flags via devbridge <command> --help before executing, making the skill version-agnostic within v0.2.x. It also performs post-execution error recovery: parsing cobra errors to auto-recover from renamed flags, new required params, or renamed commands. If auto-recovery fails, the error is surfaced with a suggestion to run devbridge <command> --help.

Adaptation Layer Functions

Function Replaces Purpose
db_init — Ensure CLI installed (v0.2.x+), authenticated (auto-login via DEVBRIDGE_API_KEY/HW_API_KEY)
db_create devbridge create Create tunnel, returns just the tunnel ID (stdout)
db_port_create devbridge port create Create port (adapts port, protocol, anonymous flags)
db_host devbridge host Start hosting in background, returns PID (stdout), tunnel URL (stderr)
db_host_bg devbridge host in a background shell job Background host (legacy alias, use db_host instead)
db_connect devbridge connect Start connect in background, returns PID (stdout)
db_list devbridge list List tunnels
db_show devbridge show Show tunnel details
db_update devbridge update Update tunnel
db_delete devbridge delete Delete tunnel
db_delete_all devbridge delete-all Delete all tunnels
db_port_list devbridge port list List ports
db_port_delete devbridge port delete Delete port (adapts port flag)
db_limits devbridge limits Show quota / usage / balance
db_echo devbridge echo Start diagnostic echo service
db_ping devbridge ping Ping a URI to test connectivity
db_version devbridge version Show CLI version
db_auth_status devbridge auth status Check auth status
db_auth_login devbridge auth login Login (interactive or --api-key)
db_tunnel_url — Get tunnel public URL from host log (authoritative, do not construct manually)
db_processes — List running host/connect processes
db_process_stop — Stop a host/connect process by PID
db_process_logs — Get process logs by PID

Prerequisites

**Prerequis

Полный SKILL.md на ClawHub

Установить huawei-cloud-devbridge-tunnel в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл huawei-cloud-devbridge-tunnel?

Create and manage DevBridge development tunnels on Huawei Cloud to securely expose local development services to remote devices. Based on DevBridge CLI v0.2.x and API Key authentication. Use this skill when the user wants to: (1) install and configure the DevBridge CLI, (2) create/list/update/delete tunnels, (3) manage tunnel ports and protocols, (4) host local services through tunnels, (5) connect to remote tunnels from another device, (6) manage authentication and API Keys. Triggers include: user mentions "DevBridge", "开发隧道", "开发者隧道", "dev tunnel", "tunnel", "host local service", "expose local port", "connect tunnel", "托管本地服务", "隧道端口", "devbridge", "DevSpace", "开发空间隧道"

Как установить скилл huawei-cloud-devbridge-tunnel?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл huawei-cloud-devbridge-tunnel запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить huawei-cloud-devbridge-tunnel с