Rent a machine for your work with `fleetlayer machines` (Fleetlayer's machines plugin): a box with a Fleetlayer node on it, shared with you, from a profile the person set up (a bigger build box, a clean machine per batch of agents), paused when you're done so it costs only its snapshot. Use when a job needs more CPU or memory than the shared machines have room for, when the person asks for a fresh or isolated machine, when a message says a machine is ready, failed or pauses soon, or to set up...
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 Skill?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/fleetlayer-skill-e85957b1)
---
name: fleetlayer-machines
description: Rent a machine for your work with `fleetlayer machines` (Fleetlayer's machines plugin): a box with a Fleetlayer node on it, shared with you, from a profile the person set up (a bigger build box, a clean machine per batch of agents), paused when you're done so it costs only its snapshot. Use when a job needs more CPU or memory than the shared machines have room for, when the person asks for a fresh or isolated machine, when a message says a machine is ready, failed or pauses soon, or to set up profiles for them.
---
# Machines
The person's provisioner rents servers (Hetzner Cloud) and makes each a node of the fleet. You ask for one of a
profile they wrote; it's owned by the profile's team and shared with you. It costs money for every hour it runs, so
take one only when the work needs it, and pause it when you're done.
## Rent one, use it, pause it
```sh
fleetlayer machines profiles # what you can rent, how many are in use, the month's limit
fleetlayer machines create build --reason "full test run for the billing change" --wait
```
`create` is asked of the person under Fleetlayer's default rules (it spends money): say plainly what it's for. With
`--wait` it prints each step and answers once the machine is ready (a few minutes), with its name, which is its node's
name (`build-1`). Without `--wait` it answers at once; `fleetlayer machines show build-1` follows it.
Once it's ready, work on it like on any node: start a session there (`fleetlayer session start --on build-1 --tab
tests --cwd ~/work "<prompt>"`), or run what the person set up for it. It comes with what the profile's setup scripts
install, nothing more.
When you're done:
```sh
fleetlayer machines pause build-1 --wait # drained, snapshotted, server deleted: only the snapshot costs now
```
`pause` drains it first: each session on it is asked to push its work and move to a node with room, or close. A
session that's still there afterwards, or secrets delivered to it left in files there (its snapshot would keep them),
stops the pause and the machine runs on: `show` says why. Close the session or remove the files, or ask the person. `pause --force` and `--accept-leftover-secrets` use the
`pause-force` tool, which the person is asked about unless you own the machine.
Later, `fleetlayer machines resume build-1 --reason "…" --wait` brings the same node back with its files (asked of the
person too), open to sessions again. `fleetlayer machines destroy build-1` deletes it, its snapshot and its node, for good.
## Lifetimes and limits
- A profile with `idle:` also pauses a machine once its node has been idle (nothing on it working) for a while, just
before its next billed hour; starting work on it again before then cancels that. Don't keep a session spinning to
hold a machine: ask for a longer lifetime or extend it.
- A profile with `lease:` makes each machine a lease kind (`rented-build-1`…): builds reach it through `fleetlayer
lease`, it's marked up when ready and down when it pauses, and a held lease stops its pause. Take a lease of the kind
(or its pool) to use it, rather than starting work on it outside leases.
- With `wake:` in the profile, a lease kind's machine is started for you (resumed if it's paused, made if there's none)
once your lease has waited a few minutes (`machine.wake` on the `capacity` channel says so): wait in the lease's
line rather than creating or resuming one yourself. A machine whose pause was forced isn't woken for an hour.
- A machine pauses itself when its lifetime ends (the profile's, or `--lifetime 2h` at create). You get a message an
hour before: `fleetlayer machines extend build-1 --for 2h` keeps it longer, up to the profile's max_lifetime from
when it started. Past that, pause and resume it.
- A profile has a most machines (running or paused): `create` names the ones in the way. Pause or destroy one of yours,
or ask the person.
- The month has a spending limit. `create` refuses a machine that would pass it if it ran its whole lifetime, and says
how much is spent: ask the person rather than trying smaller lifetimes until one fits.
## Messages and events
- "Machine build-1 pauses at …": its lifetime ends within the hour. Extend it or let it pause.
- "Machine build-1 failed at <step>": `fleetlayer machines show build-1` has its steps. A failed create usually needs
the person (a profile or quota problem); destroy it when you've read why.
- Events on the `machines` channel (subscribe to it, or catch up with `fleetlayer events --channel machines`): `machine.created`, `machine.failed`,
`machine.destroyed`, `machine.orphaned` (its node isn't linked), `machine.limit`, `machine.unknown`.
## Setting it up for the person
The provisioner runs on a Unix user of its own (never beside agents: the provider's token is root on every machine).
Its settings are `~/.config/fleetlayer/machines.yaml` (accounts, profiles, limits) and a node template per profile;
`fleetlayer-machines check` reads them. The full setup, with the tool's `call_targets` and the policy's
`provisioners:` entry, is in Fleetlayer's docs: plugins/machines. The person creates the Hetzner token in their
console and pastes it into a 0600 file; you never handle it. If the control plane's address isn't reachable from the internet (it runs on
a laptop or a home network with no way in), set the profile's `reach: tunnel` (`auto`, the default, picks it for a
loopback, private or LAN address): the provisioner then carries each box's link over SSH. Pick it before the first
machine of that profile is made.