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

headroom

PLUGIN

Keeps Ulpi alive on small machines (1-4 GB VPS, Raspberry Pi).

by seongj-un · v0.1.2

What it does

Keeps Ulpi alive on small machines (1-4 GB VPS, Raspberry Pi). Ulpi stays outside the scope, and the tool result tells the model the cap, the peak and whether the kernel killed the job, so it retries lighter.

Adds headroom_status, /headroom and ulpi headroom status|events|explain|selftest. Disclosure — Linux only for enforcement; runs busctl --user (StartTransientUnit, AttachProcessesToUnit) and systemctl --user kill/reset-failed for its own headroom-*.scope units with a reduced environment (PATH, XDG_RUNTIME_DIR, DBUS_SESSION_BUS_ADDRESS), plus one sleep placeholder process per isolated job; reads /proc meminfo, PSI and stat/status/cmdline/cgroup of the user's own processes and cgroup files of its scopes and Ulpi's cgroup; raises oom_score_adj of job processes; kills only processes inside its own scopes (or a tracked job's process group without systemd) when the watchdog fires; rewrites heavy commands before approval so the approved command is what runs; writes events to <ULPI_HOME>/plugin-data/headroom/events.jsonl and slot locks to $XDG_RUNTIME_DIR/ulpi-headroom (or an owner-checked ulpi-headroom-<uid> directory in the system temp dir); no network, no telemetry, no credentials; reads tools.interrupt.is_interrupted (guarded) so /stop cancels a queued command.

Tools it adds

The tools an agent gets once this plugin is installed.

  • headroom_status

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 Tools

All listings →