how to build

Guide

The guide

Eight chapters. Do them in order. Each one ends with something working.

  1. Set up your computer

    Terminal, git and Node, on Mac, Windows or Linux. No editor needed.

  2. Get Claude Code

    Install, log in with your plan, first session, limits.

  3. Get Codex

    Install, log in with ChatGPT, first session, limits.

  4. How to work with an agent

    Brief, plan, build, check, undo.

  5. Save it on GitHub

    Every version of your work, saved off your computer.

  6. Put it online with Cloudflare Pages

    A web address anyone can open.

  7. Keep data

    localStorage, KV, D1, R2 and Durable Objects, in that order.

  8. Going further

    Subagents, skills, hooks, MCP, Codex cloud, review, costs, safety.

  9. Which model, and when

    Reference. The models in each agent, what your plan gets, one rule for spending wisely.

Already set up? Go to the projects.