Personal Assistant Recipes ops · No. 56

we should use my repo more, for all things. so my ai wrote every rule, preference and decision it runs on into one repo through a small api. now any agent can pick up where it left off

From a conversation with my assistant, 9 October 2026

Recipe No. 56

Give Your Assistant One Home for Its Brain: a Repo and an API

Serves Anyone whose assistant keeps its memory in a chat window and loses it on a bad day

Have the assistant write down everything it needs to operate (its working rules, his preferences, and the reasoning behind past decisions) as plain files in one repo, using a small write API and a validator so every file follows the same shape.

You will need

Method

  1. Give the assistant write access to one repo through a narrow API, not your whole account. Keep the token out of the repo.

  2. Have it dump its operating rules, your preferences and past decisions as small markdown files, one topic per file, each dated.

  3. Add a schema version to every file and run a validator on each write, so drift gets caught the day it happens.

  4. Keep an index file at the top and have the assistant update it whenever it adds or moves a file.

  5. Make the rule stick: new rules go into the repo first, then into the chat. Test it by asking a second agent to do a job using only the repo.

See also

  1. 60
    my ai kept my to-dos in one place and i wanted them in my repo. it moved them over with a log, then fixed the entries that had gone stale. i approved the cutover before the old path was shut off
  2. 20
    every sunday night my ai distills the week's chats into a living doc of what i want and how i like things done. ranges, never hard numbers
  3. 102
    asked my ai to save a useful course and its links. it saved the link list first. i meant the actual reading material, so it went back for the pages, pdfs and slides