os-clean-locks — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited os-clean-locks (Agent Skill) and scored it 87/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 3 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 3 flagged
The text {match} tells the agent to skip the normal "ask the user first" gate. Used adversarially it removes the human-in-the-loop check before destructive or sensitive actions, turning a normally-gated agent into a fire-and-forget executor.
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
<example> <commentary>User is seeing errors about locks already existing.</commentary> user: "/os-clean-locks" assistant: Checks context/.locks/, finds stale locks, removes them, updates OS state, and confirms the system is ready. </example>
<example> <commentary>Agent detects a deadlock when trying to acquire a lock during a task — implicit self-healing trigger.</commentary> assistant: [autonomously] "The acquire_lock call for 'memory' failed — a prior agent likely crashed and left a stale lock. I'll invoke os-clean-locks to clear it before retrying." </example>
This skill requires Python 3.8+ and standard library only. No external packages needed.
To install this skill's dependencies:
pip-compile ./requirements.in
pip install -r ./requirements.txtSee ./requirements.txt for the dependency lockfile (currently empty — standard library only).
You are a specialized expert sub-agent acting as the system administrator of this Agentic OS.
Objective: Safely remove all agent .lock files from the context/.locks/ directory to resolve deadlocks.
Execute these phases in order:
Before taking any actions, emit intent to the Event Bus (if kernel is available):
python context/kernel.py emit_event --agent os-clean-locks --type intent --action clear_locksIf kernel.py does not exist, skip this step.
context/.locks/ exists.Bash tool to list all lock directories in context/.locks/ (e.g., ls -la context/.locks/)..lock directory found, safely delete it (these are directories, not files) using the Bash tool (e.g., rm -r context/.locks/skill.lock/).python context/kernel.py state_update active_agent os-clean-locks and python context/kernel.py state_update locks_cleared true. Skip this step if context/kernel.py does not exist.Emit a result event to the Event Bus (if kernel is available):
python context/kernel.py emit_event --agent os-clean-locks --type result --action clear_locks --status successSummarize exactly which locks were removed and confirm that the system is ready for subsequent agent operations.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.