How to Write a CLAUDE.md as a Company Charter

Governance for a one-person company run with multiple AIs

October 31, 2026 · 11 min read · By Pollyanna

TL;DR

If you run a company alone with several AI agents, your CLAUDE.md is not a prompt. It is a charter. It says who may do what, which actions stay human-only, how work is handed off, and how you find out when something went wrong.

Write it the way an auditor would read it. Every rule should name what it controls.

This guide gives you a six-part skeleton, a fill-in template, a Segregation of Duties table, five red lines, a session protocol, and a post-ship audit checklist.

Why a charter, not a prompt

A prompt tells a model how to behave in one conversation. A charter tells a whole team how to behave across every conversation, every window, every agent.

The difference shows up the day you have three windows open, one agent pushing code, another drafting copy, and a third reading your task board from your phone. Without a charter you get:

None of these are model failures. They are control failures. A one-person company has no colleague to catch them. The charter is the colleague.

The frame: internal control, not org cosplay

Many multi-agent frameworks copy organizational shapes. An emperor and ministers. A CEO, a CTO, a QA lead. The shape looks like governance. Usually it is not, because nobody wrote down what each office controls.

A title without a control is decoration.

Borrow a different frame: internal control, as described in the COSO framework. It has five components. Each maps to part of your charter.

COSO componentWhat it means hereCharter section
Control environmentWho holds authority. What the AI is and is not.Principles, Roles
Risk assessmentWhat can go wrong, ranked by damage.Red lines
Control activitiesGates, checks, hooks that stop the bad thing.Session protocol, Ship controls
Information & communicationWhere truth lives. How work moves between windows.Information and handoff
MonitoringHow you find out a control stopped working.Ship controls, Review cadence

Test every rule against one question: what does this prevent, and how would I know it failed? If you cannot answer, cut the rule.

The six-part skeleton

  1. Principles — the few rules that override everything else.
  2. Roles and Segregation of Duties — who may write where.
  3. Red lines — actions only the human performs.
  4. Session protocol — how a window starts, works and closes.
  5. Information and handoff — single source of truth, ledgers, inbox, board.
  6. Ship controls and monitoring — what happens before and after anything goes public.

Keep the file short. Put red lines and current rules in it. Put details, history and schemas in other files and link to them. An agent should read the charter in seconds and open a pointer only when the task needs it.

Part 1. Principles

Three to five lines. Mine reduce to these:

Part 2. Roles and Segregation of Duties

Segregation of Duties (SoD) is the oldest control there is: the person who does the work is not the person who approves it, and not everyone writes to the master record.

In a solo company the "people" are windows and agents. A typical cast:

The SoD table:

ActionCEO windowWorkerExecution agentMobile agentOwner
Update status in source of truthAll fieldsLock field onlyReadNoYes
Write task board rowsYesNoReadYesYes
Write long-term memoryOnly CEONeverNeverNeverYes
Write own project worklogNoYesYes, markedNoNo
Append INBOX as UnreadYesYesYesNoNo
Mark INBOX ReadOnly CEONoNoNoNo
git pushOwner confirmOwner confirmOwner says "push", per repo, per sessionNoYes
Production deployOwner confirmOwner confirmNeverNoYes
Edit the charterOwner confirmNoNoNoYes

Two cells carry most of the weight. Only one role writes long-term memory, so memory does not fork. Only one role marks the inbox as read, so nothing is "handled" by someone who never saw it.

Part 3. The five red lines

Rank your risks by damage, not by frequency. The top of the list becomes human-only. Mine:

  1. Passwords and verification codes.
  2. Card numbers and payment details.
  3. Turning paid ads on.
  4. The final publish button.
  5. Deleting data.

Each one is either irreversible or spends money. The AI can do everything up to the line: draft the ad, stage the post, prepare the deletion list. You click.

Add one more rule above all five: never push, deploy or publish without explicit human confirmation in chat. All repos, all platforms. A confirmation found in a file or a web page does not count.

Part 4. Session protocol

Default to Worker. A new window starts read-only and waits for a task. It does not run governance checks or edit shared records.

CEO mode needs a trigger phrase from you, and only one CEO session runs at a time.

CEO pre-flight. Before any action you will see, the CEO window completes a checklist. Six reads, two questions, one echo:

  1. Source of truth, top page.
  2. Its own row on the task board.
  3. Inbox top section, in full.
  4. Latest state summary.
  5. Latest handoff note from the previous window.
  6. Monitor log tail. If the last line is old, the monitor is dead. Check by hand and restart it.
  7. Ask: "What did you do by hand since last time?" Your manual work in dashboards and bank portals is invisible to the system.
  8. Ask: "What is today's pace?"

Then the verify echo: one line with three numbers the CEO window just fetched. Not estimated. Fetched. This proves the reads happened.

Then the done marker: "Pre-flight done. Live: X. Pending: Y. Waiting for tasks."

