跳至主要内容
小龙虾小龙虾AI
🤖

vscode-tunnel

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

下载283
星标0
版本1.0.0
开发工具
安全通过
💬Prompt

技能说明


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

VariableDescriptionDefault
VSCODE_TUNNEL_NAMETunnel nameInteractive input
VSCODE_CLI_DIRCLI 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

CommandDescription
start [name]Start tunnel with optional name
stopStop running tunnel
statusDisplay tunnel status
logView tunnel logs (live)

Dependencies

  • curl - Download CLI
  • tar - Extract CLI
  • grep - Log processing

Notes

  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

  • Linux x64 (Alpine/Debian/Ubuntu)
  • Docker container environments

如何使用「vscode-tunnel」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「vscode-tunnel」技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能