Guides

The AI Setup Checklist

The three tools I'd set up first if I were starting over: Claude Code to build it, GitHub to save it, Cloudflare to put it online.

Download (.md)

What's inside

  • Every account, install and command, Mac-first with Windows notes
  • The one-folder-per-project layout and the instructions file every project gets
  • GitHub repos, private by default, and keeping secrets out of them
  • A first site on Cloudflare, free to host, and what the $5 plan adds
  • Hand the file to Claude Code and it sets up GitHub and Cloudflare with you

The AI Setup Checklist

The three tools I’d set up first if I were starting over with AI: Claude Code to build it, GitHub to save it, Cloudflare to put it online.

By Evan Kennedy · evanwkennedy.com/lab/dad-hat-side-quests · @dadhatsidequests

The shortcut: once Claude Code is set up, give it this file.

Do part 1 yourself. Then save this file into the folder you opened in the Code tab and paste this to Claude:

“Read ai-setup-checklist.md and set up GitHub and Cloudflare with me. Follow its ‘For Claude’ section.”

Claude checks what you already have, installs the rest and puts your first project on GitHub and online. It stops when it needs you, like making an account or approving a login in your browser.

Free to use, copy and adapt. Tick the boxes as you go. It’s written for a Mac, with notes for Windows where it differs.


How the three fit together

  • Claude Code does the work. I use it in the Claude desktop app’s Code tab, not the terminal. You pick a project folder and it works right there.
  • GitHub keeps every project safe. Each project gets its own repo, so nothing lives only on your laptop. If your computer dies tomorrow, everything’s still there.
  • Cloudflare puts things online. A plain site is free to host, even if it blows up overnight.
ToolWhat you needCost
ClaudeThe desktop app with a paid plan; the Code tab needs Pro or higherPaid plan, check current prices
GitHubA free accountFree, with unlimited private repos
CloudflareA free accountFree for plain sites. I pay $5/month for Workers Paid because my apps need databases, storage and scheduled jobs

You’ll type a few commands into the Terminal app along the way. Each one is in a box, so you can copy and paste it.


1. Claude Code: build it

Get it running

  • Get a paid Claude plan (Pro or higher) at claude.com/pricing.
  • Download the Claude desktop app from claude.com/download and sign in.
  • Open the Code tab (the toggle at the top of the window). That’s Claude Code, with a window around it.
  • Install git if your Mac asks. The first time, macOS may offer to install the “command line developer tools”. Say yes: git comes with them. On Windows, install Git for Windows first.

One folder for everything

  • Make one folder called projects in your home folder, with one folder inside it for each project:
projects/
  AGENTS.md          ← rules that are true for every project
  my-portfolio/
    AGENTS.md        ← rules for just this project
    CLAUDE.md
  recipe-app/
    AGENTS.md
    CLAUDE.md
  • In the Code tab, pick a project folder and start a session. Claude works in that folder, on just that one project. It’s not a sandbox, so read what it asks permission for before you say yes.

Give every project an instructions file

This is the part people skip, and it’s the one that matters most. Claude reads the rules before it touches anything.

  • Make projects/AGENTS.md with the rules that are true everywhere. Start with mine (at the bottom of this file) and change them.
  • Give each project its own AGENTS.md: what it is, how to run it, where it lives online and any rules for that project. You don’t have to write it yourself. Open the project and ask: “Read this project and write an AGENTS.md for it: what it is, how to run it, how it’s deployed, and the rules you should follow here.”
  • Add a CLAUDE.md next to each AGENTS.md containing just this line:
@AGENTS.md

Claude Code reads CLAUDE.md, and that line pulls in AGENTS.md. Other coding agents (like Codex) read AGENTS.md directly, so one file works for all of them.

  • Keep them up to date. When something changes (a new command, a new rule, something that broke), tell Claude to update AGENTS.md in the same session. A stale instructions file is worse than none.

2. GitHub: save it

Account and login

  • Make a free account at github.com/signup, and turn on two-factor authentication.
  • Install Homebrew (the Mac’s app installer for developer tools) by pasting the one-line command from brew.sh into Terminal. On Windows, skip this: winget is built in.
  • Install the GitHub CLI. It’s how Claude talks to GitHub.
brew install gh

On Windows: winget install --id GitHub.cli

  • Log in once. Pick GitHub.com, HTTPS, and “Login with a web browser”, then follow the prompts:
gh auth login
  • Check it worked. You should see “Logged in to github.com”:
gh auth status

That’s the whole connection. Claude Code uses git and gh, so from now on it can commit, push and open pull requests for you.

A repo for every project

  • Give each project its own repo, private by default. In the Code tab, open the project and ask: “Make this folder a git repo, add a .gitignore for this kind of project, and create a private GitHub repo for it and push.” Under the hood that’s git init and gh repo create <name> --private --source . --push.
  • Make a repo public only on purpose. I’ve got 14, and most are private. The public ones are public because the point is for people to copy them, like a free library anyone can download.
  • Keep secrets out of git. API keys, passwords and tokens go in a .env file, and .env goes in .gitignore. Ask Claude to check before your first push: “Is anything secret about to be committed?”

Saving your work

  • Decide who presses save. My rule is that Claude doesn’t commit or push unless I ask. At the end of a session I say “commit and push”. It writes the commit message, and GitHub keeps the history.
  • Use branches for risky changes. Ask “do this on a new branch”. If it goes wrong, the main version is untouched.
  • Test the safety net once. Look at your repo on github.com and click through the commit history. That’s your project’s undo button, and it lives off your laptop.

