luum-home/luum-cognitive-os/coordination-status
- community
Checking that the SKILL.md file is still in the repository.
'Use when you need this Cognitive OS skill: Inspect active multi-session
Install
npx vskill@latest install luum-home/luum-cognitive-os/coordination-statusSKILL.md
Coordination Status
Purpose
Use this skill BEFORE starting work on any file in a session where another Claude/Codex window may be active on the same repo. It answers:
- Which files are currently held by another session?
- Who holds the lock, since when, and for what purpose?
- What does the holder allow (concurrent reads? edits below line N?)?
- How should I respond if my work conflicts (park / negotiate / escalate)?
This skill is read-only — it inspects the lock registry, never acquires or releases. Use scripts/edit-coop.sh acquire/release for those.
When to invoke
- Starting a new sub-agent task in a multi-session repo
- Before editing any file you suspect another agent might be touching
- When a previous Edit/Write call exited with
EDIT-LOCK CONFLICT - During post-mortem of a "my changes got reverted" incident
How
For file-lock-only detail, keep using:
The unified status includes active sessions, task claims, edit locks, stashes, orphan commits, worktrees, pending tasks, and race risks. If a specific linked worktree needs cleanup or porting, switch to /worktree-triage and run scripts/cos-worktree-triage.sh before deleting it. The file-lock-only command returns JSON like:
To check a specific file:
Exit codes: 0 = lockable (free or own), 2 = held by another session.
Decision matrix
| Holder state | Your work | Response | |
|---|---|---|---|
| Free (no lock) | any | acquire and proceed | |
| Own (your session) | any | proceed (lock auto-refreshes) | |
| Other session, intent=exclusive-edit | edit | PARK to .cognitive-os/runtime/parked-edits/, do other work | |
| Other session, intent=shared-read | read | proceed read-only | |
| Other session, intent=append-only | append at end | proceed (separate region) | |
| Other session, stale (heartbeat >30min, PID dead) | any | call acquire — auto-clears + takes over | |
| Heartbeat live, expires_at >30min away | edit | NEGOTIATE via .cognitive-os/runtime/edit-negotiations/ | |
| Critical bugfix priority | edit | ESCALATE: set COS_BYPASS_EDIT_LOCK=1, audit-log proceed |
Park protocol
If you decide to PARK:
Then move to non-conflicting work. A future hook can drain this queue when the lock releases.
Negotiate protocol
If you need partial access (e.g., they're editing line 200, you need line 50):
The holder reads .cognitive-os/runtime/edit-negotiations/$OWN_SESSION/ on every heartbeat (every 5min by default).
Limits
- This skill does not automatically apply parked edits. That requires a
separate drain hook (deferred until volume justifies it).
- Negotiations are advisory — the holder decides. No enforced mediation.
COS_BYPASS_EDIT_LOCK=1works regardless of skill; this skill cannot
prevent it (only audit-log it).
Related
- ADR-098 — Multi-Agent File Coordination (this skill is its introspection layer)
- ADR-089 — Multi-Session Git Coordination (sibling layer for git index)
scripts/edit-coop.sh— the command-line primitivehooks/edit-lock-pre-tool.sh— PreToolUse[Edit|Write] enforcementtemplates/edit-conflict-response.md— boilerplate for sub-agents on conflict
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/coordination-status/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/luum-home/luum-cognitive-os/coordination-status)