Skip to content
Agent Casebook

No sponsor this week. The weekly slot is $100.

Request this week

DirectoryOps & Admin85

Claude Code (headless claude -p via claude-runner) + n8n + LiteLLM

Run headless Claude Code steps from n8n for a homelab morning briefing, release watch and LinkedIn inbox triage

Frans Caisar Ramadhan, in part 41 of his Homelab Rebuild series, describes running n8n in his Kubernetes homelab as one place for small automations. Cheap steps call models through LiteLLM; steps that need a frontier model call claude-runner, a small Node wrapper around headless Claude Code (claude -p) billed to his Claude subscription, with one deployment per model tier and no shell access for the runners. What it runs: a 07:00 morning lab briefing from Grafana alerts and metrics (pod restarts, age of the last Postgres backup) in at most six lines; a daily upstream release watch over GitHub releases and advisories of 11 projects he runs, where Claude Sonnet marks each one SECURITY, BREAKING or routine and nothing is sent when nothing is new; scheduled Claude reviews and pull requests for his own open-source Rust project; and a LinkedIn inbox triage that reads LinkedIn notification mails via read-only Gmail, labels them, and puts a drafted decline for job offers on Telegram for approval. Nothing is sent to LinkedIn; he pastes approved replies himself.

Agent
Claude Code (headless claude -p via claude-runner) + n8n + LiteLLM
Outcome
Reported: the first live LinkedIn message, a recruiter InMail for a contract DevOps role, scored job_offer 0.98 and reached Telegram as a drafted decline that he approved. He reports a dashboard of 29 panels and 6 alert rules for the setup, and that a deliberately failing test workflow went to firing within about a minute. Along the way a first boot was killed by its own health probes, and a Kyverno policy he had written was found to be silently blocking updates to 12 secrets. He gives no time-saved figures.

Reported by the source. This page does not verify the result and does not add dollar figures beyond the note above.

Frans Caisar Ramadhan / franzramadhan.dev

Prompt

Every morning at [time], read the GitHub releases and security advisories from the last 24 hours for these projects I run: [list]. For each new item, label it SECURITY, BREAKING or routine for how I use it, with one line of reason and the link. If nothing is new, send nothing. Do not upgrade, open PRs or change any config; just send the list to [channel].