THIS IS ACTUAL F*CKING GOLD
Anthropic just shared one of the best tricks for Claude Code: schedule it hourly and let it fix your flaky tests while you sleep.
you close the laptop at 23:00 and the agent runs in the cloud without you.
claude > /schedule hourly 23:07-06:07: fix a flaky test
here's the split:
▸ one run an hour, one flaky test per run, 8 runs a night
▸ every run starts from a fresh clone of the default branch
▸ it reproduces the flake, fixes it, re-runs the suite
▸ it pushes only to a claude/* branch and opens a PR
the part that makes this safe: it never touches your branch and never merges anything.
by 07:00 there are PRs waiting, not commits you have to undo.
JEV sits underneath and decides per run: which test to take, fix or skip, retry or stop. sharp calls run in code, split ones leave you a note instead of guessing.
a flake it cannot explain does not get a confident patch, it gets a note on the PR saying what it saw.
one honest warning from the file itself: green status does not mean the task is done. read each run.
8 hours of nothing becomes 8 attempts at the tests nobody on your team wants to touch.
save it, this is the cheapest engineer you will ever hire.
I can't believe this guide is f*cking free
it fixes the one habit that makes every loop expensive, in Claude Code on Opus 5.5 or anywhere else
you've probably paid for that habit this month without noticing
after the fix the bill drops 83%, and the agent does the same work
the AI teammate it runs on:
↳ https://t.co/OEMVBxlxZE
the fix takes one script, and it's all in the guide below ↓
You're not losing to better content. You're losing to better systems.
VidMachine turns your ideas into viral shorts on autopilot.
This was made with VidMachine 🚀