Instructions
An instruction is a project's repeatable work written once as steps: for each step who does it, what to do and what should come out, plus the fields asked at the start. It belongs to the project, not to one agent. You run it with «Run»; the instruction's owner role leads the run step by step.
1. Make an instruction
On the Tasks page, press the «Instructions» button in the bar. Then either:
- Write it yourself. Press «New instruction». Fill in the «Title» and «When to use». Choose the «Owner»: the role that leads every run. Add fields under «Asked at start» and steps with «Step».
- Ask an agent. Press «Ask an agent to write one», say «What is it about» and press «Ask». Your AI manager gets the request as a task, and an agent writes the instruction as a draft. (In the app this role is called Lead.)
Fields. A field is something a run needs from the start: «Client name», «Discount», «Version». For each one, set «Who gives it»: «you give it» (asked when you press «Run») or «the owner collects» (the owner fills it in itself on the way). Optional: «Choices, comma-separated» (they show as buttons) and an «Example value».
Steps. For each step: the «Step title», «Who does it» (a role of the project, «you», or the owner) and «What to do». Under «More: result, done when, fields, skip»: the «Result», «Done when», the fields the step reads, and whether it may be skipped. Drag ⠿ to reorder.
Save with «Save as draft» or «Save and make active». An agent can only save drafts.
2. Make it active
Only the active version runs. A draft waits until you, or your AI manager, make it active: open the instruction, then «Versions», and press «Make v4 active» on the draft (the number is the draft's version). The button is there for you and the AI manager. Without an active version you see «No active version».
3. Run it
Open the instruction and press «Run». The window shows:
- «Asked at start»: the fields you give. Fill them in; choices are buttons.
- «Steps this time»: every step, ticked. Untick a step you don't need this time; for a required one, write «Why skip it».
harnsy makes one task for the owner role, named «<title> · <first field>», with the steps as its checklist. The owner opens each step when its turn comes:
- a role's step becomes that role's task, with the step's text, the field values and the results of the steps before it;
- a «you» step comes to you as a question;
- if an agent starts the run, the fields you give come to you as one question.
Each task shows «By instruction: <title> · v<n>». The results land on the run's checklist.
You can also ask: «let's onboard the new client». Any agent of the project may start a run, the AI manager included.
4. Change it
Press «Edit». Every save is a new version, listed under «Versions». A run in progress stays on the version it started with; the next run uses the active one.
Who sees it
You and the AI manager see every instruction. In another role's list are the ones it owns, is listed under «Shown to», or has a step in.
Limits
- Up to 30 steps and 12 fields in one instruction; a step's text up to 2000 characters.
- Every role in an instruction must be a role of the project when you save it.
- The steps are one list, in order, without branches. The owner opens each next step; steps do not open by themselves.
- harnsy keeps the instruction, checks it on every save and lays out the run. The work itself is done by your agents and by you.
- Instructions come with harnsy 0.11.0, in every edition.
Something missing or wrong here? Tell us →
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.