ForkMySetup
$10 USD

For developers who build with coding agents

Fork my setup. Ship like a team of ten.

The exact way I build and run about a hundred production apps with Claude Code, written as one long Markdown file your agent reads and reproduces on your machines, step by step, asking before anything irreversible.

Markdown + PDF · one personal link · 100 downloads · version 1.0

~100
production sites and apps shipped and running, one person
452
workflows in one devops repo that knows where everything runs
0
open ports at home: every hostname comes in through a Cloudflare tunnel
1 push
to deploy anything, with automatic rollback on a failed health check

What your agent learns from it

The details that make it 10x, not the slogans

Speed with agents does not come from a better model. It comes from a setup where the agent never has to invent architecture, can ship without holding a server password, and can see production without being able to break it. Here is what that takes.

Every app has the same shape

Commands append immutable events to SQLite. Read models are folds. Side effects run from to-do lists and close with marker events. Your agent never invents architecture; it writes a slice and its given/when/then test.

Event Modeling before code

The Adam Dymitruk / Martin Dilger method as a ritual your agent runs with you: timeline, commands, events, views, automations, translations, then a slice table. Only one slice is ever allowed to read the clock.

Push is the deploy

App repos build images and send one dispatch. A private devops repo knows every host, port and secret. A runner on the target machine swaps containers, asserts the exact commit is live, runs checks, and rolls back on its own.

Self-hosted runners, a home lab and the cloud

Mini PCs at home for everything internal, OVH for anything customers pay for monthly, a dedicated runner box that took 13,600 minutes a month off paid CI. Which jobs to move first, and the six traps of sharing a runner box.

Cloudflare done carefully

Registrar, zones, remotely managed tunnels, and a route script that refuses to clobber anything. The 3,500 record cap that failed a paid order, why you return 503 and never 502, and the 55 second deadline.

Your agent sees production without breaking it

Read-only diagnostic workflows are its eyes on machines it cannot reach. Dev servers it screenshots, preview hosts behind Access, test-mode third parties. It does more of the work because it can check its own.

An operations agent with SSH to the fleet

A dedicated always-on machine running its own agent, reachable from your phone, with a per-host ops user, narrow sudo and standing orders: diagnose, quote the evidence, propose exact commands, wait for yes.

Stripe without webhooks

Inline prices, a success redirect that reads the session back, a background re-check for buyers who closed the tab, and the restricted-key permission trap that made refunds fail silently.

SQLite in production, honestly

The outage where 154,000 telemetry rows and one missing index froze an entire site, and the three fixes. WAL, one writer, ordering by rowid, BLOB column order, backups that are actually consistent.

SEO wired into every app

Canonical rules that do not poison noindex pages, build-time sitemaps, JSON-LD generated from the same data as the page, a blog catalog with a drift test, and a launch checklist your agent can tick.

Parallel agents without chaos

Worktree per task, rebase before push, holds on branches. The time a parked commit was pushed by another session three minutes later and triggered a newsletter blast.

CLAUDE.md as the memory that compounds

What goes in (events with payloads, dated decisions, incident notes, guard rails), how memory and skills fit, and the skill-authorisation paragraph that lets a job run unattended safely.

Less than one hour of your time. The first skill pays for it.

How it works

Written for your agent to execute

  1. 1

    Buy

    $10 USD through Stripe. Your personal download page opens right away and the link is emailed to you.

  2. 2

    Hand it to your agent

    Drop forkmysetup.md in a folder and tell your coding agent to read it and run Part 0 with you.

  3. 3

    It interviews you

    Your machines, accounts, domains, budget and boundaries. It writes SETUP-PLAN.md and waits for your go-ahead.

  4. 4

    It builds the foundation

    Runners, devops repo, Cloudflare tunnels, email, Stripe, backups, asking before every irreversible step.

  5. 5

    Then one skill at a time

    "Create a new app for this domain." "Add subscriptions." "Why is production slow?" Thirty skills, each with steps and checks.

$ claude
> Read forkmysetup.md completely. Then run Part 0 (the interview
  and inventory) with me before changing anything.

  I'll start with five questions about what you're building and
  which machines you have. Nothing will be changed until you've
  approved SETUP-PLAN.md.

What's inside

A setup section, then one skill per job

Part 0

Interview and inventory

  • The questions your agent asks you first
  • Read-only inventory of your machines and accounts
  • Three tracks: laptop + one VPS, small fleet, full home lab
  • SETUP-PLAN.md: the contract for the rest

Part 1

Foundation

  • Workstation, git config and folder layout
  • Claude Code settings, CLAUDE.md, memory, skills, parallel sessions
  • GitHub account vs organisation, the four tokens, the 100-secret cap
  • The devops repo and its conventions
  • Self-hosted runners per host
  • Home lab hardware and OVH, where each workload belongs
  • Cloudflare registrar, tunnels, DNS and tokens
  • Email, Stripe, the full secrets map
  • The operations agent, agent eyes, observability, backups

Part 2

The application architecture

  • The exact stack, with versions and why
  • Repository layout (web app + background processor)
  • Event Modeling, event store, commands, views, automations, translations
  • Background processor vs throttled in-process pump
  • Stripe without webhooks, email, signed links, passwordless accounts
  • UI, SEO, testing, Docker, the app's CLAUDE.md

