/local-skills:worktree-openfrom local-skills
Build a browser VS Code (code-server) link, over the tailnet, for the current session's git worktree or all worktrees of a repo. Use when the user asks to open an editor, VS Code, or code-server, or to view, review, or open worktree source code — including '에디터 열어줘', 'vscode 열어줘', 'code-server로 열어줘', '코드 보여줘'. Do not use to serve reports or build artifacts, and do not start a new preview server.
Ships in local-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Use the bundled helper instead of retyping URL logic:
SKILL_DIR="/absolute/path/to/worktree-open"
python3 "$SKILL_DIR/scripts/worktree_open.py" [path]
python3 "$SKILL_DIR/scripts/worktree_open.py" --all [repo-or-worktree]
Set SKILL_DIR to the absolute directory containing this SKILL.md (use the
path supplied by the skill loader). The bundled helper then works from any cwd.
The helper discovers the code-server base URL in this order:
CODE_SERVER_BASE_URL explicit override.CODE_SERVER_TAILSCALE_HOST explicit tailnet host.tailscale serve status --json mapping that proxies the configured local
code-server bind address.tailscale status --json MagicDNS name with the default/override port.tailscale ip -4 IPv4 fallback.~/.config/code-server/config.yaml, then
http://127.0.0.1:8088.The live tailscale serve mapping wins, so the port it reports is used as-is.
Without one, tailnet links use HTTPS on port 10000 (CODE_SERVER_TAILNET_PORT in scripts/lib/common.sh); override with
CODE_SERVER_TAILSCALE_PORT only if Tailscale Serve is configured differently.
With no explicit path, open the current session's worktree: run the helper
with . from the session's working directory (in Orca this is the tab's
worktree). Use --all only when the user asks for every worktree.
"Open the editor / VS Code" means: deliver the tailnet code-server link, so it
works from whatever device the user is on. Prefer the tailnet URL over
localhost. Do not run open or launch a local app unless the user explicitly
asks to open it on this Mac.
?folder=<percent-encoded-absolute-path>..code-workspace under
~/.cache/agent-worktrees/ (or $XDG_CACHE_HOME/agent-worktrees/) and emits
?workspace=<percent-encoded-workspace-path>.Never create workspace files or artifacts inside the repo.
# Current folder
python3 "$SKILL_DIR/scripts/worktree_open.py" .
# Specific folder from any current working directory
python3 "$SKILL_DIR/scripts/worktree_open.py" ~/work/some-repo
# Multi-root dashboard for all worktrees in the repo
python3 "$SKILL_DIR/scripts/worktree_open.py" --all ~/work/some-repo
If the URL does not respond, code-server or Tailscale Serve may be down. Check:
launchctl list | grep -i code-server
tailscale serve status
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub voidmatcha/dotfiles --plugin local-skills17 skills in this plugin
/agent-reachUse public web, GitHub, social/community, video, RSS, and career search surfaces from the CLI/MCP when local repo evidence is not enough. Routes to public-only research tools while avoiding internal/company URLs and secret-bearing pages./agent-reapClean up runaway/orphaned/redundant agent processes: stuck zip/tail/python/node, high CPU, memory-hogging or duplicate MCP and language servers, dead Claude/Codex sessions./agent-usage-auditAudit installed Claude/Codex agents, skills, commands, metadata-level reference counts, and source-level token pressure to decide what to prune, keep, or route. This inventory skill does not mine historical correction content or decide the current session's handoff state./context-checkCheck Claude/Codex context, cache, and handover pressure; advise continue, compact, clear, or hand off./dotfiles-syncApply dotfiles changes to this machine and judge the LLM tooling layer — plugin drift, hook registration, skill pins, dirty state, and whether local or repo should win. Use for 'dotfiles 반영해줘', 'dotfiles 업데이트', 'sync dotfiles', 'skill 최신으로', 'hook 등록 확인', or when install/update output needs interpreting. Do not use for plain verification (use dotfiles-verify) or for editing unrelated code./dotfiles-verifyVerify dotfiles install scripts, plugin manifests, hooks, TOML/JSON/plist config, and CI-style smoke checks.