NEW Workflows: agents follow the steps, you sign off. Read more →
Ulpi

Habit

PLUGIN

Learns which commands you already approve, proposes an allowlist entry after a few matching approvals (the exact command, or any-container docker stop|restart).

by scottleimroth · v0.1.6

What it does

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 Ulpi'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.

How to set it up

  1. Disclosure — 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 / for any container or service) and writes them to this profile's config.yaml through Ulpi'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 Ulpi flags as dangerous; /habit undo and /habit uninstall remove only the entries Habit added; no network calls, no credentials, no background process.

    docker stop|restart *
    docker compose stop|restart *

Review notes

What an owner reads and accepts before the install is approved.

  • Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

More in Automation

All listings →