Os Clean Locks

Safely removes all agent lock files from the context/.locks/ directory to resolve deadlocks caused by crashed agents leaving stale locks behind. Use when the user says "/os-clean-locks", "clear all locks", "reset agent locks", or when an agent is deadlocked and cannot acquire a lock because a previous agent crashed and left a stale lock behind in context/.locks/. Verifies lock existence, discovers and removes stale lock directories, updates OS state via kernel.py, and emits event bus notifications. Requires Python 3.8+ standard library only.

richfrem d48879e 9 files · 4.4 KB Updated

File contents

richfrem/agent-plugins-skills/tree/main/plugins/agent-agentic-os/skills/os-clean-locks commit d48879e357

Frequently asked questions

npx skillmds@latest add richfrem/os-clean-locks