I run a one-person company. Claude Code agents do most of the operations: outbound sales, content, websites, an API relay, a couple of customer bots. Over a few months they built up 17 rule files, one incident at a time.
Then I did what everyone does. I wrote a big, beautiful prompt.
It was called the "Universal AI Production Mother": 1,400 words, nine reasoning engines (first principles, backward chaining, counterfactuals, systems thinking...), ten dynamic routes, recursive needs trees, a closed verification loop and a friendly menu at the end. It reads like a manifesto.
I pasted it into my agent and asked: should you upgrade yourself with this?
About 80% was already there. "Find the real problem", "search before you build", "verify before claiming done": my rules had all of it, but written as specific behaviors tied to specific failures, and much of it enforced by hooks and scripts instead of prose.
Three parts contradicted rules I set on purpose. The prompt ends with a menu ("pick 1 to 6") and says "all key decisions stay with the user." For a non-technical owner, my standing rule is the opposite: research it, decide, deliver. Stop only for things you can't undo (money, data) or can't produce yourself (a face scan, a signature).
"Nine reasoning engines" adds no behavior. The model already reasons like that. Putting abstract nouns into always-loaded context just dilutes the lines that actually constrain it.
One idea was missing. Section 9 of the prompt says: when something fails, find which layer failed (wrong goal, missing knowledge, wrong architecture, wrong implementation, wrong acceptance criteria) and go back to that layer. My agents tended to patch the layer below instead. That one line went into my rules.
So, as far as my agent was concerned, the 1,400-word god prompt came down to one line.
A chat is a short conversation with you in it. An agent runs for hours on its own, across dozens of tool calls, with its context filling up. What survives there:
I packaged them as one 83-line CLAUDE.md, modeled on the format that made the Karpathy guidelines file so easy to adopt: each rule gets one line of intent, a few bullets and a one-line test.
Two of the incidents behind them:
SENT for a post that was over the character limit. The button was greyed out; nothing went out. Rule 4: a post counts only when you read it back from the public page.python that didn't resolve to the right interpreter. Rule 6: test the hook itself.
Repo: https://github.com/Tommyapi/claude-production-mother
CLAUDE.md for Claude Code, AGENTS.md for Codex, a Cursor rule, and a Claude Code plugin:
/plugin marketplace add Tommyapi/claude-production-mother
/plugin install production-mother@production-mother
prompts/. It's still good, for chat apps where you're there to answer its menu.EXAMPLES.md has the incident behind every rule.
If you have an agent failure that none of the eight rules would have caught, open an issue with the incident. That's how the list grows.