New Site Feature: Running Wrap-Ups
Since I’ve got a working pipe line to get running data from my watch to my phone to mac and into run log entries, I can summarize some details into weekly (or monthly or quarterly, etc.) wrap-ups.
I gave Claude some vague details of what I was looking for and a couple of hints about what I think it needed to pull it off.
lets add a periodic running wrap up. make a script that:
- find run log blog entries for last 7 days by default.
- aggregate stats for
- total number of runs
- total distance covered
- average pace (in mm::ss per mile)
- total calories.
- add sparklines for
- miles/day
- pace/day
- calories/day
- add a historygram for vibes.
please make an archetype called
running-wrapup.md
I thought it was going ask me a few questions about what I was looking for or some technical details, but it had a good idea of what to do on its own. It ground away for about 5 minutes and I could see it testing the back and front end code and fixing its own small bugs and missed assumptions.
It came back with something that was really good. I thought it would shell out to a javascript charting library for the sparklines and histogram, but it just used inline SVG; clean and fast. All of the calculations where correct and only a few small formatting changes were needed. Nice!
Checking the number again when I ran the script for reals. I found a tiny problem with rounding for pace. I gave it a plain English description of the problem:
take a look at /blog/running-wrapup-2026-08-02/ the pace per day sparkline seems to have a rounding bug. it reports pace was “10:60”
Claude knew exactly what I was talking about and quickly fixed and tested the updated code. It even corrected the problematic figures in the previously generated post. Cool.