跳到正文
TakoAPI
返回技能列表

vscode-tunnel

由 listky 提供

Coding Agents & IDEs
419下载量由 clawskills.sh 提供
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Start VS Code Remote Tunnel in Docker containers for remote terminal access.

描述

该技能的功能

Starts and manages a VS Code Remote Tunnel inside Docker containers, allowing remote terminal access through VS Code's browser or desktop client. Handles CLI installation, background process management, and Microsoft account authorization.

Avoids SSH configuration and port forwarding by using VS Code's built-in tunnel infrastructure to reach containers directly.

何时使用

  • Accessing a dev container remotely from any device
  • Debugging a Docker environment without SSH setup
  • Sharing a container session with a teammate via VS Code
  • Reconnecting to a named tunnel after container restart
  • Checking tunnel status or live logs during a remote session

示例工作流

输入

User asks: start vscode tunnel named dev-env

智能体
  1. 1

    Runs bash tunnel.sh start dev-env

  2. 2

    Downloads VS Code CLI to ~/.vscode-cli if not present

  3. 3

    Starts tunnel process in background

  4. 4

    Reads authorization code from log output

  5. 5

    Displays code for Microsoft account login in VS Code

输出

Tunnel dev-env is running. Enter the displayed code in VS Code to authorize and connect.

前置要求

  • Microsoft account (for tunnel authorization)

安装

clawhub install listky/vscode-tunnel

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接