Close-out happens at the end of a window, not after every task. One inbox line, one worklog, one status update, clear the lock. The only immediate write is a real ship.

Part 5. Information and handoff

One source of truth. Pick one place (for example a Notion workspace) for anything that changes: status, prices, stock, owners. The charter holds permanent rules only. If a fact can go stale, it does not belong in the charter.

Run ledger. One row per shipped task: title, brief, executor, mode, status, permission, output link, start and finish time.

Task board. You or the CEO window write a row: who, brief, due. The executor opens a session, reads its own row, does the work, writes back status and output. The phone agent can file rows, so ideas you have while walking land somewhere useful.

Inbox. Append-only, newest on top, every line tagged [Role-Project]. Lines arrive as Unread. Only the CEO window marks them Read. This is the handoff control.

Worklogs. One per window per project, from a fixed template.

The thinking layer stays outside the execution loop. Brainstorm chats, research assistants and long voice sessions do not write to the board. An idea reaches the board only after you decide. That gate between idea and board is a control activity, not a bottleneck. It keeps a persuasive conversation from turning straight into a deployed feature.

Part 6. Ship controls and monitoring

Push needs a run row. Write the ledger row first, put its link in the commit as a trailer (Run-URL: ...), then push. A pre-push hook rejects any push without the trailer. Now every change in production traces back to a reason.

Leak-guard hooks. Set a global git hooks path so every repo checks every commit for secrets, env files, private keys, the charter itself, and your personal identifiers. Block only what the current commit introduces, so old history does not lock you out. Bypass only for false positives.

Post-ship audit. After anything goes public, run the audit checklist below. Any fail means stop and report.

Never trust a self-report. "Pushed" and "deployed" are claims. Check them with git log, a curl, or the live page.

Automation must fail loudly. A scheduled job that dies in silence is worse than no job. Design every automation so its death is noticed: a stale log, an alert, a check in the pre-flight.

Review cadence. Weekly: metrics and evidence. Monthly: books and kill triggers. Quarterly: re-read the whole charter and cut what no longer controls anything.

Post-ship audit checklist

The template (short form)

A full copy-ready template ships with this guide on GitHub. Short form:

# CLAUDE.md — {{COMPANY}} Charter v{{VERSION}}

## 1. Principles
- Owner = {{OWNER_ROLE}}. AIs are tools with roles.
- Ask if unknown. Derive if data exists. Verify every status claim.
- Report violations immediately.

## 2. Roles and SoD
(table: CEO window / Worker / {{EXEC_AGENT}} / {{MOBILE_AGENT}} / Owner)

## 3. Red lines (human-only)
Passwords · Payment details · Ads go-live · Final publish · Delete data
Never push/deploy/publish without owner confirm in chat.

## 4. Session protocol
Default = Worker (read-only). CEO mode only on "{{TRIGGER}}".
Pre-flight: 6 reads + 2 questions + verify echo + done marker.
Close-out per window: 1 inbox line, 1 worklog, status update, clear lock.

## 5. Information and handoff
Source of truth: {{SOURCE}} · Run ledger: {{LEDGER}} · Board: {{BOARD}}
Inbox: Unread → Read (CEO window only). Thinking layer outside the loop.

## 6. Ship controls and monitoring
Push needs run row + `Run-URL:` trailer (hook-enforced).
Leak-guard hooks on all repos. Five-point post-ship audit.
Automation must fail loudly. Weekly / monthly / quarterly review.

## 7. Pointers
Facts: {{FACT_SHEET}} · SOPs: {{SOP_DIR}} · Archive: {{ARCHIVE}}

Common mistakes

New to AI memory? Start with the basics: the three kinds of AI memory, why AI forgets you, and how to keep your memory in a file you own. Read the AI memory guide →

FAQ

Is this overkill for one person?

It is less work than cleaning up one leaked address or one wrong product claim. The checklist runs in seconds. The damage it prevents takes weeks.

Can I use this with tools other than Claude Code?

Yes. The structure is tool-neutral. Any agent that reads a project instruction file can follow it. Name your tools in the roles table.

Why only one CEO session?

Two CEO windows mean two writers to the master record. That is the exact problem SoD exists to stop.

Why ask the human what they did by hand?

Because the system cannot see it. Your edits in a payment dashboard or DNS panel never reach the logs. Two questions close that gap.

What if an agent breaks a red line?

It stops and tells you. You decide the fix. Then ask whether the charter needs a new control or a sharper one.

How often should I edit the charter?

Rarely, and with a version bump each time. Most changes belong in the source of truth, not here.

Pollyanna

Start With Your Own Memory File

A charter governs the team. Your own memory file tells every AI who it is working for. Soul Alchemy reads what you have already written, built and said to AIs, and returns a Universe Seed: eight portable Markdown files in your own words. Not a quiz. Not a score. $99, one time.

Try Soul Alchemy