Project · September 2026 · Shipped

Side quests

An agent that runs my fantasy football team, and an e-reader installer.

  • AI agents
  • Automation
  1. The problem

    I wanted an agent to manage my fantasy team with nobody watching, and every change it makes is real.

  2. How I used agentic coding

    Claude Code built it a tool server with hard limits: every change is a dry run first, then sent once and read back from the league.

  3. The outcome

    As of October 2026 the agent runs eight times a week. When a roster lock slipped past a dry run, the server learned to catch and clear it.

The fantasy football agent

One scheduled runPlaceholder players. Times are US Eastern.

Step 6 of 6

Notes and report. A note for the 3:00 PM run, a short report, and every call, dry run too, in the audit log.

  1. Sunday, 11:40 AM. One of eight scheduled runs a week, just after inactives, about 90 minutes before kickoff. Nobody is watching.
  2. The journal. Runs share no memory, so each starts with the journal. Thursday's note: check Player F at 11:40.
  3. The news. Player F, in my FLEX, is inactive. He locks at his 1 PM kickoff, so there's still time.
  4. Dry run. A dry run first: FLEX: Player F to Player K, the best projection on the bench. Nothing is sent.
  5. Confirm. The same call with confirm: sent once, read back from the league and verified, never retried.
  6. Notes and report. A note for the 3:00 PM run, a short report, and every call, dry run too, in the audit log.

JournalNotes between runs

Player F is questionable for the 1 PM game. Check him at 11:40 AM Sunday, after inactives.

Player K in at FLEX for inactive Player F, verified. Check the late games' inactives.

LineupFour starters, two of the bench

Dry runFLEX: Player FtoPlayer KNothing sent. Logged.

DoneFLEX: Player K, verifiedSent once, read back. Logged.

Redrawn from the runs' reports.

Server guardrailsAs of October 7, 2026

Writes
On
For any change
Trade writes
Off
Drafted, not sent
Largest waiver bid
$25
Per claim
Protected players
9
Never dropped or traded

The e-reader installer

New e-reader firmware for someone with no terminal and nothing to install first.

About five minutes

  1. DownloadThe firmware and a flashing tool.
  2. Find the readerIt must answer as an ESP32-C3 first.
  3. FlashThe app at 0x10000, never the bootloader at 0x0.
  4. FontCopied onto the memory card.
  5. DonePick the font in Settings.
23
agent tools

As of October 2026

Deep dive

Three charts, with sources

Every write goes through one path

All 10 write tools share one path, so none can skip the dry run, the single send or the re-read.

  1. PlanRead the league and build the exact changeStops: Refused if invalid, nothing sent
  2. Dry runThe default: what would be sent, and anything that would block it
  3. ConfirmChecks the server's switches and the roster firstStops: Blocked by one of six codes, like writes off
  4. Send onceNever retried; steps go in order, each after the last succeededWarns: A failure stops the rest
  5. Read backFrom the league again, never a cached copy
  • Done: verified
  • Sent, but the re-read differs
  • Sent, the re-read failed
As a table
StepWhat happensWay out
1. PlanRead the league and build the exact changeRefused if invalid, nothing sent
2. Dry runThe default: what would be sent, and anything that would block it
3. ConfirmChecks the server's switches and the roster firstBlocked by one of six codes, like writes off
4. Send onceNever retried; steps go in order, each after the last succeededA failure stops the rest
5. Read backFrom the league again, never a cached copy
EndsDone: verified, Sent, but the re-read differs, Sent, the re-read failed
  • Every call writes one audit row, dry runs and refusals included, so the next run can see what the last one tried.

    Habit: keep an audit trail for every action

  • A dry run works even with writes switched off and lists what would block the real one, as six stable codes an agent can act on.

    Habit: enforce rules in code, not only in prompts

  • In week 5 a dry run said a lineup change would go through while a roster lock blocked it. The same day, locks became blocker codes.

As of October 7, 2026. Chart: ClaudeCode sleeper-agent/src/tools/write/framework.ts, runWrite. Facts: ClaudeCode sleeper-agent/src/tools/write/framework.ts, Blocker; README.md, How it works; ClaudeCode sleeper-agent/README.md, Roster locks; commit db6136c, October 7, 2026.

