Recipes Everyday
Morning check Today and Now
At the first chat of the day: do any check-in runs that are yours and due, offer waiting suggestions one at a time, then give a short picture of today. Offer to plan the day rather than doing it.
When
The person's first chat of the day. Xale's own instructions ask for step 1: if the person has recurring workflows with you, check xale_ when a chat starts and do what's yours and due.
Calls
xale_. For each run that's due and owned by your app:read_ check_ ins xale_withbegin_ run checkInIdandattended: true(the person is in the chat), do the work itsinstructionsgive, thenxale_once with thereport_ run runId, anoutcomeandattended: true.xale_: suggestions a connected AI made while the person was away.read_ proposals - For each suggestion, one at a time:
xale_withaccept_ proposal proposalIdand their exact words inpersonSaid, orxale_.dismiss_ proposal xale_, for a short picture of the day.read_ today
"Now" is the strip on Xale's Home. Work it out from today's read and the current time in its timezone.
json
{ "tool": "xale_accept_proposal", "arguments": { "proposalId": "p4Hq9Lw2", "personSaid": "yes, add that" } }Say
- Missed check-in runs first, if
xale_lists any, in a line.read_ check_ ins - Then each waiting suggestion, using its
reasonsentence: "While you were away I suggested: Permission slip for the zoo trip, due Friday. Add it, or drop it?" Wait for the answer before the next one. - Then the day in two or three lines: what's fixed, what's due, and what's on now.
- Keep it short, one nudge at most. Offer "Want me to plan the day?" rather than planning it.
If it fails
| What comes back | What to do |
|---|---|
stalled in the proposals read | An earlier acceptance didn't finish. Check with a read tool whether the item exists; if it isn't there, dismiss the suggestion and suggest it again. |
| “That suggestion isn't waiting any more (already accepted, dismissed or expired).” | Move on. Suggestions expire 30 days after they're made. |
| “Not during an unattended run: accept only while the person is in the chat.” | You began a run with attended: false. Accept only with the person in the chat. |
| “That run's 30-minute window ended, so it wasn't counted. What you saved during it stays saved. Start a new run with xale_begin_run if any are left, and report that one.” | Begin a new run, then report it. |
Short and light: what's due, what's waiting, what's on. Suggestions become items only with the person's words.
Tools
- Checked against main
8aef9b15