360 Secure SkillHub
360 安全技能中心

Perry Workspaces

通过 perry CLI 在 Tailscale 网络中创建和管理隔离的 Docker 开发工作区,工作区预装 OpenCode 与 Claude Code;文档提供 start/ls/stop/remove/shell 命令、SSH 接入方式(用户固定为 workspace)、项目克隆到 ~/<name> 的路径说明,以及 MagicDNS 与启动缓慢等排障提示。

分类:开发
gricha
gricha
热度 56.41
最近更新 2026-05-17 11:03:06

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add gricha/perry-workspaces
兼容性
通用兼容
联网要求
需要联网
数据出网
数据出网未确认
Metadata
name
perry-workspaces
description
Create and manage isolated Docker workspaces on your tailnet with Claude Code and OpenCode pre-installed. Use when working with Perry workspaces, connecting to coding agents, or managing remote development environments.

Perry Workspaces

Isolated Docker workspaces on your tailnet with coding agents pre-installed.

Commands

perry start <name> --clone git@github.com:user/repo.git  # Create
perry ls                                                  # List
perry stop <name>                                         # Stop
perry remove <name>                                       # Delete
perry shell <name>                                        # Interactive shell

SSH Access

ssh workspace@<name>        # User is always 'workspace'
ssh workspace@<IP>          # Use IP if MagicDNS fails

Coding Agents

  • OpenCode: http://<workspace>:4096 (web UI) or attach via CLI
  • Claude Code: Run inside workspace shell (perry shell then claude)

Project Location

Projects clone to ~/<name>, not /workspace:

cd ~/my-project  # Correct

Troubleshooting

  • Can't reach: Check tailscale status, use IP instead of hostname
  • SSH fails: User must be workspace, not your local user
  • Slow start: Check web UI for progress