Janitor
ReviewAudited by ClawScan on May 10, 2026.
Overview
Janitor is a coherent cleanup skill, but it gives the agent broad background authority to scan, archive, delete, and update workspace memory/configuration files without clear approval boundaries.
Install only if you want an agent to actively maintain your workspace. Start with report-only mode, review all proposed archives/deletions/MEMORY.md or config changes, and do not let it inspect API key material or run scheduled cleanup without explicit approval.
Findings (4)
Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.
Files may be moved, archived, deleted, or rewritten as part of cleanup before the user has reviewed the exact changes.
The skill directs the agent to perform broad workspace cleanup actions, not just produce a report, and does not require user approval before most mutations.
Workflow 1. Receive maintenance task or run scheduled check 2. Scan workspace against checklists 3. Execute cleanup actions
Run this skill in dry-run/report-only mode by default, require explicit approval for every archive/delete/edit, and limit it to specific directories with clear exclusions.
Sensitive API key or configuration details could be read into agent context or accidentally included in maintenance reports.
The skill asks the agent to inspect API key/config information, but the metadata declares no credential contract and the instructions do not define secret redaction or output boundaries.
- [ ] TOOLS.md — API keys and configs still accurate?
Restrict credential checks to non-secret metadata, require user confirmation before opening credential files, and explicitly redact secrets from reports and memory.
Incorrect, stale, or private information from daily notes could become part of future agent context.
The skill intentionally persists summarized information into reusable agent memory, which is purpose-aligned but can carry mistakes or sensitive details into future tasks.
- [ ] Update MEMORY.md with distilled learnings from daily notes
Review memory diffs before saving, cite source notes, avoid secrets, and keep a reversible archive of prior MEMORY.md versions.
Cleanup could happen when the user is not actively supervising the workspace.
The skill is designed for background/scheduled maintenance; this is disclosed and purpose-aligned, but it increases risk when combined with file mutation authority.
Don't use for urgent tasks — Janitor handles background hygiene.
Disable autonomous scheduling unless desired, and require interactive confirmation for any mutating background run.
