control-oslisted
Install: claude install-skill 88plug/os-control-mcp
# Controlling the OS with os-control-mcp
The sanctioned "motor cortex" for the host: act through systemd / logind / journald / D-Bus, not raw PID hacks.
**Full tool inventory (22):**
- **Sense:** `os_diag`, `os_services`, `os_journal`, `os_resources`, `os_processes`, `os_pressure`, `os_net`, `os_disk`, `os_hardware`, `os_containers`, `os_sensors`, `os_session`, `os_verify`
- **Act:** `os_service`, `os_power`, `os_dbus`, `os_time`, `os_hostname`, `os_locale`, `os_notify`
- **Confirm / meta:** `os_wait`, `os_reload`
## The loop: sense → act → confirm
1. **Sense first.** `os_diag` (health, privilege, backends) → observe with `os_services` / `os_journal` / `os_resources` / `os_processes` / `os_pressure` / `os_net` / `os_disk` / `os_hardware` / `os_containers` / `os_sensors` / `os_session`. Understand state before changing it.
2. **Act through the sanctioned tool.** `os_service` (start/stop/restart/enable/…), `os_power` (suspend/reboot/poweroff), `os_dbus` / `os_time` / `os_hostname` / `os_locale` / `os_notify`.
3. **Confirm.** `os_wait` and/or re-run `os_services unit=…` / `os_journal unit=…` — don't assume the action took.
## The two guards (and how to pass them)
- **Self-preservation guard.** A *severing* action (stop/restart/disable/mask/kill) on a unit the agent depends on — `dbus`, `systemd-logind`, `sshd`, `NetworkManager`/networkd, `tailscaled`, the `user@…` session, `goosed`, etc. — is **REFUSED**. This stops you cutting off your own bus / login / network / remote a