agentleFS
wyrd-companywyrd-company/skills/boat/SKILL.md

boat

Skill0 starsChanged 15 days agoCC0-1.0View on GitHub

Use when a check needs a clean, disposable machine: proving an install, setup steps or a clean clone on a fresh system, running something that would change this workspace, or giving a person an HTTPS URL to try a result. Covers Boat sandboxes: `boat run` and `boat new`, getting the work onto one, hosting a port, cost, secrets and deleting what you made. Not for deciding what to prove (`executing`) or how acceptance runs (`executing`'s user-acceptance-testing).

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 0 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Size: Use --type small unless the check needs more.

    line 21
  2. Very specific:

    Use boat new when the check takes several commands, or a person needs a URL.

    line 36
  3. Very specific:

    Delete each sandbox you created once its check is done: boat delete <id> --yes.

    line 62
  4. Very specific:

    Before you hand over, ledger list shows each sandbox of yours that remains: delete it, or hand it off if other work still needs it.

    line 63

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

A Boat sandbox is a Linux VM that starts in seconds and holds nothing from this workspace. A result there shows what someone starting from nothing gets, not what this machine happens to have installed.

When to use one

  • The claim is about a fresh machine: an installer, a bootstrap script, setup instructions, "works from a clean clone".
  • The check would change this workspace: system packages, the home directory, services you would have to undo.
  • A person needs to try the result: an app on a URL, for user-acceptance testing.

A check that runs in a worktree, such as tests or a linter, stays there: a sandbox adds cost and proves nothing more.

Before you start

  • boat on PATH is a wrapper that reads the API key from OpenBao on each call, as Boat in the dotfiles describes. A 403 is the Wyrwood policy: report it, as for any secret.
  • Cost. A sandbox uses the plan's included hours while it runs; time beyond them, and a start past the plan's limits, is paid from the wallet. Estimate the sandbox's whole lifetime, not only your command's: its bound (--timeout for boat run, --ttl for boat new), plus the time to copy the work in, plus 15 minutes for the auto-stop when a run is cut off before it deletes the sandbox. Convert it at the machine's rate: the plan counts default machine hours, and small uses half as many, large twice as many. Then run boat limits --json, before each start and again before each boat extend. Go ahead only when canStart is true, nextStartDollars is 0, and planIncluded.vmHoursRemaining is at least twice the estimate. When it is not, or you cannot estimate the copy, that may be spending money: ask first.
  • Size. Use --type small unless the check needs more.
  • Secrets. The sandbox is a machine outside the workspace. Pass --no-env, so the account's stored secrets stay off it, and never send it a secret with -e, --file or a pushed file. A check that cannot run without a secret is not a sandbox check: run it in the workspace, or ask the operator.

One command: boat run

Prefer boat run when one command proves the claim. It creates a sandbox, copies a directory in, runs the command, prints its output and cost, and deletes the sandbox. It exits with the command's exit code, so there is nothing to clean up. If its last line does not end with deleted, the run was cut off: find the sandbox in boat list and delete it.

boat run --no-env --type small --timeout 900 --push . ./install.sh

--push copies the files git tracks or does not ignore, uncommitted changes included. To prove a commit, run it from a clean worktree checked out at that commit, and record the commit with the result.

Several steps: boat new

Use boat new when the check takes several commands, or a person needs a URL.

boat new --no-env --type small --no-snapshots --ttl 3600 --name <task-or-branch> --json
  • Use the sandbox's id everywhere. Take it from the created line of the JSON output and pass it to every later command. Your shell does not keep state between tool calls, so current and BOAT_CURRENT_ID do not reach the next call.
  • The wrapper records the sandbox in your thread's ledger as boat:sandbox/<id>. Check ledger list; when it warns that it could not, record it yourself. When the work has a task, log the id there too.
  • Get the work on it: boat push <id> <dir>.
  • Run commands: boat exec --timeout <secs> <id> <command>, with options before the id: anything after the command goes to the command. The default timeout is 30 seconds. For a long run, start it with --detach and follow it with --attach <pid>. Use boat ssh -t <id> <command> when the command needs a terminal.
  • --ttl is a backstop for a sandbox you forget, not cleanup.

Let a person try it

Start the service on the sandbox first, with boat exec --detach. boat host <id> <port> exposes a port the service listens on for every address (0.0.0.0) on an HTTPS URL. A service that listens only on localhost, as many development servers do by default, needs boat host --localhost <id> <port>. Open the URL yourself and check that it serves the result before you give it to anyone.

The URL is private by default, but its token is part of the URL: anyone who has it can open it. Post it only where the people meant to use it will read it. --public drops the token; use it only when the operator agrees.

Set the lifetime to cover when the person will look, with boat extend <id> --hours <n>, after checking the cost again. In the brief, say when the sandbox expires and that it will be deleted after the acceptance.

Evidence

Hand over the command, the machine type, the commit, the output and the cost boat run reports. boat history <id> lists the commands run in a sandbox that still exists, and boat history <id> <command-id> prints one's stored output.

Clean up

  • Delete each sandbox you created once its check is done: boat delete <id> --yes. boat stop is not cleanup: it keeps a snapshot for 14 days.
  • Before you hand over, ledger list shows each sandbox of yours that remains: delete it, or hand it off if other work still needs it. boat delete releases it from the ledger. Delete only your own: other sandboxes on the account belong to other work.

Reference

boat --help and boat <command> --help are current for the installed version. The CLI reference covers the rest.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.