ClaudeHack
0.000

Schedule a morning repo-health brief with headless Claude

Scheduled Tasks / Automation·14 hours ago·verified 14 hours ago·medium·~20 min setup·verified

Cron a useful headless Claude task each morning: failing CI, stale PRs, and TODO hotspots—not an empty warmup.

The problem

You waste the first hour discovering broken main and forgotten review requests.

The hack

Add a weekday cron that runs `claude --print` with a repo-health prompt and writes a short markdown brief.

Why it works

Scheduled, purposeful runs beat idle warmups and can also shape when your usage window starts.

Setup

1. Write a prompt file that asks for CI status, PRs needing review, and high-churn TODO paths. 2. Create a shell script that cds to the repo, fetches, and runs `claude --print` with that prompt. 3. Schedule it with cron/launchd for 7:00 local time on weekdays. 4. Deliver output to a file, Slack webhook, or email.

Prompt

Summarize: failing CI on main, PRs waiting >2 days for review, and the top TODO/FIXME hotspots. Be concise.

Additional details

Prefer maintenance value over a meaningless ping prompt.

Source

anthropic·View original →·by Community

Does this still work?

0 said it works · 0 said it's broken

Related

Discussion

No comments yet. Be the first to say whether this worked for you.