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
Bulk-edit / commit-loop fan-out about to start (per-plugin, per-package commits across many subdirectories) Each iteration is already isolated in its own worktree
A collision already happened and you need to recover See REFERENCE.md — Recovery section

See .claude/rules/agent-coworker-detection.md for the full rationale and signal design.

Bulk-edit / commit-loop precondition

Installs
3
GitHub Stars
58
First Seen
Apr 21, 2026
git-coworker-check — laurigates/claude-plugins