Durable working memory for coding agents

Stop re-explainingyour projectto your AI.

Clauderizer is a memory system for coding agents. It documents your project as you build (plans, decisions, and conventions as plain Markdown in docs/) and briefs your agent automatically at the start of every session. No re-explaining. No decision rot.

  • phases
  • decisions
  • invariants
  • subsystems

Scene 02 Int. fresh session - night

Your agent starts oriented, not blank.

Before you type a word, the SessionStart hook has already told the agent exactly where things stand. No prescribed reading order, no re-briefing.This is the digest for this very site.

coding agent · fresh session

you open a fresh session, nothing typed yet

[Clauderizer] gameplan directors-cut · phase 3 / 6

baseline 0 tests ·10 lessons· 0 pending cascades

next:cz_next_phase_context → cz_preflight

↑ injected automatically: no prescribed reading order, no re-briefing

I see where we are: phase 3 of 6. Preflight passed. Rolling the title sequence now.

phase 3 of 6 · this very site, built by dogfooding itself
  1. 0
  2. 1
  3. 2
  4. 3
  5. 4
  6. 5

Every session picks up exactly where you left off.

That’s how you fly. ✦

Scene 03 The failure mode

Long-running AI work hits two walls.

01

A fresh session starts blank.

You re-explain the architecture. Again. The agent re-discovers what it already knew, burning context and patience on ground you covered yesterday.

02

A long session fills its context.

Mid-task the window overflows. The agent forgets its own earlier decisions, then confidently contradicts them an hour later.

The usual answer is conventions. But conventions rot, because nothing executes them. Clauderizer makes memory a system, not a hope.

Without Clauderizer
  • You re-explain the architecture. Again.
  • A decision from an hour ago, contradicted.
  • “Wait… did we already build this?”
  • The plan drifts from reality, silently.

every session starts from zero

With Clauderizer
  • The digest greets the agent at session start.
  • Decisions & invariants surface, not re-derived.
  • “Phase 3 of 6, preflight passed, building.”
  • The plan is the live state.

every session is momentum →

Scene 04 How it works

Your memory is just readable files in docs/.

No database. No proprietary cloud. The graph index is a disposable cache, rebuilt from the Markdown on demand. If they ever disagree, Markdown wins. Your ideas survive as plain text.

  1. 01Markdown in docs/

    Plans, decisions, invariants, and a dependency graph, all diffable, reviewable, and shipped with the code.

  2. 02The engine

    Reads and writes the Markdown, rebuilds the graph cache, and runs preflight and cascade against the real repository.

  3. 03MCP tools + hooks

    Self-describing tool calls (MCP, the Model Context Protocol, a standard way agents use external tools) and lifecycle hooks inject status into context, automatically.

  4. 04Your agent

    Oriented before you type a word. No prescribed reading order, no re-briefing, no drift.

A typical phase loopruns every session →
  1. cz_next_phase_contextthe full bundle for this phase
  2. cz_preflightactually runs your tests / build
  3. … do the work …write code, honor the invariants
  4. cz_add_decision · cz_add_invariantstructured, graph-aware records
  5. cz_cascadewalk the graph, flag dependents
  6. cz_write_handoffassemble the next cumulative handoff

Scene 05 Why it holds

A system, not a hope.

Prose conventions rot because nothing executes them. Clauderizer keeps the proven model and makes it real tool calls the agent can't forget to make.

Discoverable

Self-describing MCP tools + lifecycle hooks inject status into context automatically. No "read these 7 files in this order" ritual.

Configurable

Three project sizes (pet, standard, and SaaS) plus host-language profiles: configuration as data, not prose advice.

Agentic

Cascade, pre-flight, and handoff assembly are real tool calls, not instructions the agent has to remember to run.

Drop-in

One command clauderizes any repository, in any language. Idempotent; never clobbers your files.

Host-portable

One install wires every supported agent by default: Claude Code, Cursor, Copilot, Codex, Gemini, Windsurf, Cline, Amp, Continue, Zed, Grok, and Kimi. Add --host to scope it to one.

Auditable

Memory is append-only and every write lands as plain Markdown. It ships with the code, shows up in diffs, and is reviewed like code.


Scene 06 Maturity

Stable, with receipts.

Every quality gate is publicly verifiable: the test suite passes on Ubuntu, macOS, and Windows across Python 3.11–3.13; the Windows wrapper is executed, not simulated; cold starts are proven on both host shapes; and the quickstart runs against the published package in a clean CI environment on every push.

42MCP tools + 3 resources
3×3OS × Python, all passing
0runtime dependencies
Apache 2.0licensed, explicit patent grant

Markdown is the source of truth. The graph index is a disposable cache rebuilt on demand. If they ever disagree, Markdown wins.

Scene 07 The invitation

Three steps. Then just drive.

One command clauderizes any repository, in any language. You talk in plain English; your agent makes the tool calls and keeps your plan, graph, and memory in sync between sessions.

  1. Clauderize any repo
  2. Point it at a goal
  3. Then, every session

Prefer a real install? pipx install "clauderizer[mcp]". The core engine has zero runtime dependencies.


Scene 08 Speak the language

Words that do things.

Clauderizer binds a handful of ordinary words to specific tools and disciplines. They aren’t jargon, they’re handles: use one in plain English and your agent reaches for the exact machinery instead of improvising.

The structures

gameplan

A whole initiative: phases, decisions, exit criteria, a post-mortem. Comes in kinds: driven, loop, campaign.

