Dev.to
7/25/2026

Automating a Daily Morning Health Check for Your Claude Code Setup with launchd
Short summary
A detailed tutorial on building an automated daily health-check script (daily-brief.sh) that runs via macOS launchd and compiles production HTTP probes, hook latency p95, API costs, and git status into a single Markdown brief. The script handles Vercel cold-start false alarms with retry logic and probes Gumroad billing flows. The author shares concrete bash code, file paths, and lessons from two incidents that slipped through manual monitoring.
- •launchd runs daily-brief.sh three times daily, consolidating probes, latency, costs, and git status into one Markdown file
- •Retry logic and timeout tuning eliminate false alarms from Vercel cold starts
- •Two real incidents motivated the build: a blank GitHub Scout and a billing API config error
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



