Recipes Intentions
Big task into steps Recipe
Think through a big Task with the person and offer a few sub-tasks. After a yes, put them on a new Task with xale_ or add them to an existing one with xale_.
When
A Task feels big or vague, or the person keeps putting it off.
Calls
xale_with itsread_ task id: its notes and any subtasks it already has.- Think it through with the person first. If it's hard, offer a Note or Mindmap to think in.
- Propose the steps. After a yes:
xale_withupdate_ task idandsubtasks. Each subtask needs all five fields:id,title,durationMin(whole minutes, ornull),completedAt(nullfor a new step) andorder. - Offer to schedule the first step:
xale_withschedule_ intention kind: "task", the Task'sid,startAtand a newrequestId.
Subtasks you send are changed or added by id; the ones you leave out are kept. For a new step, choose an id that isn't used yet on that Task (any string: step-1, a short random string). To change an existing step, send its own id from xale_.
{ "tool": "xale_update_task", "arguments": {
"id": "Tq3wP8xL",
"subtasks": [
{ "id": "step-1", "title": "List what the report must answer", "durationMin": 15, "completedAt": null, "order": 0 },
{ "id": "step-2", "title": "Pull last quarter's numbers", "durationMin": 30, "completedAt": null, "order": 1 },
{ "id": "step-3", "title": "Write the summary page", "durationMin": 45, "completedAt": null, "order": 2 }
]
} }When the Task is new
Use xale_ with the agreed title and subtasks as an ordered array of strings. Give each piece a non-blank title. The create returns the new Task’s ID and its subtaskIds.
Or as a Mindmap
The steps can live on a Mindmap instead, one node each. A node linked to a Task completes or reopens that Task when you tick it with xale_ (mapId, nodeId, done).
Say
- Propose three to seven steps, small enough to start, and ask before saving.
- Then: "Want the first one in your day?"
- One nudge at most: link the Task to the Note or Mindmap you thought it through in (Link to the note behind).
If it fails
| What comes back | What to do |
|---|---|
| “Invalid arguments for xale_update_task: check …” | A subtask is missing a field. Send all five, with null where there's no value. |
| “Nothing with that id is available in this Xale.” | The Task is in Trash or an Area kept away from connected AI. |
Think first, a few small steps, saved after a yes, then one step into the day.
For people
- Checked against main
d2feeb6e