Use when a file edit is blocked because another agent holds a reservation — guides recovery from check status through escalation
From interlocknpx claudepluginhub mistakeknot/interagency-marketplace --plugin interlockThis skill uses the workspace's default tool permissions.
Enables AI agents to execute x402 payments with per-task budgets, spending controls, and non-custodial wallets via MCP tools. Use when agents pay for APIs, services, or other agents.
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
Designs and optimizes AI agent action spaces, tool definitions, observation formats, error recovery, and context for higher task completion rates.
When you try to reserve or edit a file held by another agent, you hit a conflict. The PreToolUse:Edit hook warns you; the git pre-commit hook blocks commits. This skill teaches the escalation ladder for resolving conflicts without losing work.
reserve_files returns a conflict (409)git commit is rejected by the pre-commit hook due to reserved files/interlock:status that files you need are heldCall check_conflicts or run /interlock:status to see:
If other unreserved files need attention, work on those first. The reservation may expire or be released while you work. Call my_reservations to see what you already hold.
Call negotiate_release with the holding agent's name/ID, file pattern, and reason. Use urgency='urgent' only when truly blocking critical work. For blocking-wait mode, set wait_seconds (for example wait_seconds=120) so the call polls the negotiation thread before returning.
Check the expires_at timestamp from Step 1. If expiry is <5 minutes away, wait it out. Stale reservations are auto-cleaned by intermute every 60 seconds.
If the reservation holder is unresponsive and the work is urgent:
/interlock:status and decidegit commit --no-verify (last resort)| Tool | When to Use |
|---|---|
check_conflicts | Step 1: see who holds the file |
list_agents | Identify the holding agent |
negotiate_release | Step 3: ask them to release (optionally wait with wait_seconds) |
fetch_inbox | Check if they responded |
git commit --no-verify without user approval — bypasses safety, risks overwriting another agent's work