Agent Plugin

Hermes Disk Cleanup
Tracks temporary Hermes outputs and offers guarded cleanup without touching sessions, memories, skills, or configuration.
What is Hermes Disk Cleanup?
Disk Cleanup is a bundled Hermes Agent maintenance plugin for artifacts created during tests, tool calls, cron jobs, and temporary work. It records candidate paths as the agent works, exposes status and dry-run commands, and applies explicit safety rules before deletion. Sensitive Hermes state is excluded, and unusually large paths are never removed automatically, making the plugin useful for long-running local agents without turning cleanup into a blind recursive delete.
Key capabilities
Guarded deletion
Restricts cleanup to approved temporary locations and excludes core Hermes state.
Dry-run visibility
Lets the user inspect candidates before any removal.
Large-file protection
Refuses automatic deletion for paths over the configured safety threshold.
Use cases
Long-running agent host
Prevent recurring test and tool outputs from accumulating indefinitely.
Pre-cleanup audit
Review exactly what Hermes considers disposable before removing it.
Track custom output
Add a known temporary artifact to the cleanup registry.
Included components
Hooks
Post Tool Call Tracker
Records temporary outputs created during tool execution.
Session End Review
Summarizes cleanup candidates when a session finishes.
Commands
Cleanup Commands
Provides status, dry-run, quick, deep, track, and forget operations.
Installation scope
- Hermes Agent with bundled plugin support
- Filesystem permissions for the tracked temporary paths
- Explicit review for large or sensitive-looking paths
