Habit

From its catalog listing
Learns which commands you already approve, proposes an allowlist entry after a few matching approvals (the exact command, or any-container docker stop|restart), tells you once in the chat where you approved, and only writes it to Hermes's command_allowlist after you run /habit accept. Wipes, download-and-execute pipes, git push and secret paths are never proposed, and /habit undo or /habit uninstall take every entry back.
Good to know before installing
learns from your approval answers to dangerous shell commands in a local plugin database (plugin approval rules and other non-command prompts are never learned, and only the owner's approvals count); in enforce mode (off by default) it proposes command_allowlist entries (the exact approved command, or `docker stop|restart *` / `docker compose stop|restart *` for any container or service) and writes them to this profile's config.yaml through Hermes's config load/save only when you run /habit accept (owner_ids-locked on messaging gateways); when it creates a proposal it posts one message into the conversation where you approved through ctx.post_message (once per proposal, from a short-lived thread, never retried; turn off with notify: false; in-process only); an accepted entry waves through every command it matches, including ones Hermes flags as dangerous; /habit undo and /habit uninstall remove only the entries Habit added; no network calls, no credentials, no background process.
From its catalog listing.
How to install
- Install it. Hermes asks for any API keys it needs, then asks whether to turn it on.
hermes plugins install habit - Said no? Turn it on later:
hermes plugins enable habit - Restart Hermes so it loads the plugin.
Some plugins also need a sign-in or settings: see Full setup & settings. Memory plugins ask whether to become your memory provider instead. Steps follow the official plugins guide (opens in a new tab).
- Category
- Security & privacy · Automation & multi-agent
- Maintained by
- scottleimroth (Community)
- Needs
- No API keys declared
- Adds hooks
pre_approval_requestpost_approval_response- Works on
- linux
- Needs Hermes
- 0.23.0 or newer
- Version
- 0.1.6
- In the catalog
- 2026-11-10
Using the Hermes desktop app? See where plugins live

Full setup & settings ↗Source code ↗
More in security & privacy
All security & privacy plugins
New Hermes Agent updates every day on X. Follow @HermesWatcher