Skip to content

Teach Xholic Your Rules

Read by connected AIs with get_playbook and id teach-xholic-your-rules.

Set standing rules for your AI drafts.

Use for writing a set of writing rules together. Not for adding one rule they already wrote (call context.update (through run_write_action)), or saving or forgetting a memory (remember, forget).

The user might say: “Help me write short, clear rules for how my drafts should sound, then propose saving them to my account rules so I can approve them.”

  1. What Xholic already remembers. Call memory.list (through run_read_action).
  2. Write short, clear rules with the user. Save them only after they approve. Call context.update (through run_write_action) with {"accountRules":"<one rule per line>"}.
  3. Single preferences can go to memory instead. Call remember with {"kind":"WRITING","fact":"<preference>"}.