/qwreey-workspace:workspacefrom qwreey-workspace
Load before reading or changing any repo other than the current one: lists the other repos on this machine with one line each (`*-kb` toolkit knowledge repos first), and has the rules (read-only unless the user approves, ask before changing), the live-session check, and the worktree lock check. Also load before deleting any .claude/worktrees entry. Hooks deny writes to a sibling repo until this is loaded.
Ships in qwreey-workspace. 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.
The repos on this machine are siblings run by one person; several sessions may be working in them at once.
<toolkit>-kb repos and their skills. Look there first, before opening a sibling repo to see how something is done..claude/worktrees/* entry (any repo, including this one) before checking its lock file and the live sessions below.!python3 -I -X utf8 "${CLAUDE_SKILL_DIR}/scripts/map.py"
If the line above is only the command, run it once. The list comes from this machine's Claude Code sessions. If a repo the user means is missing (or should not be listed), tell the user to add it to the harness_workspace_extra option (or harness_workspace_exclude) with /plugin configure qwreey-workspace@claude-doctor-market; do not edit settings files yourself. The gate does not need the list: any git repo outside this session's repo counts.
Which repos have a session running (do not use pgrep -f; it matches shell wrappers):
/proc): for p in $(pgrep -x claude; pgrep -x agy; pgrep -x codex); do readlink /proc/$p/cwd; done | sort -u/proc (macOS): lsof -a -d cwd -c claude -c agy -c codex -Fn | sed -n 's/^n//p' | sort -uA repo whose path (or a path under its .claude/worktrees/) appears there has a live session. Tell the user instead of touching it.
Before removing <repo>/.claude/worktrees/<name>: ls -la <repo>/.claude/worktrees/<name>/.git* ; cat "$(git -C <repo> rev-parse --git-common-dir)/worktrees/<name>/locked" 2>/dev/null. A locked file (or a live session whose cwd is inside the worktree) means an agent may be using it: do not remove; ask the user.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub qwreey/qwreey-harness --plugin qwreey-workspace