vscode-tunnel
by @listky
Start VS Code Remote Tunnel in Docker containers for remote terminal access
clawhub install vscode-tunnelπ About This Skill
name: vscode-tunnel description: Start VS Code Remote Tunnel in Docker containers for remote terminal access
VS Code Tunnel
Start a VS Code Remote Tunnel in Docker container environments, enabling remote terminal access through VS Code.
Trigger Phrases
Commands
# Start tunnel (interactive name prompt)
bash /path/to/tunnel.sh startStart tunnel with specific name
bash /path/to/tunnel.sh start my-tunnel-nameStop tunnel
bash /path/to/tunnel.sh stopView status
bash /path/to/tunnel.sh statusView logs
bash /path/to/tunnel.sh log
Environment Variables
| Variable | Description | Default |
|----------|-------------|---------|
| VSCODE_TUNNEL_NAME | Tunnel name | Interactive input |
| VSCODE_CLI_DIR | CLI installation directory | ~/.vscode-cli |
Usage Examples
User: start vscode tunnel
Agent: Starting VS Code Tunnel...
[Executes: bash tunnel.sh start]
Agent: Tunnel started. Please enter this code in VS Code to authorize: xxxx-xxxx
User: launch a tunnel named dev-env
Agent: Starting tunnel dev-env...
[Executes: bash tunnel.sh start dev-env]
Commands Reference
| Command | Description |
|---------|-------------|
| start [name] | Start tunnel with optional name |
| stop | Stop running tunnel |
| status | Display tunnel status |
| log | View tunnel logs (live) |
Dependencies
curl - Download CLItar - Extract CLIgrep - Log processingNotes
1. First-time startup requires Microsoft account authorization 2. Authorization code will be displayed in the log output 3. Tunnel runs in background; needs restart after container reboot
Platform Support
π Tips & Best Practices
1. First-time startup requires Microsoft account authorization 2. Authorization code will be displayed in the log output 3. Tunnel runs in background; needs restart after container reboot