Availabooks Author Tools

Open Author Tools

Writing a book with an AI assistant

You need nothing installed. Your book lives in a GitHub repository. You write it together with an AI assistant that works on that repository in your browser, such as Claude Code on the web. This page, Author Tools, shows you the book as readers will see it and publishes it.

Publishing is free on GitHub Pages, at https://<you>.github.io/<book>/. A book approved for availabooks.org publishes there instead, from the same button.

1. Get a GitHub account and a token

  1. Sign up at github.com if you don't have an account.
  2. Make a fine-grained token with access to All repositories and these repository permissions, each set to Read and write: Contents, Workflows, Actions, Pages and Administration. The sign-in page explains what each one is for.
  3. Open Author Tools and paste the token. You can save it in your own UseMyCloud hub so you only paste it once.

2. Make the book

  1. In Author Tools, press New book, give the title and your name, and press Make the book.
  2. This makes a repository with a starter chapter, the instructions every AI assistant follows when it works on an Availabooks book, and the workflow that publishes it.

Already have a book repository? Open it in Author Tools and use the AI instructions tab to add the instructions.

3. Work with your AI assistant

  1. Open Claude Code on the web, connect your GitHub account when it asks, and start a session on your book's repository.
  2. The first time, say "Let's plan the book." The assistant interviews you about the book, then drafts a file for each chapter with a summary of what it will cover.
  3. After that, ask for whatever you want: write a chapter from your notes, add a quiz, tighten a section, add a figure. Upload images to the session, or add them to the repository's images/ folder on GitHub.
  4. The assistant saves its work to its own branch of the repository. Nothing goes online until you publish.

Any assistant that can work on a GitHub repository can do this: the book's AGENTS.md tells it where the house rules are.

4. Preview and publish

  1. In Author Tools, open the book and pick the assistant's branch from the Branch list.
  2. Press Build preview. The book is built in your browser and shown exactly as it will be published. The check above the preview lists anything broken, with a link to the line; ask the assistant to fix it.
  3. When you're happy, open Publish and press Publish. That merges the branch into the book's main branch, manuscript, and puts it online a few minutes later, with search.
  4. Start your next assistant session from manuscript, so it begins with everything you've published.

Narration

Books can read themselves aloud. Narration is recorded with the VoiceWave Narration browser extension and saved through the Audio tab, to the book's audio branch. Publishing again puts the new recordings in the book.