Home / Workflows / Claude Code for Writing
Workflows

Claude Code for writing: a book-length workflow that holds

Claude Code was built for programmers, which is exactly why it suits long-form writing. A programmer's tools assume the work is a folder of files that must stay consistent for months. So is a book.

Most writing AI lives inside a chat window or a document margin. You paste, it suggests, you paste back. That works for a paragraph and collapses at scale, because the thing that makes book-length writing hard is not producing sentences. It is holding a hundred thousand words consistent: the argument in chapter 9 not contradicting chapter 2, the terminology staying fixed, the promised example actually appearing, the cut material staying cut.

Claude Code approaches the work the way it approaches a codebase. Your manuscript is a folder of plain markdown files. The agent reads any of them, edits them in place, searches across all of them, and follows written instructions you keep in the same folder. Nothing lives in a chat history that scrolls away. The state of the book is the files, which is the same principle the whole personal operating system idea rests on.

What it does that a chat window cannot

The jobIn a chat windowIn Claude Code
Consistency passesPaste chapters two at a time and hopeSearch every file for the term, the claim, the character, and fix in place
RevisionRegenerate and lose what was goodEdit the file, diff the change, keep the rest
ResearchLives in the chat that produced itFiled alongside the manuscript, citable while drafting
Voice rulesRe-explained every sessionWritten once in an instruction file the agent reads every time
Structure changesManual surgery across pastesSplit, merge and reorder files, links updated

The instruction file deserves the emphasis. A working setup keeps a short file of standing rules next to the manuscript: the voice, the banned words, the audience, what a chapter owes the reader. The agent reads it before touching anything, every session, so the five hundredth edit follows the same rules as the first. That single mechanism replaces most of what people do with style guides they stop consulting.

A working folder, concretely

One folder per book. Inside it: a file per chapter, a folder for research with one file per source, an outline that states what each chapter must accomplish, a revision log recording what changed and why, and the instruction file above. That is the entire system. Every part of it is readable without any tool, which means the manuscript survives every app decision you will ever make, the argument made properly in markdown vs a database.

This is not hypothetical. The book this site exists for was drafted, revised and consistency-checked in exactly this loop: chapter files, an outline holding the structure, an instruction file holding the voice, and an agent doing passes a human cannot hold in their head at once.

What it does not do

It does not make the writing good. An agent with a vague instruction produces confident mush at scale, faster than you can delete it. The judgment about what the book argues, what stays and what dies, does not delegate. What delegates is everything around that judgment: the searching, the checking, the reformatting, the holding-in-mind. Writers spend most of a revision doing clerical work with occasional bursts of taste. This moves the ratio.

It is also not just for books. The same loop runs the notes, the newsletter and the client work: material arrives, gets filed against the right project, and comes back found when you need it. That wider loop is what automatic capture and automatic meeting notes cover, and choosing the tool tier for it is Claude Projects vs Claude Code.

The writer's version of the system

The book walks the whole build: the folder, the instruction file, the prompts for drafting and revision passes, in about an hour of setup.

Get the book
The same loop, beyond the manuscript

See it running a whole operation

Mail, meetings and projects kept current by the same mechanism. A worked example, clickable end to end.

See the demo