This procedure validates the bundled `horizon-machines` skill (`SKILL.md` and
its six provider/Tailscale references), confirming bundle parity, installer
placement across agent homes, and optional live cloud machine lifecycle with
verified cleanup.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Procedures?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/peters-procedures)
---
procedure: machines-skill
feature: horizon-machines standalone skill for renting and cleaning up remote Linux machines
platforms: [linux, macos]
cost: paid compute (live tasks only)
destructive: yes (live tasks create and delete cloud VMs/pods)
secrets: user-authenticated provider CLI credentials (hcloud, aws, gcloud, az, runpodctl) and optional TS_<NET>_* env vars
owner: peters
---
# horizon-machines skill test procedure
## 1. Purpose
This procedure validates the bundled `horizon-machines` skill (`SKILL.md` and
its six provider/Tailscale references), confirming bundle parity, installer
placement across agent homes, and optional live cloud machine lifecycle with
verified cleanup.
## 2. Applicability
- Candidate: a current `horizon` build embedding `horizon-machines`.
- Offline tasks (M-1) require only Python 3 and the Rust toolchain with zero
cloud spend.
- Optional live tasks (M-2) require a user-authenticated provider CLI (`hcloud`,
`aws`, `gcloud`, `az`, or `runpodctl`) and incur cloud compute charges.
## 3. Safety
> **CAUTION: LIVE TASKS RENT PAID CLOUD RESOURCES AND DELETE RESOURCES BY NAME
> AND TAG.** Confirm the provider, region, machine type, and name before
> creating anything, never touch unlabelled resources, and verify zero
> remaining resources after deletion.
> **CAUTION: NEVER PRINT OR COPY PROVIDER TOKENS, PRIVATE KEYS, OR TAILSCALE
> OAUTH SECRETS.** Keep OAuth secrets on this computer and pass one-time
> Tailscale auth keys only via `ssh` standard input.
## 4. Tasks
### 4.1 M-1 — Offline parity, links, and installation
1. Run `python3 -B scripts/check-horizon-mcp-skills.py`.
Result: `horizon-machines` passes parity between `codex` and `claude-code`,
every reference link from `SKILL.md` resolves, and every asset is listed in
`crates/horizon-ui/build.rs` and embedded in `plugin_install`.
2. Run `cargo test -p horizon-ui plugin_install::`.
Result: `horizon-machines/SKILL.md` and its references install into Claude,
Codex, Grok, and Horizon home skill trees and stay absent from `~/.agents`.
### 4.2 M-2 — Optional live single-machine lifecycle (for example Hetzner `hcloud`)
> **CAUTION: THIS TASK RENTS AND DELETES A PAID CLOUD SERVER.**
1. Ask an agent to check available provider CLIs (read-only) and list any
existing `horizon-managed=true` resources.
Result: The agent runs read-only checks only, reports active providers, and
makes no changes without confirmation.
2. Confirm renting a small temporary machine (for example `build-test-1`), verify
per-machine SSH key generation (`0600`), SSH login with
`-o IdentitiesOnly=yes -o IdentityAgent=none`, `sshd -T` showing
`passwordauthentication no`, and `tmux` availability.
Result: The machine starts with `horizon-managed=true` and
`horizon-machine=build-test-1` labels, answers SSH with the dedicated key,
and runs `tmux`.
3. Ask the agent to delete the machine and prove cleanup.
Result: Compute, firewall, and cloud SSH key are deleted in order, the
provider query returns zero matching resources, and the local per-machine
keypair and known-hosts file are removed.
## 5. Pass criteria
- M-1 passes in the final candidate checkout.
- When M-2 is executed, zero `horizon-machine=build-test-1` cloud resources and
zero local per-machine key files remain after step 3.
## 6. Cleanup
Run the provider's `horizon-managed=true` discovery query from the matching
reference file to confirm no stray resources remain.