Telling Technology · Learning in public
All episodes
EP.25 — OVERNIGHT AUDIT
A Claude Code workflow, on screen

20 agents audit my machine while I sleep

One cron job at 01:00. Twenty AI agents fan out across every repo and every system on the machine, then file a single ranked report — done before I pour the coffee.

The /workflows view at 01:00 — twenty agents spun up in parallel, each auditing one repo or system
⌁ 20 agents · 01:00 · one report on disk
It starts with a workspace quietly going stale ↓
01 The drift

A workspace nobody is watching

A growing AI workspace drifts. Repos go stale, a secret can slip into a commit, follow-ups stall with no nudge — and you only notice when something breaks. The missing piece isn't more building. It's oversight: a standing check that runs whether or not I remember to run it.

claude code — desktop
> every repo on this machine drifts and I only catch problems when something breaks. I want an audit that runs itself every night, no clicks from me.
Then it can't depend on you being awake. Schedule it: one job at 01:00 that fans out agents in parallel — one per repo for health and security, a few more for the system as a whole — and writes the findings to disk before morning.
Before/after split: left, a silent workspace with stale repos and no oversight; right, a ranked action list waiting in the morning
the gap
No oversight loop — drift is invisible until it bites
02 The build

Twenty agents, fanned out at 01:00

One Workflow script does the fan-out: 15 per-repo audits (health + security on every git repo on the machine) plus 5 deep system scans (config inconsistencies, contacts, operational follow-ups, memory, and a 90-day git story). Windows Task Scheduler fires it via claude -p; a small lock file stops a second run from overlapping; the output lands in one dated summary on disk.

claude code — desktop
> write the workflow: 15 agents audit one repo each, 5 agents scan the whole system, then one synthesizer ranks everything into a single report.
Built. Phase 1 fans out the 20 audits in parallel, capped so the machine stays usable. Phase 2, a synthesizer reads all 20 results and writes TL;DR + a severity-sorted security table + the top 5 actions to audits/…/overnight-summary.md.
Phase diagram: 15 repo audits plus 5 system scans fan out in parallel, then a synthesizer merges them into one ranked report
the fan-out
Repo audit → system deep-scan → synthesize
03 The morning after

Clean security is the boring half

Three mornings of real reports in, the security posture came back clean — no critical or high findings across all 15 repos. Good news, and the least interesting half. The value was the drift it caught: a proposal quietly due in 48 hours, a high-leverage action that had sat untouched for five weeks, and five stale follow-ups a 15-minute sweep would clear. Things a human stops noticing; a nightly agent never does.

claude code — desktop
> rank the findings by leverage, not by how scary they sound. what would I actually regret missing?
Top of the list isn't a security hole — it's a deadline in 48 hours you hadn't flagged, then a stalled high-value action, then five quick follow-ups. Security: all green. The report leads with what moves the needle.
The security section of the report: a severity-sorted table, every row green — no critical or high findings across 15 repos
all green
15 repos scanned, zero critical/high
⚠️

It's called tokenburner for a reason

Twenty agents on a top model at 01:00 is not cheap — the internal name was earned. The trade is simple: a few cents of tokens a night buys an audit I would otherwise never sit down and do. agent_lock stops a double-run from doubling the bill.

04 The receipts

What the night shift leaves on disk

Every run leaves evidence — the fan-out as it happens, the two phases, the green security table, and the ranked action list waiting at breakfast. Tap any image to enlarge it and read the exact prompt that drew it.

WRITTEN TO DISK BEFORE I WOKE UP

One report, waiting with the coffee

TL;DR bullets, a severity-sorted security table, and the five highest-leverage actions — generated by twenty agents at 01:00 and sitting in a dated file before I opened my eyes. Three mornings running, no clicks from me.

The top of the morning report: TL;DR bullets above a severity-sorted security table and a ranked action list
audits/tokenburner/2026-06-30-overnight-summary.md · 20 agents · ~5 min wall-clock
06 Steal this

Build your own night-shift auditor

A Workflow that fans out one agent per repo plus a few whole-system scans, fired by your scheduler at night, writing one ranked report to disk. Everything in this episode is free and open — clone it, run it, make it yours.

skill overnight-wf.js · 20-agent fan-out cmd claude -p via Task Scheduler template overnight-summary.md report assets agent_lock · no double-runs
schedule it schtasks /create /tn overnight-audit /tr "claude -p -f overnight-wf.js" /sc daily /st 01:00

No repo yet — comment AUDIT on the post and the bot DMs you the workflow script the moment it's public.

Next episode

The audit found the work. Who does it?

Next: the agent that doesn't just report the drift — it opens a branch, drafts the fix, and leaves it waiting for a yes or no. From night-watchman to night-shift worker.

Darkened teaser of the twenty-agent fan-out, leading into the auto-fix episode
drops soon · follow so you don't miss it