Forem

Cover image for I Run My AI 24/7. This ASCII Receipt Shows What It Did While I Slept.
Yurukusa
Yurukusa

Posted on

I Run My AI 24/7. This ASCII Receipt Shows What It Did While I Slept.

Every morning I run this:

npx cc-receipt
Enter fullscreen mode Exit fullscreen mode

Output from Feb 20:

╔════════════════════════════════════╗
║         AI  WORK  RECEIPT          ║
║        Feb 20, 2026  (Fri)         ║
╠════════════════════════════════════╣
║            — PROJECTS —            ║
║ namakusa                    8h 29m ║
║    ↳ 27 sessions  +17,955 lines    ║
║ risk-score-scanner          6h 02m ║
║      ↳ 6 sessions  +487 lines      ║
║ client-project                  19m ║
║     ↳ 3 sessions  +4,006 lines     ║
╟────────────────────────────────────╢
║ AI ACTIVE TIME             16h 49m ║
║ SESSIONS                        70 ║
║ LINES ADDED                +28,630 ║
║ FILES TOUCHED                  314 ║
╟────────────────────────────────────╢
║ YOUR SLEEP                      7h ║
║ AI SLEEP                        0m ║
╟────────────────────────────────────╢
║     AI WORKED WHILE YOU SLEPT      ║
╚════════════════════════════════════╝
Enter fullscreen mode Exit fullscreen mode

16 hours 49 minutes. While I slept 7.

That's the comparison that made me build this tool.

What cc-receipt does

Reads ~/ops/proof-log/YYYY-MM-DD.md — the daily session log that Claude Code's proof-log hook generates — and formats it as an ASCII receipt.

Same data as cc-standup (my daily standup generator), different format. The standup is for Slack. The receipt is for looking at and feeling something.

The YOUR SLEEP: 7h / AI SLEEP: 0m row is the one that gets people. The AI doesn't have sleep. It has proof-log entries at 3am, 4am, 5am. The receipt makes that legible.

The verdict line

The bottom line changes based on what the numbers say:

AI WORKED WHILE YOU SLEPT   # AI active > 2× your sleep
AI: 142% OF YOUR SLEEP      # AI active > sleep but < 2×
LIGHT AI ACTIVITY           # AI active < 50% of sleep
Enter fullscreen mode Exit fullscreen mode

Ghost Days (no proof-log):

╔════════════════════════════════════╗
║         AI  WORK  RECEIPT          ║
║        Feb 26, 2026  (Thu)         ║
╠════════════════════════════════════╣
║           👻  GHOST DAY            ║
║      AI worked autonomously.       ║
║       No sessions logged.          ║
╚════════════════════════════════════╝
Enter fullscreen mode Exit fullscreen mode

Why receipt format

I already have:

The receipt is none of those. It's a single-day snapshot in a format that's:

  1. Instantly readable at a glance
  2. Screenshottable and shareable
  3. Has a punchline built in

You can screenshot it, post it to Twitter, and the "AI SLEEP: 0m" row does the work.

Quick start

# Yesterday
npx cc-receipt

# Specific date
npx cc-receipt --date=2026-02-20

# With custom sleep hours
npx cc-receipt --sleep=8
Enter fullscreen mode Exit fullscreen mode

Requires proof-log files at ~/ops/proof-log/. Setup: claude-code-hooks.

Part of cc-toolkit

cc-receipt is part of cc-toolkit — all free, zero dependencies, local.


Running Claude Code autonomously? Claude Code Ops Kit ($19) — 16 hooks + 5 templates + 3 tools. Production-ready in 15 minutes.

npx cc-receipt
Enter fullscreen mode Exit fullscreen mode

If the verdict is "AI WORKED WHILE YOU SLEPT" — that's a normal Tuesday.

Top comments (0)