What it is
headless is for the machine in the corner: a Mac mini, a mini PC or a home server you only reach over SSH. You start with an admin account, its password and remote login turned on. The skill then configures the machine so it never sleeps, signs back in after a restart and accepts SSH keys only, and can add Tailscale. The platform paths differ. The README says it uses Determinate Nix and nix-darwin on a Mac, NixOS on Linux, and a PowerShell script on Windows. The disk warning matters: the NixOS route through nixos-anywhere can wipe the entire disk if you pick it, so read what the agent proposes before approving. On secrets, the admin password stays in your secret store and the agent only names the entry. The licence is MIT and the repository had 28 stars when read. We did not run it on a machine.
Who it's for
- People running a Mac mini or home server that must stay on without a monitor
- Developers who want an agent to set up and later update such a machine
Requirements
Requirements
- A target machine with an admin account, its password and remote login switched on
- A coding agent that supports skills, installed through npx skills
Setup
Step 1
bashnpx skills add kunchenguid/headless -g
مهارة وكلاء تحوّل جهاز Mac أو Linux أو Windows إلى جهاز يعمل بلا شاشة ويُدار عبر SSH، دون أن يرى الوكيل كلمة مرور المسؤول.
Examples
Install globally
bashnpx skills add kunchenguid/headless -gWhat it does: The README's install command.
Set up a Mac mini
Prompt/headless set up my Mac mini at 192.168.1.20 as a headless machineExpected output: A slash-command request from the README.
Update and verify a server
Promptupdate my headless Linux server and check it comes back after a restartExpected output: An example of the follow-up maintenance request.
Pros & cons
Pros
- Pro:Configures the machine to never sleep, sign in after a restart and accept SSH keys only; Tailscale is optional
- Pro:The admin password stays in the secret store; the agent only names the entry
- Pro:The README says its journeys are run in CI on GitHub runners
Cons
- Con:Changes system-level settings, so use it on a machine you can afford to recover
- Con:On Linux it can use NixOS, and nixos-anywhere can erase the whole disk if you choose that path
- Con:Small project (28 stars when read)