Agent Lock Cleaner
Resolves agent deadlocks by safely removing stale lock files and synchronizing system state in Agentic OS environments.
The Agent Lock Cleaner is a specialized system administration utility designed to handle 'deadlock' scenarios within Agentic OS workflows. When an agent crashes or is interrupted, it often leaves behind stale lock directories that prevent subsequent agents from accessing resources. This skill automates the discovery and removal of these orphaned locks in the context/.locks/ directory, updates the OS state via the kernel, and emits event bus notifications to ensure the entire system is synchronized and ready for new tasks. It serves as a vital self-healing mechanism that can be triggered manually or invoked autonomously by agents encountering resource acquisition errors.