vscode-tunnel
by listky
Coding Agents & IDEsBrief
Start VS Code Remote Tunnel in Docker containers for remote terminal access.
Description
What This Skill Does
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.
When to Use It
- 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
Example Workflow
User asks: start vscode tunnel named dev-env
- 1
Runs bash tunnel.sh start dev-env
- 2
Downloads VS Code CLI to ~/.vscode-cli if not present
- 3
Starts tunnel process in background
- 4
Reads authorization code from log output
- 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.
Requirements
- Microsoft account (for tunnel authorization)
Installation
clawhub install listky/vscode-tunnelRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.