Zero to One
with Claude Code

Building a personal content aggregator across a homelab, a Mac Studio, and the cloud

Janghan Park

What we're going to build

A personal aggregator that watches the web for me — and tells me what mattered.

What did I need?

Collect

Pull posts from multiple online communities on a schedule.

Store & search

Keep them queryable — by topic, by community, by date.

Summarize & deliver

Daily digest of what mattered, sent to my phone.

What I already had

  • Homelab — Kubernetes cluster + Argo CD wired up
  • Mac Studio — sitting there waiting to run local LLMs
  • Free GCP VM — small but always-on, public IP — happy to host anything that needs to be reachable from outside
  • Claude Code / Codex — and a willingness to let them drive

What helped most

1 · Plan big, then split into smaller chunks

Slice the plan into agent-shaped tasks — each chunk is either an operation or a piece of code, never both. One session per machine, one task per agent. Keeps purpose unambiguous and dodges content rot.

2 · Ship the bare minimum first, then iterate

Goal v1: "works enough that I could demo it from a United flight." It mostly didn't — so every refinement after was driven by a real failure, not speculation.

3 · Pre-write a concrete CLAUDE.md

The more specific the spec, the closer the first output. Ping-ponging with Claude to refine works, but burns time and tokens. Draft the CLAUDE.md ahead in ChatGPT or Gemini, then hand it over.

4 · Keep agents' lanes from crossing

When multiple agents work in parallel, make sure their work areas don't overlap. Two agents editing the same file or the same cluster object = merge conflicts or silent drift.

Why I built this

The everyday scene

Lunch break. Coffee. Phone in hand.

  • YouTube Shorts to decompress
  • But also — what's actually happening today?
  • Tech, finance, hobbies — all in different places
Screenshot of the beobe aggregator home page showing a list of recent posts from multiple communities
The aggregator's home view — posts from every community in one stream.

The frustration

Fragmented

Every community lives somewhere different. No single place to glance at.

Time-expensive

Hunting through threads to find the few that actually mattered.

"If I just had everything in one place, I could decide what's worth my attention."

The bonus realization

Once data is collected, new uses appear.

Daily digests

Local LLM summarizes overnight.

Trend signals

What topics are heating up across communities?

The machines I had

Three locations, one VPN, no rented servers.

The hardware

Homelab

Kubernetes cluster. Argo CD already syncing from GitHub. The workhorse.

Mac Studio

Local LLM host. Good for summarization without sending data out.

GCP VM (free tier)

Tiny, always-on, public IP. Perfect for health checks & reverse-proxy hops.

How they're connected

GCP HOME NETWORK EXTERNAL MacBook developer workstation CLAUDE CODE · CODEX Homelab Kubernetes · Argo CD Postgres · ES · Airflow Mac Studio Local LLM inference summarization · TTS GCP VM free tier · always on health checks · proxy VPN TAILSCALE Every machine reachable from every other — agents pivot freely across boxes.

Home network (MacBook · Homelab · Mac Studio) ⟷ VPN ⟷ External (GCP VM)

Why the VPN matters

  • One SSH config from the MacBook reaches every node
  • Claude Code can pivot between machines mid-task without leaving the session
  • No public exposure of homelab services — only GCP is exposed

The VPN is what makes "one agent, many machines" actually work.

From idea to design doc

CLAUDE.md as the source of truth.

What I gave Claude Code up front

Goal

Collect → store → search → summarize → notify.

Inventory

Homelab + Mac Studio + GCP. K8s. Argo CD. VPN.

Platform picks

Airflow · Postgres · Elasticsearch · Web frontend

Constraints

Stay on existing infra. No paid SaaS. Keep ops simple.

The system, end-to-end

