clean-targets
Pass
Audited by Gen Agent Trust Hub on Jul 30, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses a bash script to perform filesystem operations and execute local commands.
- The script executes
git worktree list,find, andduto identify and measure Cargo target directories. - It uses
rm -rfto delete identified build artifacts. - The script implements several safety mechanisms: it only targets directories containing the
CACHEDIR.TAGmarker, checks the process list (ps) to skip directories currently in use byrustcorcargo, and provides a mandatory--dry-runstep in the instructions for user verification.
Audit Metadata