# Nurse

Supervisor-aware service management for a Ulpi host.

- Type: Plugin
- Version: 0.1.0
- Updated: 22 Nov 2026
- Publisher: Megumiiiiii
- Category: Tools

[Contact us](https://www.ulpi.io/en/support#contact)

## What it does

Supervisor-aware service management for a Ulpi host. Reads pm2 and systemd into one table, triages a failing service's own logs into a ranked diagnosis (OOM via SIGKILL/exit 137, port already in use, missing env var, crash loop measured as restarts per hour rather than uptime, bad exit code, dependency unreachable), and repairs it through one guarded surface.

Disclosure — service_repair changes supervisor state: it restarts, starts, stops, reloads or resets a named pm2 process, or restarts, starts, stops or reset-fails a systemd user unit, behind an allowlist of verbs, a confirm plan-then-act step, a persisted per-service cooldown ledger, a refusal to restart a service already crash-looping, and a pre_tool_call hook that escalates every state-changing call to Ulpi's own human-approval prompt. No network I/O, no credentials, no elevated privileges.

## Tools it adds

The tools an agent gets once this plugin is installed.

- `service_list`
- `service_triage`
- `service_repair`

## How to set it up

It shells out to and / as the invoking user, so it can only act on services that user already controls; it reads their log files (including pm2's rotated siblings) and writes a small JSON snapshot and cooldown ledger under plugin-data/nurse.

```
pm2
```

```
systemctl
```

```
journalctl
```

## 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

- [NVIDIA Skills](https://www.ulpi.io/en/marketplace/plugins/nvidia-skills): Find the right NVIDIA skill for GPU acceleration, CUDA, AI agents, data loading, training, inference, robotics, Physical AI, Omniverse, simulation.
- [Oathkeeper](https://www.ulpi.io/en/marketplace/plugins/oathkeeper): An owner's oath, enforced by the machine.
- [Obol](https://www.ulpi.io/en/marketplace/plugins/obol): Safe invoicing for freelancers, consultants and agencies who bill clients, from any chat Ulpi runs in (tested: Telegram, WhatsApp, Slack, email and the terminal).

[All listings →](https://www.ulpi.io/en/marketplace) · [Publisher's guide →](https://www.ulpi.io/en/docs) · [Report a problem →](https://www.ulpi.io/en/security#report)
