clean-system-cache
Pass
Audited by Gen Agent Trust Hub on Oct 29, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes various system commands and package manager utilities (e.g.,
npm cache clean,docker builder prune,uv cache clean,dotnet nuget locals) to reclaim disk space. These operations are the primary function of the skill and are performed using native shell scripts (Bash and CMD). - [SAFE]: No malicious patterns such as data exfiltration, obfuscation, or privilege escalation were detected. The skill implements high-standard safety invariants, including:
- Active Session Protection: It uses
pgrep(POSIX) andtasklist(Windows) to detect running browsers or agent processes, skipping cleanup for active sessions to prevent data loss or crashes. - Capability Tiering: It distinguishes between regenerable caches and capability-coupled data, preserving the latter by default to ensure agent functionality remains intact.
- Dry Run Support: Provides a preview mode allowing users/agents to inspect proposed deletions before execution.
- Inventory Validation: Performs a pre- and post-execution count of capability items to ensure no unintended regressions occur during default cleaning.
Audit Metadata