ClaudSkills / Product / product-misc

Os Clean Locks

Quality score: 70/100  ·  Category: Product  ·  Sub-category: product-misc
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.

What this skill does

Os Clean Locks is a production-ready Claude Code skill (quality score 70/100) in the product-misc sub-category. It ships as a SKILL.md file that Claude Code auto-discovers under ~/.claude/skills/os-clean-locks/ and loads when your prompt matches the skill's trigger.

When to invoke it: 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/.

Who uses this skill

The Os Clean Locks skill is built for product managers, product designers, and cross-functional teams planning, shipping, and measuring product features. It is part of the open ClaudSkills registry, a community-curated catalog of 15,000+ capabilities you can install for Claude Code — the Claude CLI agent.

How to install

Free

Manual install (2 steps)

mkdir -p ~/.claude/skills/os-clean-locks
curl -L https://claudskills.com/skills/os-clean-locks/SKILL.md \
  -o ~/.claude/skills/os-clean-locks/SKILL.md

Or just download SKILL.md directly and drop it into ~/.claude/skills/os-clean-locks/. Claude Code auto-discovers it on next session.

Skills live at ~/.claude/skills/os-clean-locks/SKILL.md on macOS/Linux, or %USERPROFILE%\.claude\skills\os-clean-locks\SKILL.md on Windows. See the full install guide for step-by-step instructions.

Pro

One-click install via the desktop app

The ClaudSkills desktop app installs any skill directly into ~/.claude/skills/ with one click — no terminal required. Pro starts at $9/mo or $149 lifetime.

More Product skills

Browse all Product skills in the ClaudSkills registry, or explore these top-rated picks from the same category:

Browse all Product skills → Top 100 skills
Part of ClaudSkills — the open registry for Claude Code skills.  ·  What's New  ·  Install guide  ·  About  ·  llms.txt