Skip to content

Several machines

Report every machine you work on in one report with --fleet, and keep their skills in sync with fleetrc.

If you run agents on more than one machine, a skill you never use on your laptop may still be used on your server. --fleet reads them all before it judges.

npx loadsheet --fleet

loadsheet reads this machine, then asks each other machine of your fleet for its Scan over ssh. On each one it runs the version you ran here, such as:

npx -y loadsheet@0.2.0 --scan --days 30

That machine reads its own transcripts and sends back counters, names and skill descriptions as JSON. No transcript text leaves it. loadsheet then prints one Report for all machines, and says on stderr how many it read, such as Read 3 of 4 machines.

loadsheet leaves out a machine that fails or does not answer within --timeout seconds, 300 by default. The Report lists it under machines with the reason. A fleet report adds the drift rule: the same skill with different contents on two machines.

loadsheet takes the fleet from the first of these it finds:

  1. The hosts you name after --fleet, separated by commas: --fleet box,vps or --fleet=box,vps. Use --fleet=<host> for a single host named like a harness or usage: --fleet claude selects the Claude view of the default fleet, while --fleet=claude selects the host claude. Each entry is an ssh host, user@host, ssh://user@host:port or a Tailscale tag such as tag:servers. loadsheet refuses an empty entry or one ssh would read as an option, before it connects anywhere.
  2. The hosts for the current config profile that fleetrc recorded in hosts.json in $XDG_STATE_HOME/fleetrc or ~/.local/state/fleetrc, when using a fleetrc version that writes host records. A one-off --manifest pointing somewhere else does not change the record. A profile with no record has no fallback.

Without either, loadsheet warns and reports this machine alone. Run npx fleetrc sync to write hosts.json for the current profile, or pass --fleet a,b. A list with no host also reports this machine alone.

npx loadsheet --fleet box,tag:servers

To run another build of loadsheet on the other machines, such as one not yet on npm, set LOADSHEET_FLEET_COMMAND. loadsheet splits it on spaces and runs it in place of npx -y loadsheet@0.1.0.

fleetrc installs the same skills in every agent's skills folder from the sources a manifest lists. npx fleetrc init <manifest> points this machine at a manifest. npx fleetrc sync fetches the sources and links the skills. Versions that write host records also record the fleet's hosts for --fleet. To list every command:

npx fleetrc --help

loadsheet fleet used to run fleetrc. It now prints the npx fleetrc command to run with the same arguments, and exits 2.