The agent's week

Claims go in before waivers process; every other run follows waivers or a game's inactives and lands before kickoff.

As a table
DayTime, US EasternWhat it is for
Tuesday9:00 PMWaiver claims, before waivers process
Wednesday7:30 AMPlaces what the claims won
Thursday6:50 PMAfter Thursday-night inactives
Sunday8:05 AMAfter inactives for the 9:30 AM international games
Sunday11:40 AMAfter 1 PM inactives
Sunday3:00 PMAfter inactives for the 4:05 and 4:25 PM games
Sunday6:55 PMAfter Sunday-night inactives
Monday6:50 PMAfter Monday-night inactives
  • Runs share no memory: each reads the journal and the recent actions first, and leaves notes for the next one at the end.

  • Nobody can approve anything mid-run, so every tool is set to always allow, and the server's own limits do the stopping.

    Habit: enforce rules in code, not only in prompts

  • A run with nothing to do stops after one line. It asks me to act only when a roster fix is missing, refused or fails.

As of October 7, 2026. Chart: ClaudeCode sleeper-agent/docs/SCHEDULED-TASKS.md, the schedule (US Eastern). Facts: ClaudeCode sleeper-agent/src/mcp.ts, the server's instructions.

The installer's safety checks

It writes only the app partition at 0x10000, never the bootloader at 0x0, which is how devices get bricked.

Bootloader at 0x0, never writtenApp from 0x10000, the only write

Offset into flash: 64 KiB. App from 0x10000, the only write.

Drag the marker to try another value.

  • 0 KiB to 64 KiB: Bootloader at 0x0, never written
  • 64 KiB to 128 KiB: App from 0x10000, the only write
As a table
FromToNote
Bootloader at 0x0, never written0 KiB64 KiB
App from 0x10000, the only write64 KiB128 KiB
  • Before writing, it checks the download: an ESP32 app image starts with the byte 0xE9, and a file under 500,000 bytes is refused.

  • Then it asks the chip: only a port where an ESP32-C3 answers gets written, and if two answer, it asks which one.

  • If the e-reader never shows up over USB, the firmware goes on its memory card instead, and the e-reader's own bootloader installs it.

As of September 14, 2026. Chart: ClaudeCode crosspoint-x3-installer, install-crosspoint (FLASH_OFFSET) and README.md (the flash offset, from CrossPoint's partition table). Facts: ClaudeCode crosspoint-x3-installer, install-crosspoint, download_firmware; ClaudeCode crosspoint-x3-installer, install-crosspoint, probe_port and find_device; ClaudeCode crosspoint-x3-installer/README.md, What it does.

Sources

Built with TypeScript, Cloudflare Workers, MCP, bash. ClaudeCode sleeper-agent/docs/SCHEDULED-TASKS.md; ClaudeCode sleeper-agent/README.md, How it works and Guardrails; ClaudeCode sleeper-agent/docs/SCHEDULED-TASKS.md; README.md, Roster locks; commits of October 7, 2026; ClaudeCode sleeper-agent/README.md, Tools; ClaudeCode sleeper-agent/src/tools/write/framework.ts, runWrite; ClaudeCode sleeper-agent/src/tools/write/framework.ts, Blocker; README.md, How it works; ClaudeCode sleeper-agent/README.md, Roster locks; commit db6136c, October 7, 2026; ClaudeCode sleeper-agent/docs/SCHEDULED-TASKS.md, the schedule (US Eastern); ClaudeCode sleeper-agent/src/mcp.ts, the server's instructions; docs/SCHEDULED-TASKS.md; ClaudeCode crosspoint-x3-installer, install-crosspoint (FLASH_OFFSET) and README.md (the flash offset, from CrossPoint's partition table); ClaudeCode crosspoint-x3-installer, install-crosspoint, download_firmware; ClaudeCode crosspoint-x3-installer, install-crosspoint, probe_port and find_device; ClaudeCode crosspoint-x3-installer/README.md, What it does.

Where it fits

  • To Household management agents: The Kroger server copies my fantasy agent's shape: its own sign-in, guardrails in config, dry runs first.