Skip to content
Agent Casebook

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

Request this week

DirectoryPersonal Life65

Claude Code (skills + hooks)

Let agents run homelab health checks on a read, propose, approve ladder

Joe Karlsson, who works in developer relations at a data company, writes that much of his Claude Code use runs his house and an attic homelab where OpenTofu manages every container and Home Assistant runs the house. Agents run a homelab health check, clean up Home Assistant automations, sort media libraries and walk him through decommissioning services; he asks things like "Why is Plex down?" They may read logs and configs freely, must propose a fix for each finding and wait for his go-ahead, and hooks block writes inside containers, restoring a Home Assistant backup or deleting a reverse-proxy certificate.

Agent
Claude Code (skills + hooks)
Outcome
Reported: as of November 2026 the setup runs on six layers, from a 55-line global CLAUDE.md to blocking hooks. One skill loaded zero times in 1,550 sessions because its trigger never matched, so a hook now reminds the agent. The container guard also over-blocked: on 12 Nov he replayed 337 blocked SSH commands and let the harmless reads through. He notes hooks only see commands that go through Claude Code.

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

Joe Karlsson

Prompt

Run my homelab health check on [hosts/services]. You may read logs, configs, journalctl and backup reports without asking. For every problem, report the finding, the root cause and a proposed fix, then stop and wait for my go-ahead, even for fixes that look obviously safe. Never write inside containers managed by [OpenTofu], restore a Home Assistant backup or delete certificates.