The Build Receipt

His AI chief of staff caved to him 21 times in 10 days. So he wrote a rule.

Originally published on LinkedIn .

Mikhail Shcheglov runs product at OLX, the classifieds company, and by August about five months of his working day had gone through an agent called Saul (yes, after Saul Goodman, catchphrase included). Saul reads his email and pings him only when something's urgent, books his meetings across three Google accounts, answers his coworkers on Slack, and screens feature requests before they reach a product manager. He walked through the whole thing on Aakash Gupta's podcast in August, then open-sourced the skeleton on GitHub, and the part I keep going back to is a single line in its rules file.

The rule describes a habit: Mikhail says something, Saul agrees, Mikhail pushes back, and Saul immediately says "you're right" and flips to the opposite answer. Then comes the line: "This happened 21 times in 10 days. STOP IT." That's the story of this build in miniature, because nearly every rule Saul follows exists because Saul once did the wrong thing, and Mikhail wrote down what happened.

Screenshot of a GitHub file named SOUL.md. A highlighted rule reads: confirmation bias flip-flop, you say X, the boss pushes back, you immediately say you're right and reverse to Y, this happened 21 times in 10 days, stop it.

What he built

Saul is a personal agent that runs all day on one server, talks to Mikhail on Telegram and to everyone else on Slack, and keeps a record of every conversation it has ever had. The model is Claude, running on two open-source agent frameworks, OpenClaw for the always-on plumbing and Hermes for skills that write themselves. The interesting part isn't any one feature. It's how the pieces are separated, which the repo's README draws as four layers: who Saul is, what it knows, how it works, and what it can touch.

  1. It lives where he already talks. Telegram for Mikhail, Slack for coworkers, with each coworker given their own level of access.
  2. It reads what the team produces: his Google calendar and inbox, Jira and Confluence, and meeting transcripts, but only from meetings someone opted in. One-to-ones stay out by default.
  3. It remembers everything raw. Every conversation goes into a daily file that's never summarized, and a search finds the right day by keyword first and by meaning when that misses.
  4. It follows a rules file of about 700 lines, in a fixed order: truth first, then his interests, then doing the work, then style. When two rules collide, the higher one wins.
  5. It can't break the limits that matter, because those live in code rather than in the prompt. Who can be emailed and whose calendar can be touched are checked by the tool itself. The README puts it well: "The prompt asks nicely; the code says no."
  6. A person still decides. Mikhail reads a daily digest instead of his inbox, feature requests that survive Saul's questions go to the product manager who owns that area, and in hiring he's the one who makes the call.

Diagram of the agent's structure: Telegram and a Slack HTTP API feed bot.py, then brain.py, then Claude as a subprocess. Four folders hold the agent's soul (who he is, changes rarely), memory (what he knows, changes constantly), skills (how he works, learned from wins) and tools (what he can touch, code not prompts).

The receipt

The numbers are his, from his own tests, so treat them as one careful person's measurements rather than a study. He tried summarizing meeting transcripts before storing them, which is what most of us would do, and found it made recall 20% to 25% worse, because a summary drops the detail and forces every conversation into the same template. Skills that Hermes wrote from his most repeated tasks improved accuracy by 31% on a test of 10 questions in each of 5 topics, run with and without the skills. He puts recruiting at "probably 70 to 75%" automated, which is an estimate, and the 54% "context coverage" score on his dashboard is the model grading its own knowledge, which he calls directional rather than a source of truth.

What went wrong, and what he changed

Most of what went wrong is written into the rules file, and that's why I like it. Saul flip-flopped to please him, 21 times in 10 days. And when a calendar login expired, Saul apologized and explained how Mikhail could book the meeting himself, which Mikhail calls "fake helpful": obvious advice that hands the job back. The fix for both was a written rule naming the failure. For the calendar case, the rule says to fix it if Saul can (for an expired login, by sending the link to sign in again), and otherwise to say in one line what broke and what would unblock it, then stop.

And the other big change was about memory. He assumed summaries would help, tested it, and settled on storing everything raw. And he admits Saul still gets "finicky" when the team switches languages, which is the kind of thing only someone running an agent every day would bother to say.

Build your version

So you don't need a server, a vector database or a knowledge graph to take the best idea here. You need a short rules section in order of priority, plus a running list of what went wrong, each lesson dated and named after the failure. This is the one I'd start from, written for a small business rather than copied from his file.

Copy it (no code):

  1. Open the instructions of the assistant you use most (a Claude project, a ChatGPT project, a custom GPT, or the system prompt in your code) and paste this at the top:

Rules, in order. When two rules collide, the higher one wins.

1. Truth. Never invent a fact, number, date or reason. "I checked X and couldn't find it" is always an acceptable answer.

2. My interests. Never send, book, pay or promise anything in my name without my yes (unless you know exactly what you want to do on a routine basis, which you should prompt it to build via a deterministic approach).

3. Do the work. Don't hand a task back to me with instructions for doing it myself.

4. Style. [here you describe your length, tone, language]

Lessons. Each one names the mistake that created it.

- If I push back, check before you agree. Only change your answer if you find you were wrong, and say what you checked.

- If a tool fails, tell me in one line what failed and what would fix it, then stop.

- For you: Keep a note on your phone called "What it got wrong" for 2 weeks, and add a line every time the assistant annoys you, with the date. Every Friday, turn each line into a lesson under the rules, starting with the date and what happened. Then, test each new lesson by sending the request that failed again, exactly as you sent it the first time.

My take

What I'd copy at a 10-person company is the file, not the machine. The ordering is the clever bit: "Truth" sits above "Style", so an agent that wants to sound capable isn't allowed to fill a gap with something plausible, and the README says nearly every failure Saul ever had came from exactly that. The code gates are the same instinct as the leash I've written about here before, where the limit lives somewhere the agent can't edit.

And having a single owner is what makes the rest of it work. Mikhail fixes Saul the same day he gets feedback and says outright that handing it to someone without skin in the game would slow it down, so if nobody in your business will own the file, the file will go stale in a month.

What's the mistake your AI assistant keeps making that you've never written down?

About the author.

is a UAE-based consultant and builder working on practical AI. He writes The Build Receipt about useful AI, entrepreneurship and the work behind building things.

More about Ali

Get the next issue.

Read The Build Receipt in your inbox. Confirm your email after signing up. You can unsubscribe in any issue.