Part 3

30 skills, one per job

  • Bootstrap a server, register a runner, route a domain
  • Create an app, add its deployment, event-model a feature
  • Sell a digital download, subscriptions and dunning, newsletters
  • Diagnostic workflows, rollback, debugging with no shell
  • SEO launch, blog posts, backups, secret rotation
  • The ops agent, a per-customer agent fleet, alerts, LAN-only HTTPS

Part 4

76 gotchas

  • Every one cost real time in production, with the cause and the fix

Part 5

Templates to copy verbatim

  • CLAUDE.md for apps and devops, deploy workflow, deploy.sh, route script, runner installer, CI, Dockerfile

The stack

Taken from the real repos, not a wish list

Every version, flag and file layout in the guide comes from the apps running today: the hosting company at 8examples.com, the managed AI assistant fleet, the crawlers, the maps, the store you are reading. Where I describe an option I have not committed to, the guide says so.

Two public reference repositories come with it, free for anyone: an event-sourced Next.js + SQLite app (the architecture of this very store) and a devops control repo with rollback-safe deploys and tunnel routing.

RuntimeNode.js 22 everywhere (images, CI, workstation)
WebNext.js 16 App Router, standalone output, React 19, TypeScript strict
StylingTailwind CSS v4 with design tokens in CSS, local fonts, dark by default
DataSQLite (better-sqlite3, WAL), one append-only events table per app
ArchitectureCQRS + event sourcing, Event Modeling slices, given/when/then tests
Background workA stateless processor polling to-do lists over HTTP, or a throttled pump
PaymentsStripe REST, inline prices, no SDK, no webhooks
Emailnodemailer over Gmail SMTP, Migadu for mailboxes
CI/CDGitHub Actions, GHCR images by digest, repository_dispatch to a devops repo
HostsSelf-hosted runners on mini PCs at home and OVH VMs, Docker per host
EdgeCloudflare registrar, DNS and tunnels; nothing exposed directly
AgentsClaude Code (plus Codex), CLAUDE.md, memory, skills; an OpenClaw ops agent

An excerpt

From Part 2: the event store rules

Index type in the same statement that creates the table. My main site's events table reached 155,000 rows, 154,000 of them machine telemetry, with no index on type. A single background pump ran dozens of projections, each a full scan, and pumps were kicked by every heartbeat with no in-flight guard. better-sqlite3 is synchronous, so the event loop never came back: the whole site stopped answering, static files included, while the process looked alive.

A total outage with a live process means a blocked event loop. The events table holds facts a person would care about. Anything a machine writes on a timer gets its own table with its own indexes. They can share a file; they cannot share a table.

For you if

  • You already use a coding agent and want it to do far more of the work
  • You ship several small apps or products, alone or with a small team
  • You would rather own your hosting than rent a platform per app
  • You want event sourcing without a framework or a database server
  • You are comfortable approving shell commands and reading a diff

Not for you if

  • You want a hosted platform where you never see a server
  • Your company mandates Kubernetes, Postgres and a cloud vendor already (the patterns still apply; the setup will not)
  • You want an agent to run unattended with production credentials (this guide will not tell you to)

Questions

Before you buy

What exactly do I get for $10?+

A zip with the guide as one long Markdown file (for your coding agent) and the same guide as a PDF (for you). One personal download link, good for 100 downloads, emailed to you as well. The two reference repositories it uses are public and free.

How do I use it?+

Put forkmysetup.md in an empty folder, open your coding agent there, and tell it to read the whole file and run Part 0 with you. It interviews you, inventories your machines and accounts, writes a setup plan, and waits for your go-ahead. After that you ask for one skill at a time.

Which coding agents does it work with?+

It was written with and for Claude Code, and it reads well to Codex, Cursor and any agent that can run shell commands and edit files. Nothing in it depends on one vendor.

Do I need a home lab?+

No. Part 0 offers three tracks. The smallest is your laptop plus one cloud VM for about $10 to $20 a month. Every step scales up to more machines without rework.

Will the agent change things on my servers or DNS without asking?+

The guide opens with an operating contract the agent follows: it asks before anything irreversible or outward-facing (buying domains, DNS on live zones, opening ports, sending real email, charging money, deleting data, giving SSH). Its own scripts preflight, refuse to clobber, and read back.

Is this a course or a template?+

Neither, exactly. It is the setup itself, written as instructions precise enough for an agent to execute: commands, file templates, the reasons behind each choice, and the incidents that produced them.

Can I expense it?+

Yes. Every purchase gets a numbered invoice from Stripe, emailed to you with the PDF attached and linked from your download page. Tick "I'm purchasing as a business" at checkout to put your business name and tax ID on it.

What if I lose my link?+

Enter the email you paid with on the recover page and the link is emailed again. If a link reaches its download limit, contact support with your order number.

Refunds?+

If you have not downloaded the zip yet, email within 14 days for a full refund. Once downloaded, sales are final because the file cannot be returned. A broken download is fixed or refunded.

Bought it already and lost the link? Have it emailed again.

Give your agent the setup, not just the task.

One file. Your machines. The same pace.

Sold by 8Examples Inc., Calgary. Payments by Stripe.

ForkMySetup