flowchart LR subgraph Sources["Web communities"] C1["Community A"] C2["Community B"] C3["Community C"] end subgraph Homelab["Homelab · Kubernetes"] direction TB AF_C["Crawler DAGs"] AF_D["Digest DAG"] PG[("Postgres")] ES[("Elasticsearch")] end subgraph MacStudio["Mac Studio"] LLM["Local LLM
(NSFW & summary)"] end subgraph GCP["GCP VM"] FE["Web frontend"] end subgraph Delivery["Delivery"] TG["Telegram bot"] end C1 --> AF_C C2 --> AF_C C3 --> AF_C AF_C --> PG PG --> ES PG -->|"list"| FE ES -->|"search"| FE PG --> AF_D AF_D -->|"call"| LLM LLM -->|"summary"| AF_D AF_D --> TG

The split that unblocked me

"Split this plan by machine, so I can run sessions in parallel."

Homelab session

K8s manifests, Airflow (crawler & digest DAGs), Postgres, ES

Mac Studio session

Local LLM serving — an inference endpoint the DAG can call

GCP session

Web frontend, health checks, reverse proxy, public touchpoints

One session per machine = clean state, no context bleed.

How the split actually happens

One master CLAUDE.md → one prompt → three per-machine CLAUDE.md files.

MASTER CLAUDE.md goal · inventory · schema platforms · conventions PROMPT "split this by machine" HOMELAB CLAUDE.md — K8s, Airflow, PG, ES MAC STUDIO CLAUDE.md — local LLM endpoint GCP VM CLAUDE.md — frontend, nginx, TLS Each session only sees its own slice.
master CLAUDE.md (excerpt)
# Personal Community Aggregator
## Infrastructure
- MacBook · Homelab (K8s) · Mac Studio · GCP VM
- Tailscale between all four
## Platforms
- Airflow · Postgres · Elasticsearch
- Local LLM (Mac Studio) · Next.js (GCP)
## Where work runs
- Homelab session — K8s, Airflow, PG, ES
- Mac Studio session — LLM serving
- GCP session — frontend, nginx, certs
homelab CLAUDE.md (derived)
# Homelab session
## Scope
K8s cluster only — out of scope: LLM, frontend.
## What lives here
Airflow DAGs · Postgres · Elasticsearch · Argo CD
## External endpoints I call
- mac-studio.tailnet:8080 (NSFW + summary)
## Conventions
- Manifests live in `manifests/` repo, NOT app repos
- Never kubectl apply directly — commit to manifests/
mac-studio CLAUDE.md (derived)
# Mac Studio session
## Scope
Local LLM serving only.
## Endpoints exposed
- POST /v1/classify → { nsfw: bool }
- POST /v1/summary  → { text: string }
## Conventions
- No public exposure — Tailscale only
- Model swap = restart launchd service
- Pre-stage GGUF files in ~/models/

Full examples in examples/ — master + 3 per-machine files.

Running it day-to-day

Where Claude Code earned its keep.

Database work

Schema in CLAUDE.md

What to crawl, what to store, what shape it lands in.

Migrations

Claude generates SQL, I review, it runs against Postgres.

Pruning & normalization

Periodic clean-up queries, dedupe runs, column-type fixes.

CLAUDE.md (data model prompt)
## Data model

Design the Postgres schema for collected posts.
Pick column types and indexes yourself; just make sure
the following fields exist on each post:

- title
- URL
- community (which site it came from)
- global_id  (cross-community unique key)
- fetched_at (when we collected it)
- view_count
- upvotes
- downvotes
- summary    (filled later by the LLM)
- is_nsfw    (filled later by the NSFW classifier)
- …and anything else you think we'll obviously need

Generate the migration SQL and put it under db/migrations/.
Don't change the schema after this without a new migration.

Deployments — the happy path

flowchart LR Dev["MacBook
(Claude/Codex)"] -->|"git push"| App["App repo"] App -->|"Actions"| Build["Docker build"] Build -->|"push image"| Reg["Image registry"] Build -->|"bump image tag
(commit)"| Man["K8s manifest repo"] Man -->|"watch"| Argo["Argo CD"] Argo -->|"sync"| K8s["Kubernetes (homelab)"]

App repo build → push image and commit new tag into the manifest repo → Argo CD watches the manifest repo, syncs the cluster.

The other path — SSH

Not everything fits Git-driven deploys.

  • Resource bumps on a stuck pod
  • One-off DB hotfix or index rebuild
  • Local LLM model swap on the Mac Studio
  • GCP VM tweaks (nginx, certs)

Claude Code with SSH access = a real on-call hands-on operator.

Two agents, different jobs

Claude Code and Codex, side by side.

The division of labor

Claude Code

Infrastructure & operations.

SSH into machines. Edit manifests. Run kubectl. Patch DAGs in place. Debug pods.

Codex

Application code.

Airflow DAG implementations. Frontend app. Pure code repos. PRs into GitHub.

Early on, Codex had to wait — Claude needed to set the infra up first.

What it looks like in motion

Gh REGISTRY ARGO CD MANIFEST CLAUDE CODE LANE · OPS CODEX LANE · CODE MacBook Claude Code session ① SSH Homelab K8s kubectl · psql · DAG patch Mac Studio model swap · restart GCP GCP VM nginx · certs MacBook Codex ② push App repo ③ build Image registry ④ bump tag (commit) Manifest repo ⑤ watch ⑥ deploy FLOW ① Claude SSH ops ② Codex push ③ Build & push image ④ Commit tag bump ⑤ Argo watches ⑥ Cluster reconciles

Why the split worked

Upsides

  • No collision — different layers, never the same file
  • Right tool for the layer — Claude's terminal, Codex's repo
  • Easier review — Codex diffs in GitHub, Claude changes in the cluster
  • Recoverable — Argo CD is the truth; re-sync to recover
  • Token budget spread — two quotas, half the rate-limit pressure

…and where it bites

Downsides

  • Overlap = conflict — if both touch the same area, you get merge or state conflicts
  • No shared memory — each agent remembers only its own work; the other can be blind to it
  • ↳ Mitigation: have the agent re-read the current state from the code repo or the live cluster before acting

Two specialized agents beat one generalist — as long as you keep their lanes from crossing.

It did not work the first time

A short tour of things that went wrong.

What broke early on

K8s under-provisioned

Pods up, but resources too tight. OOMs and throttling.

Silent crawls

Logs missing. Failed collections looked like empty days.

Elasticsearch misses

Term extraction option wasn't set — relevant docs were invisible.

Airflow DAG fragility

No parallelism. One failure cascaded into the next day's run.

What worked surprisingly well

Generic crawlers

I gave only the URLs. Claude figured out the list parsing for each community on its own.

Schema-driven prompts

Once the DB schema lived in CLAUDE.md, crawler and query code stopped drifting.

Recovers broken systems

After a host reboot it couldn't explain why the box went down — but it spotted that a Postgres data disk failed to mount, edited /etc/fstab, remounted, restarted Postgres, and brought the service back.

Handles gnarly K8s commands & manifests

Runs the long kubectl incantations directly. Comfortable with the awkward manifest bits too — hostPath mounts, GPU mounts, secret management.

Reads error logs & fixes itself

On a failure, it tails the logs, isolates the offending stack frame, and patches the code directly — no hand-holding.

"Just give it the URL" worked far more often than I expected.

Refinements that mattered

  • Timestamp normalization — store as UTC, render in local TZ
  • HTML selector tuning — extract body, not chrome/ads
  • DAG isolation — one community fails ≠ all fail
  • Resource right-sizing — observe, then bump
  • UI polish — search bar, dark mode, community/tag filters

Each one was a 30-minute conversation with Claude — not a 3-day project.

The result that lands on my phone

From scattered communities to one morning digest.

Local LLM — two jobs

flowchart LR PG[("Postgres")] --> NSFW["Local LLM
NSFW classifier
(title + body)"] NSFW -->|"flag"| PG PG --> Top["Top-10 per community
(NSFW filtered out)"] Top --> Sum1["Local LLM
per-community summary"] Sum1 --> Sum2["Local LLM
cross-community summary"] Sum2 --> TG["Telegram"]

Same Mac Studio, two pipelines: an NSFW classifier on incoming posts, and a two-pass summarizer for the daily digest.

What lands on my phone

  • One Telegram message per morning
  • Top topics across my chosen communities
  • Links back to the originals if I want to dive deeper

No catch-up scrolling. No FOMO. Just what mattered.

Telegram digest message — daily summary of community posts
This morning's digest, on my phone.

What changed for me

Time

No more 20-min site hopping at lunch.

Coverage

I see more communities now than I used to visit manually.

Signal

Pre-ranked by community engagement, not algorithmic feed.

Discovery via digest

I don't dig through whole threads anymore. The Telegram digest surfaces the popular posts, and I only follow the ones that look worth my time.

What this unlocks next

The collection pipeline is the foundation.
Everything else is a remix.

Takeaways

  • Plan first, code second. CLAUDE.md is your contract with the agent.
  • Split tasks into smaller chunks. One session per box keeps state clean.
  • Keep agents' lanes from crossing. If multiple agents work in parallel, separate their areas cleanly — overlap creates conflicts and silent drift.
  • Engineering knowledge still matters. Our background is the edge non-engineers don't have — agents amplify it, they don't replace it.
  • Data is the moat. Once collection runs, every new feature is days, not months.

What would you build with this pattern?

Open for questions.

Thank you

Questions?