What it does
The status-report skill (/roadmap)
Running /roadmap in a project writes plans/ROADMAP.html, a status report the owner can read in a minute.
- Sweeps every source of work. Plan documents, GitHub issues, commit history and TODO comments in the code are all gathered into one list of items.
- Proves "done" from the source. For each item the skill opens the code and confirms the work exists, citing the file and line. A closed issue counts as a claim, not proof.
- Reconciles both directions. It flags work that is done but still open, and work that is marked closed but absent from the code or since reverted.
- Sequences the work. Items carry their dependencies, and a validator refuses a dependency that points nowhere and a "next action" that points at a blocked item.
- One verifier per item. A workflow script fans out a separate verifier agent for each item, so checks run in parallel and no agent grades its own claims.
- The report. A "Do this next" panel; a strip of headline figures; "Where it stands" with an overall percentage; progress bars per area; a collapsible roadmap; risks; and what changed since the last run. It has a scroll-spy navigation bar, a print and PDF stylesheet, accessibility markup and sanitized links.
- No dependencies. The renderer is 604 lines of standard-library Python 3.9 working from a JSON schema, with a 235-line stylesheet and a 102-line workflow script.
The transcript analytics suite
The insights pipeline. It reads every Claude Code transcript and produces a self-contained HTML report of about 115 KB.
- Phase 1, extraction. Claude Sonnet reads each session and extracts what happened across 14 dimensions. It runs in parallel, caches results, and resumes after an interruption. Trivial, subagent and meta sessions are filtered out, and long sessions are cut into chunks.
- Phase 2, aggregation. A deterministic step combines the extractions and keeps up to six example session IDs with every entry, so every pattern points at sessions that show it.
- Enrichment. Languages used, response times, categories of tool errors, and periods of running several sessions at once.
- Phase 3, narrative. Fourteen written sections, each ending in a verification block that refuses invented session IDs, percentages that cannot be derived from the data, and flattery.
- Copyable rules. The report proposes CLAUDE.md additions the owner can paste straight into his configuration.
- Diff mode. Compares two runs and lists what is new, what was resolved and what moved most.
- A run manifest and an anonymizer, so a report can be reproduced and shared.
- Subscription-run. It runs on
claude -pwith subscription sign-in, needs no API key, and uses only the Python standard library. - Scheduled runs produce weekly and monthly reports on their own.
The daily timesheet. It builds a day's record of work from transcripts, git history, browser history and ActivityWatch, renders it as email, Word document or Markdown, and mails it.
Failure recovery. llm_outcome.py sorts every failed model call into quota, connection, timeout, oversized input or unusable output, and a 07:30 recovery pass each morning reruns what failed.
A memory ledger. It keeps a running count of how long each line of work has run, so a report can say which day of a project it is.
Activity capture for a client's office. A PowerShell installer puts ActivityWatch on the office's Windows PCs; an hourly uploader sends activity to a Cloudflare Worker backed by R2 storage. Two tokens split the access: a write-only token that can only upload to its own path, and a read-only token for analysis. Tokens are compared in constant time, and the Worker refuses all requests if misconfigured. A cascade analysis then reads the captured activity.
Fleet and operator reports. A fleet register and production report, operator daily and backfill reports, a counting charter with written invariants, a gate with a registry, a one-to-one check and receipts, install and doctor tooling for AgentsView, a React dashboard and a Cloudflare dashboard Worker.
What it achieved
- The status-report skill: 73 tests in 7 test files, built test-first from a 14-task plan in 20 commits.
- The analytics suite: 1,463 tests in 28,525 lines of tests, 25,210 lines of code, and 465 commits, with CI on Python 3.10, 3.11 and 3.12.
- Every claim in an analytics report traces to a session ID; every "done" in a roadmap traces to a file and line.
- The failure-recovery pass reruns every failed model call the next morning.
The problem it solves
When AI agents do the work, their own reports are the least reliable source of what happened. A closed issue does not mean the code exists; a summary written by a model can invent a pattern or flatter the user. An owner directing agents across many projects needs status and analysis that hold up when checked: a roadmap that has opened the code, and a report on his own working patterns that cites the sessions behind every sentence. A client office needed the same kind of record of how work actually moves across its computers, captured without exposing anything.
How he built it
- Evidence or nothing. Both tools are built around one rule: a statement without a source does not appear. The roadmap demands a file and line; the analytics report demands session IDs and refuses underivable numbers.
- Test-first. The status-report skill was built from a written 14-task plan, test before code. The analytics suite carries 1,463 tests.
- Deterministic where it can be. Aggregation, validation and the verification blocks are plain code; models are used only to read and write prose.
- Measured failures fixed at the root. Failure classification and the morning recovery pass come from counting failed model calls by cause, not from guessing.
- Least privilege for client data. Split tokens, path-locked uploads, constant-time comparison and fail-closed behavior protect the office capture.
- Maxwell built both by directing AI agents.