How Claude Code works, in simple diagrams

Follow the numbers from 1. The notes that start with “If” say what to do when something comes up.

One task in Auto mode, start to finish

You start it and you finish it. Claude does the work in between.

  1. You

    Type your task

    Check the mode under the prompt box says Auto. Then say what to do, which files to use, and what file to make.

  2. Claude

    Claude works on its own

    It reads, writes and runs steps in your folder without asking each time.

    • IfA step shows Blocked by auto mode

      Auto held it back. Read the reason, then tell Claude what you want instead.

    • IfA card asks for your OK (rare)

      If it matches your task, Always allow is a good pick. Allow once (under the arrow) for a one-off, or Deny.

  3. Claude

    Claude tells you it's done

    The result is in your folder, with a short report in the chat.

  4. You

    Check the result

    Keep it, ask for a change, or send your next task.

Any time

  • IfYou change your mind

    Click the square stop button or press Esc, or type a correction and press Enter. To take files back, see the undo diagram below.

Your 5-hour usage window

Your plan gives you a set amount of use every 5 hours, plus a weekly limit.

  1. You

    Send your first message

    A 5-hour window starts now.

  2. You

    Work as usual

    Each message uses some of your allowance. Click the small usage ring under the prompt box to see what's left.

  3. The app

    A warning shows up

    The app tells you when you're close to the limit.

    • IfYou reach the limit

      The message shows when it resets. Wait, turn on pay-as-you-go usage credits in Settings > Usage, or upgrade to Max. Switching models doesn't help.

  4. The app

    The window resets

    5 hours after your first message, your 5-hour allowance comes back in full.

Any time

  • IfYour weekly limit runs out

    It resets at the time under Weekly limits in Settings > Usage. Until then, usage credits or Max keep you going.

Undo a change you didn't want

Rewind takes your files back to how they were before one of your messages.

  1. Claude

    Claude changes a file

    And it's not what you wanted.

  2. You

    Press Esc twice

    When Claude is done and the prompt box is empty. Or type /rewind and press Enter. The Rewind window lists your messages.

  3. You

    Click the message

    Pick the message that asked for the change.

  4. You

    Click Restore

    If asked, pick Code and conversation first. Your files go back to before that message.

    • IfA file didn't come back

      Rewind doesn't undo moves, renames or deletions done by commands. Use a copy of your folder if you made one, or Drive's version history and Trash.

Connect a tool like Gmail

Connect it once for your account, then switch it on in the sessions that need it.

  1. You

    Find your tool

    Click Customize in the sidebar, then Connectors > Discover, and open your tool.

  2. You

    Connect and sign in

    Click Connect to Claude, sign in, and approve what Claude may see and do.

    • IfYou want to choose what Claude can do there

      Open your tool, scroll to Tool permissions, and set each row to always allow, ask first, or Blocked.

  3. You

    Switch it on

    In a session, click + > Connectors and turn your tool on. Only see Add connectors? It's already in.

  4. Claude

    Claude uses it

    When your task names the tool, Claude reads or acts in it and brings back what it found.

    • IfA card asks first

      If it matches your task, Always allow is a good pick. Allow once (under the arrow) to check each time, or Deny.

Any time

  • IfYou're done with the tool

    Switch it off under + for this session only. To remove it everywhere, open Customize > Connectors > Yours, click the tool, then Disconnect.

Your own wiki, one round

After the setup in lesson 6: you add documents and ask questions, and Claude keeps the wiki in order.

  1. You

    Add a document

    Put it in raw/, then send the add-document prompt with your file's exact name in it.

  2. Claude

    Claude writes wiki pages

    It lists the key points first, then writes a summary and linked pages, and updates index.md and log.md.

  3. You

    Ask a question

    Send the question prompt with a question your documents can answer.

  4. Claude

    Claude answers with links

    It cites the pages it used and saves useful answers in wiki/analysis.

New document? Start again at step 1.

Any time

  • IfYour wiki needs a tidy-up

    Send the health-check prompt (it starts Lint the wiki). Claude fixes small things like missing links and lists the rest.

Built by Saiaf. Questions and corrections: hello@saiaf.me