Install
openclaw skills install @glucksberg/repository-janitorAudit Git repositories and worktrees, preserve findings, and monitor scheduled audit health without deleting work.
openclaw skills install @glucksberg/repository-janitorA conservative Linux repository auditor with a deterministic Python executor, private finding history, and an optional OpenClaw scheduler watchdog.
python3 scripts/audit.py --config /absolute/path/to/private-config.json --fetch --github --persist --report
--fetch, --github, or --persist when those actions are not requested; omitted network checks remain explicitly unknown. Done: a report or an explicit execution failure is available.AUDIT. For ORGANIZE_SAFE or PREPARE_CLEANUP, follow references/supervised-actions.md under explicit authorization for that run. Done: approved actions have preconditions, verified backup, and postconditions; other targets remain untouched.python3 -B scripts/test_audit.py. Use temporary repositories for tests, not production changes. Confirm that only the current run's lock was released. Done: focused tests pass and a partial audit is never described as a successful complete audit./proc for process observations.gh) with separately configured authentication for --github.--fetch performs git fetch --prune against the configured remote: remote-tracking refs can change, but working files are not updated.--persist writes private JSON state atomically. A corrupt baseline blocks replacement. Keep state outside the skill, source repositories, indexed memory, and public artifacts.PRAGMA quick_check with an interrupt deadline; no migrations, vacuum, or business-row queries are executed.Inspect repositories and report risks. No cleanup, automatic commits, fast-forward, deployment, or pruning of worktree registrations. A successful process exit indicates that a report was produced: inspect its errors and findings before claiming complete coverage.
Allows only verified pruning of administrative records for genuinely missing worktree directories, or a verified fast-forward of a clean non-runtime checkout. This is a manual workflow, not a CLI flag. Existing dirty, locked, or active worktrees remain untouched.
Identify exact targets and prepare verified backups. Do not delete or overwrite targets. Actual material cleanup requires a separate supervised authorization for those exact targets.
The scheduled auditor never deletes code, untracked files, branches, tags, worktrees, caches, builds, backups, releases, runtime dependencies, databases, uploads, credentials, or logs. It never performs git clean, automatic stash, reset, rebase, force push, commit, push, PR mutation, operation continuation/abort, process termination, migration, restart, or deployment.
Age, size, inactivity, absent approval, and a clean Git status never authorize deletion. A free persistent deployment lock is normal and is not removed.
The public package contains examples only: no publisher deployment paths, scheduler IDs, account credentials, repository history, or operational findings.