Skill Development

headless

An agent skill that takes a Mac, Linux or Windows machine from an admin account with a password and remote login on to a configured headless machine reachable over SSH.

  • 29 GitHub stars
  • ⚖️ MIT

Last verified: write-up checked

npx skills add kunchenguid/headless -g
headless — skill preview

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

  1. Step 1

    bash
    npx skills add kunchenguid/headless -g

مهارة وكلاء تحوّل جهاز Mac أو Linux أو Windows إلى جهاز يعمل بلا شاشة ويُدار عبر SSH، دون أن يرى الوكيل كلمة مرور المسؤول.

Examples

Install globally

bash
bash
npx skills add kunchenguid/headless -g

What it does: The README's install command.

Set up a Mac mini

Prompt
prompt
/headless set up my Mac mini at 192.168.1.20 as a headless machine

Expected output: A slash-command request from the README.

Update and verify a server

Prompt
prompt
update my headless Linux server and check it comes back after a restart

Expected 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)