git-cleanup — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited git-cleanup (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
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.
!git branch -a 2>/dev/null | head -30 !git remote -v 2>/dev/null !git stash list 2>/dev/null
List local branches already merged into main/master:
git branch --merged main 2>/dev/null || git branch --merged master 2>/dev/nullPresent the list to the user and ask for confirmation before deleting.
Safe to delete (already merged):
git branch -d <branch-name>Prune remote tracking refs that no longer exist:
git remote prune origin --dry-runAfter confirmation:
git remote prune originList branches with no commits in the last 90 days:
git for-each-ref --sort=committerdate --format='%(committerdate:short) %(refname:short)' refs/heads/ | head -20Never delete unmerged branches without explicit user approval.
List all stashes:
git stash listFor old stashes (>30 days), suggest review and cleanup.
Check for large files:
git rev-list --objects --all | git cat-file --batch-check='%(objecttype) %(objectname) %(objectsize) %(rest)' | sort -k3 -n -r | head -20git gc --auto| Action | Count | Status |
|---|---|---|
| Merged branches deleted | X | Done/Pending |
| Stale remote refs pruned | X | Done/Pending |
| Old stashes reviewed | X | Done/Pending |
List branches that were skipped with last commit date.
Before and after repository size (if gc was run).
git branch -D) without explicit user confirmation--dry-run first, then execute~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.