git-coworker-check
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
/git:coworker-check
Detect another agent working in the same repo clone and warn before destructive operations that could destroy its uncommitted changes.
When to Use This Skill
| Use this skill when... | Use a worktree instead when... |
|---|---|
| Session starts in a clone that may already be in use | You control the session and can create git worktree add ../<task> |
About to run git stash, git reset --hard, git checkout -- . |
You already know the working tree is yours alone |
git status shows files you don't remember touching |
Baseline + markers are already confirming you are alone |
See .claude/rules/agent-coworker-detection.md for the full rationale and
signal design.