[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-110551":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":13,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":21,"topics":23,"createdAt":9,"pushedAt":24,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":15,"starSnapshotCount":15,"syncStatus":28,"lastSyncTime":29,"discoverSource":30},110551,"headless","kunchenguid\u002Fheadless","kunchenguid","Agent skill that sets up a headless Mac, Linux or Windows machine over SSH, step by step, without ever seeing the admin password.",null,"Shell",210,15,1,20,0,8,108,4,59.53,"MIT License",false,"main",[],"2026-11-22 10:55:34","2026-11-21 22:48:20","\u003Ch1 align=\"center\">\u002Fheadless\u003C\u002Fh1>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fagentskills.io\"\n    >\u003Cimg\n      alt=\"Agent Skills\"\n      src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FAgent%20Skills-package-blue?style=flat-square\"\n  \u002F>\u003C\u002Fa>\n  \u003Ca href=\"LICENSE\"\n    >\u003Cimg\n      alt=\"License\"\n      src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-green?style=flat-square\"\n  \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fplatform-macOS%20%7C%20Linux%20%7C%20Windows-blue?style=flat-square\"\n    >\u003Cimg\n      alt=\"Platform\"\n      src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fplatform-macOS%20%7C%20Linux%20%7C%20Windows-blue?style=flat-square\"\n  \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fx.com\u002Fkunchenguid\"\n    >\u003Cimg\n      alt=\"X\"\n      src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FX-@kunchenguid-black?style=flat-square\"\n  \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002FWsy2NpnZDu\"\n    >\u003Cimg\n      alt=\"Discord\"\n      src=\"https:\u002F\u002Fimg.shields.io\u002Fdiscord\u002F1439901831038763092?style=flat-square&label=discord\"\n  \u002F>\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Ch3 align=\"center\">What if a new machine set itself up while you watched?\u003C\u002Fh3>\n\nA Mac mini in a closet, a Linux box under the desk, a Windows PC nobody sits\nat. Making one run unattended means a dozen settings at the console - never\nsleep, sign in by itself after a restart, SSH keys only - and then, usually,\nhanding your agent the admin password so it can do the rest.\n\n**headless** is an [Agent Skill](https:\u002F\u002Fagentskills.io) that takes a machine\nfrom \"an admin account with a password and remote login on\" to a configured\nheadless machine over SSH, one step at a time: it never sleeps, signs itself\nin after a restart, takes SSH keys only, and optionally joins Tailscale. The\nadmin password stays in your secret store; the agent only ever names the\nentry.\n\n- **The password never reaches the agent** - it stays in Automic Vault,\n  1Password, Bitwarden, any command, or, as a last resort, a private env file.\n  The scripts read it and pipe it on; it never lands on a command line or in a\n  log.\n- **Mac, Linux and Windows** - Apple silicon Macs with\n  [Determinate Nix](https:\u002F\u002Fdeterminate.systems) and\n  [nix-darwin](https:\u002F\u002Fgithub.com\u002Fnix-darwin\u002Fnix-darwin); NixOS with this\n  repository's NixOS module, any other distribution replaced with NixOS by\n  [nixos-anywhere](https:\u002F\u002Fgithub.com\u002Fnix-community\u002Fnixos-anywhere) if you\n  choose, or Debian, Ubuntu and Fedora kept with a distro-neutral script;\n  Windows 11 and Windows Server 2025 with a rerunnable PowerShell script over\n  OpenSSH.\n- **Every step reruns safely** - each step says what it does, runs, and shows\n  its result; the last step reads every setting back, restarts the machine\n  and checks it comes back.\n- **Proven end to end** - each platform's whole journey runs on a\n  GitHub-hosted runner over SSH to itself, and the logs are checked for the\n  password.\n\n## Quick Start\n\n```sh\n# install (global recommended)\n$ npx skills add kunchenguid\u002Fheadless -g\n\n# in your agent\n\u002Fheadless set up my Mac mini at 192.168.1.20 as a headless machine\n```\n\n## What it needs\n\n- **Your computer:** macOS or Linux with bash, ssh and tar (and Nix, only to\n  install NixOS on a Linux machine).\n- **The machine:** an Apple silicon Mac on a current macOS, an x86_64 or\n  aarch64 Linux machine with systemd, or a Windows 11 or Windows Server 2025\n  PC - with an admin account that has a password, and remote login on.\n- **A secret store** for that password. Tailscale is optional.\n\n## How It Works\n\nFor a Mac the skill walks you through seven steps:\n\n```\nadmin account + password + Remote Login on\n      │\n      ▼\n┌────────────────────┐\n│ admin access       │  you, once, at the Mac\n└─────────┬──────────┘\n          ▼\n┌────────────────────┐\n│ save the password  │  you, once, in your secret store\n└─────────┬──────────┘\n          ▼\n┌────────────────────┐\n│ config folder      │  on your computer, from this repository's default config\n└─────────┬──────────┘\n          ▼\n┌────────────────────┐\n│ first SSH sign-in  │  host key pinned · your key added\n└─────────┬──────────┘\n          ▼\n┌────────────────────┐\n│ admin session      │  Determinate Nix · FileVault off · automatic sign-in\n└─────────┬──────────┘\n          ▼\n┌────────────────────┐\n│ apply              │  the config · Tailscale if you want it\n└─────────┬──────────┘\n          ▼\n┌────────────────────┐\n│ verify + restart   │  every setting read back · the Mac comes back\n└─────────┬──────────┘\n          ▼\n  headless Mac\n```\n\nA Linux machine takes the same path, without the admin session: after the\nfirst sign-in, a machine on NixOS is applied as it is; on another\ndistribution you choose between installing NixOS (the whole disk is erased)\nand keeping it with the script.\n\nA Windows PC starts with a few lines you paste in an administrator\nPowerShell to turn OpenSSH Server on (and, on a home or office network\nWindows calls Public, to mark it Private so SSH gets through the firewall).\nAfter the first sign-in, applying the config sets key-only SSH, automatic\nsign-in (the password kept as an LSA secret), the extras and Tailscale.\n\n## Usage\n\n| Invoke | Example |\n| ------ | ------- |\n| Slash | `\u002Fheadless set up my Mac mini at 192.168.1.20 as a headless machine` |\n| Natural language | \"update my headless Linux server and check it comes back after a restart\" |\n\nThe agent should auto-invoke when asked to set up, configure, update or check\na machine you reach only over SSH.\n\n## Package layout\n\n```\nskills\u002Fheadless\u002F\n  SKILL.md        # the agent contract: the rules and every step\n  references\u002F     # mac.md · linux.md · windows.md · secrets.md · tailscale.md\n  scripts\u002F        # mac\u002F · linux\u002F · windows\u002F: connect, apply, verify, restart, tailscale\n  assets\u002F         # darwin\u002F · nixos\u002F · windows\u002F: the default configs the skill copies\nmodules\u002F\n  darwin\u002Fheadless.nix   # the nix-darwin module, darwinModules.headless\n  nixos\u002Fheadless.nix    # the NixOS module, nixosModules.headless\nflake.nix         # the modules, templates.darwin (default) and templates.nixos\ntests\u002F            # the secret helper's test and the Mac, Linux and Windows journeys CI runs\n```\n\nShips as an [`npx skills`](https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fskills) package.\n\nThe repository is also a Nix flake, and the modules are the layers the skill\napplies. Use them from your own flake:\n\n```nix\ninputs.headless.url = \"github:kunchenguid\u002Fheadless\";\n# in your darwinSystem modules:\nheadless.darwinModules.headless\n{ headless = { user = \"admin\"; sshKeys = [ \"ssh-ed25519 ...\" ]; }; }\n```\n\n`nixosModules.headless` is used the same way in a `nixosSystem`. The options\nare listed in `skills\u002Fheadless\u002Freferences\u002Fmac.md` and\n`skills\u002Fheadless\u002Freferences\u002Flinux.md`.\n`nix flake init -t github:kunchenguid\u002Fheadless#nixos` (or `#darwin`) gives the\nstarting config the skill copies, the NixOS one with a disko disk layout for\nnew installs.\n\n## Development\n\n```sh\n# edit the skill\n$EDITOR skills\u002Fheadless\u002FSKILL.md\n\n# smoke-test discovery locally\nnpx skills add .\u002F -l\n\n# install from this checkout\nnpx skills add .\u002F -g -y\n\n# checks\nnix flake check                 # modules and default configs build (this system's)\ntests\u002Fsecret-run.test.sh        # the password is piped, never printed\nshellcheck -x tests\u002F*.sh skills\u002Fheadless\u002Fscripts\u002F*.sh skills\u002Fheadless\u002Fscripts\u002F*\u002F*.sh skills\u002Fheadless\u002Fscripts\u002F*\u002Fremote\u002F*.sh\n```\n\nThe `mac` workflow runs the whole journey on a GitHub-hosted Mac, over SSH\nto itself. The `linux` workflow runs the distro-neutral script on a\nGitHub-hosted Ubuntu runner over SSH to itself, and installs NixOS with\nnixos-anywhere on an x86_64 Ubuntu virtual machine there, then applies,\nrestarts and verifies it. The `windows` workflow checks every PowerShell\nfile parses, then runs the Windows journey on a GitHub-hosted Windows Server\nrunner over SSH to itself, from Ubuntu under WSL. Each checks its log never\nholds the password.\n\nPull requests to `main` are raised through\n[no-mistakes](https:\u002F\u002Fgithub.com\u002Fkunchenguid\u002Fno-mistakes): the\n`PR must be raised via no-mistakes` check stays red on a pull request opened\nby hand until its branch is pushed through the gate (`git push no-mistakes`),\nwhich writes a pipeline attestation into the pull request's description.\n","headless 是一个用于远程自动化配置无头（headless）计算设备的 Agent 技能，支持 macOS、Linux 和 Windows 系统。它通过 SSH 分步完成关键设置：禁用睡眠、启用自动登录、配置密钥认证 SSH、可选集成 Tailscale，并确保管理员密码始终保留在本地密钥管理器（如 1Password、Bitwarden 或 Automic Vault）中，绝不传入远程环境或暴露于命令行\u002F日志。所有脚本幂等可重试，且每步明确反馈执行结果。适用于远程部署 Mac mini、服务器、工控机等无需物理交互的长期运行设备。",2,"2026-11-24 04:39:16","CREATED_QUERY"]