agentleFS
marshal-orgmarshal-org/runlease/skills/setup/SKILL.md

setup

Skill1 starsChanged 16 days agoApache-2.0View on GitHub

Install Runlease and get to a first working machine. Use when `runlease` is not installed, the person asks to set Runlease up, or a Runlease command fails because of a missing sign-in, project, region or relay.

  • Pipes a download into a shell
  • Installs packages

192 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use add-discord, add-slack and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    add-discord

    Add Discord bot channel integration via Chat SDK.

    Also in 11 projects that use this

  • MicrosoftSkill

    add-slack

    Add Slack channel integration via Chat SDK.

    Also in 11 projects that use this

  • +10 more from microsoft

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 168 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

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

    Always read the ☁ line up prints.

    line 52
  2. Distinctive:

    If it is not the one the person expects, stop and ask before launching.

    line 53
  3. Very specific:

    Never pass --public-ip on your own.

    line 57
  4. Distinctive:

    Never run a sign-in command in the background or try to complete it yourself.

    line 59

“Common” is measured: kept by at least 6 in 10 of the 168 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

Set Runlease up

Runlease launches a spot machine in the person's own Google Cloud or AWS account, reaches it through a relay, and deletes it when its lease ends. Setup has three parts: the CLI, a cloud sign-in, and a relay sign-in. Check each before fixing anything.

1. Find out what is missing

runlease version          # not found -> install (step 2)
runlease doctor           # checks sign-ins, project/account, network and relay, and prints each fix

runlease doctor creates nothing and is safe to run at any time. Act on its fix: lines, in order. If this build has no doctor command, check by hand with runlease whoami and step 3.

2. Install

curl -fsSL https://runlease.online/install.sh | sh     # Linux and macOS, to ~/.local/bin, no sudo

The installer verifies the binary's SHA-256. Do not use go install: a source build cannot verify the agent that runs on each machine.

3. Sign-ins: the person does these, not you

Each of these opens a browser or shows a code. Ask the person to run it in their own terminal (in Claude Code they can type ! <command> at the prompt), then continue.

WhatCommandWhen
Google Cloudgcloud auth application-default login then gcloud config set project PROJECTLaunching on GCP
AWSaws sso login (or aws login)Launching on AWS
Relayrunlease loginAlways. With no relay chosen it uses the free public relay and saves it

gcloud auth login is not enough: Runlease reads the application default sign-in.

4. First machine

runlease up -p gcp -n box -d        # or -p aws. Prints the project/account it will use: read it
runlease exec box -- uname -a
runlease down box --yes

Always read the ☁ line up prints. It names the project or account, the region and the identity. If it is not the one the person expects, stop and ask before launching.

Rules

  • Never pass --public-ip on your own. If up says the subnet has no NAT gateway, show the person the choices it lists and let them pick.
  • Never run a sign-in command in the background or try to complete it yourself.
  • runlease configure is interactive. To save defaults without it: runlease config set defaults.provider gcp, defaults.region, defaults.size, defaults.ttl.

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.