3. Cloudflare: put it online

Account and login

brew install node

On Windows: winget install OpenJS.NodeJS.LTS

  • Log Wrangler in once. It opens your browser to approve:
npx wrangler login

Your first deploy

  • Put a plain site online. Open a project with a website in it and ask Claude: “Deploy this site to Cloudflare Workers as static assets.” For a brand-new site, Cloudflare’s starter does it: run npm create cloudflare@latest -- my-site, choose Hello World example, then Static site. Either way, the deploy itself is one command:
npx wrangler deploy

You get a free your-site.your-name.workers.dev address straight away.

  • Connect your own domain (optional) in the dashboard: Workers & Pages → your site → Settings → Domains & Routes.
  • Deploy on every push (optional): in Workers & Pages → your site → Settings → Builds, connect the GitHub repo. Now when Claude pushes to main, the site updates by itself, and GitHub and Cloudflare are linked.

What it costs

  • Know what’s free. Requests to static files (HTML, CSS, images, scripts) are free and unlimited on every plan. A plain site can blow up overnight and the bill stays at $0. Code that runs on each visit is free up to 100,000 requests a day.
  • Upgrade when an app needs more. Workers Paid is $5/month per account and raises the limits on code, databases (D1, KV), storage (R2) and scheduled jobs (cron triggers). That’s what runs everything else I’ve built. Heavy use can bill past $5, so turn on billing notifications in the dashboard.
  • Compare before you pick a host. Lots of people use Vercel, and it’s great. On its free plan, going over the limits pauses your site until the month resets; on its paid plan you pay for usage. Cloudflare’s free static hosting is why I moved my portfolio off Squarespace.

For Claude: setting this up with someone

If you’re Claude Code (or another coding agent) and someone gave you this file, they want parts 2 and 3 done: GitHub and Cloudflare, ending with one project saved on GitHub and live online. Walk them through it, one step at a time, in plain words. They may never have used a terminal.

  1. Check what’s already there before installing anything. Run git --version, brew --version, gh --version, gh auth status, node --version and npx wrangler whoami. Tell them in one short list what’s done and what’s left.
  2. Install what’s missing yourself: brew install gh and brew install node (on Windows: winget install --id GitHub.cli and winget install OpenJS.NodeJS.LTS). If Homebrew itself is missing, give them the one-line install command from brew.sh to paste into the Terminal app: it asks for their Mac password, so they run it, not you.
  3. Leave the human parts to them, and say exactly what to click or type:
    • Making the GitHub and Cloudflare accounts (send them the sign-up links in part 2 and part 3).
    • Logging in. Ask them to open the Terminal app and run gh auth login (GitHub.com, HTTPS, “Login with a web browser”), then npx wrangler login. Both open the browser to approve. When they say it’s done, check with gh auth status and npx wrangler whoami.
    • Never ask them to paste a password, token or API key into the chat.
  4. Save a project on GitHub. Ask which project folder to start with. Make it a git repo with a .gitignore that keeps .env, secrets and build output out, check nothing secret is about to be committed, then gh repo create <name> --private --source . --push. Private unless they say otherwise.
  5. Put it online, if the project has a website: deploy it to Cloudflare Workers as static assets with npx wrangler deploy, and give them the workers.dev address.
  6. Don’t turn on any paid plan, make a repo public, or delete anything without asking first.
  7. Finish with the “Done when” checks at the end of this file, and tell them what they can ask you next (for example: “commit and push”, or “deploy it again”).

A prompt for every new project

Once everything’s set up, open any new project in the Code tab and paste this:

I'm setting up this project the way I want every project to work. Please:

1. Read the folder and tell me what this project is.
2. Write an AGENTS.md for it (what it is, how to run it, how it's deployed,
   the rules for working here) and a CLAUDE.md that just says @AGENTS.md.
3. Make it a git repo with a .gitignore that keeps secrets (.env) and build
   output out. Check nothing secret is about to be committed.
4. Create a PRIVATE GitHub repo for it with gh and push.
5. If it has a website, deploy it to Cloudflare Workers as static assets with
   wrangler and give me the URL.

Ask me before anything you can't undo. Don't commit or push anything after
this unless I ask.

My shared rules (a starting projects/AGENTS.md)

These are close to the real lines in mine. The scroll in the video shows three of them. Copy it and make it yours:

# My projects: shared rules

Read this before doing anything. Every project has its own AGENTS.md with
what it is, how it runs and its rules; read that too.

## How I work
- Don't commit or push unless I ask. Branch before risky changes.
- Never commit secrets: keys and passwords go in .env, which is gitignored.
- Repos are private unless I say a project should be public.
- Recommend a solution with a reason instead of asking me to choose.
- Ask before anything you can't undo (deleting files, force-pushing,
  changing what's live).

## Environment
- macOS, zsh. JS projects use pnpm (never mix in npm or yarn installs).
- Sites deploy to Cloudflare Workers with wrangler.

## Keeping this useful
- When something changes or breaks, update the project's AGENTS.md in the
  same session.
- Each project keeps a TODO.md (Now / Next / Done).

Done when

  • The Code tab opens a project from projects/, and Claude can tell you what’s in its AGENTS.md.
  • gh auth status says you’re logged in, and the project has a private repo on GitHub with at least one commit.
  • Something you made has a live workers.dev address.

That’s the loadout: Claude Code to build it, GitHub to save it, Cloudflare to put it online. If you set it up, tell me what you build with it.

Download (.md)

More guides