“Create a gameplan for X” triggers real planning: recorded decisions and verifiable exit criteria, not a bullet list.

phase

One session-sized chunk of a gameplan.

“Do the next phase” runs the full discipline: pre-flight, the work, then the ending protocol.

handoff

The self-contained context bundle the next session reads, cumulative, carrying every still-relevant lesson.

“Write the handoff” assembles it as an operation. If a session dies, the next one loses nothing.

focus / portfolio

Which gameplan is the current default target; the set of all open ones.

“Switch focus to the campaign.” Several initiatives coexist without stepping on each other.

entity

A tracked subsystem, feature, or deliverable with a version, a status, and dependency edges in the project graph.

“Track the billing worker as an entity” puts it in the graph, which is what makes cascade possible.

deliverable

A campaign’s execution unit (a film, a deck) moving through a lifecycle from concept to shipped.

“Add the flagship film as a deliverable” gets you a board you can read the campaign from.

The rituals

ritual

The umbrella word: a discipline that executes instead of a convention someone has to remember.

Cascade, pre-flight, and handoff assembly are tool calls, not reminders.

cascade

Nothing changes in isolation: after editing something tracked, walk everything that depends on it and reconcile.

“Cascade that change” walks the real dependency graph: each flagged dependent gets an explicit verdict.

pre-flight

Run the project’s actual checks (tests, build, QA gates) before starting work.

“Pre-flight it” runs the commands for real and reports measured results. Kills “session claims tests pass.”

baseline

The measured number pre-flight tracks: a test count, or campaign gates.

“What’s the baseline?” gets the tracked, auto-refreshed figure, not a stale note.

The memory words

decision

A numbered, append-only decision record with its reasoning.

“We decided X because Y” gets recorded; supersede a decision with a new one, never rewrite history.

invariant

A rule that must always hold, honored by every session.

“Make it an invariant: the logo is never AI-generated.”

lesson

A reusable learning that rides in every future handoff. Curated with three verbs: consolidate, promote, obsolete.

“Lesson learned: build the adversarial fixture first.”

correction

The divergence log: what the plan said versus what turned out to be true.

“The plan said X, actually Y” keeps the plan honest without rewriting it.

open item

A tracked unknown or blocker with a stable ID, resolved, never deleted.

“Open item: which auth provider?” Unknowns get tracked, never silently dropped.

amend

A tracked mid-flight change to a gameplan.

“Amend the gameplan” puts scope changes on the record instead of letting them drift.

The gates

advisory

The governing posture: gates surface, they never block. The engine proposes; you decide.

Every check below follows this rule.

exit criteria

Verifiable done-conditions each phase carries.

“Check off the criterion” marks it; completing a phase surfaces any left unchecked.

approve

A human sign-off recorded as the artifact’s content hash. Edit the file afterward and the approval goes stale.

“Approve the shot spec.” Spend-gates that expire when the content changes.

standing condition

A declared threshold probe checked whenever anyone asks for status.

“Watch the backlog: below three approved stills means a new iteration.”

The lifecycle words

status / digest

The compact where-things-stand block every session opens with.

“Where do we stand?”

onboard

Seed memory from a repo’s existing README and specs; the agent distills.

“Onboard this repo” turns placeholder docs into a seeded memory graph.

upgrade

Deliver a newer engine’s improvements: mechanical changes applied, memory-shaped changes proposed.

“Upgrade the repo” after updating the package.

append-only

The house physics: nothing in memory is ever deleted.

Say “obsolete it,” “supersede it,” or “resolve it,” never “delete it.”

Scene 09 Questions

Answers, before you ask.

What is Clauderizer?

Clauderizer gives AI coding agents durable, cross-session memory: plans, decisions, invariants, and a dependency graph stored as plain, Git-diffable Markdown the agent reads and updates through real tool calls.

How is it different from a CLAUDE.md or a rules file?

A rules file is prose the agent has to remember to read and follow. Clauderizer exposes memory as self-describing MCP tools and lifecycle hooks, so orientation and updates happen as executed tool calls, not conventions that quietly rot.

I already use a monorepo for this. Why Clauderizer?

A monorepo keeps your code in one place, but the agent still starts every session blank: there's no tracked plan, no decision log, and nothing that briefs it. Clauderizer works in any repository, monorepo or not, and greets the agent with where things stand before you type a word.

Where does the memory live?

In your repository, as Markdown under docs/. It ships with the code, shows up in diffs, and is reviewed alongside changes. The dependency graph is a disposable cache rebuilt from that Markdown; if they ever disagree, Markdown wins.

Which AI coding tools does it work with?

One install wires every supported agent by default: Claude Code, Cursor, GitHub Copilot, OpenAI Codex, Gemini, Windsurf, Cline, Amp, Continue, Zed, Grok, and Kimi. Add --host to scope it to a single tool.

Is it free and open source?

Yes. Clauderizer is Apache 2.0 licensed with an explicit patent grant, and the core engine has zero runtime dependencies.

How do I get started?

Run uvx --from clauderizer clauderize init in any repository, or pipx install "clauderizer[mcp]" for a permanent install. Then point your agent at a goal and say "do the next phase" each session.

Scene 10 The final frame

Your best ideas shouldn’t die in the dark.

Project memory belongs in the repository, where it ships with the code, shows up in diffs, and is reviewed alongside changes. As tool calls the agent can't forget to make, not advice it has to remember.