The writing tool behind my books
I built authoring-engine to write The Mindful Product Company, and I’m using it for my next book. I made it free and open source, so you can use it too.
How I use it
AI does the labor and I do the judgment. The machine extracts, sorts, drafts, checks, and keeps the books. I supply the voice and make every call. Nothing in the book shipped until I’d edited it.
You start from your own writing. You point the engine at what you’ve already written, and it builds a profile of your voice. Every draft is grounded in your voice profile, and a voice gate checks each draft for the tells of AI prose before you see it. When you edit a draft, the engine turns your edits into rules, so your next draft starts closer to how you write.
What you can use it for
- A non-fiction book from nothing. It interviews you to get the book out of your head, by text or by voice in a chat, then builds it chapter by chapter.
- A book from an existing manuscript or archive. It sorts what you’ve already written and rebuilds it in your voice.
- Shorter pieces. Posts, essays, and newsletters, drafted one at a time against your voice profile.
- Fiction. From a premise to a script to prose.
What stays private
Some of what I use is mine alone, because it holds my own writing and unpublished work: my voice core (the samples, rules, and edit log my drafts are grounded in) and my book repositories, including the print, Kindle, and audiobook toolchain I built for The Mindful Product Company. You don’t need any of it. The engine walks you through building your own voice profile from your own writing.
Getting started
The engine runs in Claude Code and needs only git and Python. It ships with made-up example material, so you can run the whole loop end to end before you point it at your own writing. Setup, a quickstart, and the reasoning behind the design are all on GitHub.