harnsy

Actions

An action is a button for a chore you repeat: a backup, an export, a build, a disk check. An agent writes the script and proposes it; you read it and enable it. Nothing runs before you do, and only the version you read runs.

1. Ask an agent for it

Open the project's Actions page and press «Create an action» (or «New» when the project already has actions). The wizard («First action», later «New action») goes in four steps: What to do · Agent writes · Read and enable · First run.

  • What to do: pick a chip (Build, Tests, Disk, Deploy, Cleanup) or «Your own…» and describe in a sentence what the button should do, for example «back up the shop database and show the size».
  • Send it: «Send to the agent» gives the line to an agent of the project's team. Or «Copy» it and give it to an agent yourself.
  • Wait for the proposal: the agent writes and tries the script, usually in a few minutes. You can leave: the proposal shows on the project's dashboard («waits to be enabled») and in «Needs you» on Home.

Do not want to wait for an agent? «or start from an example» opens a template.

2. Read and enable

Press «Read and enable» on the proposal.

  • A script: you see its whole text. harnsy keeps a copy of that exact text and runs the copy.
  • A command: you see the project's file it runs (the first 64 KiB; a binary file shows no text) and the sha256 of the whole file. harnsy pins that sha256: if the file changes, the action turns off at its next run and the bell tells you; enable it again after you read the file.
  • Marks: the page says if the action restarts the node, deletes files or uses the network, and shows its time limit (30 minutes by default) and its parameters with their defaults.
  • A new version shows what changed against the enabled one; «Whole script» shows all of it.

Press «Enable». From then on the button runs this version. When the agent changes the script, the change arrives as a new version and waits for you; the button keeps running the old one until you enable the new one.

3. Run it

  • From the Actions page: «Run».
  • From Home: switch on «Tile on Home» (or the ☆ in the list). The tile shows the state, the step it is on and the last result; ▶ runs it with its defaults. If a parameter has no default, the tile's button opens the action's page with the form.
  • On a schedule: a schedule can run an action whose parameters all have defaults, at most every 15 minutes, and not one that restarts the node or deletes files. If the action is still running, that scheduled run is skipped. See Schedules.

Before an action that restarts the node or deletes files, the dashboard asks you once more, and an agent never runs such an action.

4. Read the result

Open a run to see:

  • the steps, while it runs;
  • the «Result»: one line and up to 24 numbers; the numbers the action declares are kept as a history for 90 days;
  • files (up to 20) and links (up to 10) it produced;
  • the «Run log». When it is shown, harnsy is built to hide the secrets this node holds (its keys and the keys of your connections) and tokens of well-known formats (GitHub, AWS, Stripe, private keys…). The log itself keeps everything the script printed, so do not print keys.

A failed run, a run that ran out of time or one lost when the machine restarted comes to the bell with the reason.

5. Change, turn off, delete

  • Change: ask the agent; the new version waits for «Enable».
  • Turn off: the button stops working; a run in progress goes on, runs waiting in the queue are cancelled.
  • Delete: the action goes; its runs stay readable.

Editions

Free harnsy enables up to 3 actions on a machine; proposing is not limited. harnsy Max enables as many as you need and adds «Agents may run it»: agents can then run that action themselves. Free harnsy has one schedule in all.

Limits

  • A script runs as the user harnsy runs as, with no terminal, and can read whatever that user can. Write it to be safe to run twice.
  • What you enable is the script text, or a command's file by its sha256. It does not cover what the script calls: other programs, files or the network.
  • A run is cut off at its time limit (1 minute to 2 hours, 30 minutes by default).
  • A log keeps up to 20 MiB; after that the script keeps running. The last 50 runs of an action are kept.
  • Only one run of an action goes at a time.

What it does →

Something missing or wrong here? Tell us →

Questions? Ask on Discord →

Anthropic, Claude Code, OpenAI, ChatGPT, Codex, OpenCode, pi, Telegram, Discord, GitHub, Apple, macOS, iOS, iPhone, Safari, Google, Android, Chrome, Microsoft, Windows, Windows Security, Defender and QR Code are names of their owners’ products. harnsy is not affiliated with or endorsed by them. iOS is a trademark of Cisco used under licence by Apple; QR Code is a registered trademark of DENSO WAVE INCORPORATED. No logos.