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
"start vscode tunnel"
"open vscode tunnel"
"connect vscode"
"launch code tunnel in container"
"vscode remote"
Commands
# Start tunnel (interactive name prompt)
bash /path/to/tunnel.sh start
# Start tunnel with specific name
bash /path/to/tunnel.sh start my-tunnel-name
# Stop tunnel
bash /path/to/tunnel.sh stop
# View status
bash /path/to/tunnel.sh status
# View 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 CLI
tar - Extract CLI
grep - Log processing
Notes
First-time startup requires Microsoft account authorization
Authorization code will be displayed in the log output
Tunnel runs in background; needs restart after container reboot
Run npx skillmds@latest add tomevault-io/modbender-skill-library-mcp-vscode-tunnel in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
--- It is listed under AI & ML on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.