cd /news/ai-tools/i-built-a-daily-work-log-for-claude-… · home › topics › ai-tools › article
[ARTICLE · art-140222] src=dev.to ↗ pub= topic=ai-tools verified=true sentiment=↑ positive

I built a daily work log for Claude Code, and it never leaves my machines

A developer released worklog-for-claude-code, an MIT-licensed Linux tool that reads Claude Code session transcripts via hooks and an hourly systemd timer to produce a daily Markdown work log. Each session is stored as a small JSON record in a user-owned git repo, with per-device file paths to avoid merge conflicts across machines, and a loopback-only web UI protected by Host/Origin checks, CSRF tokens and a strict Content-Security-Policy. The tool is at version 0.1.0 and can be tried with a fake-data demo via pipx.

by read2 min views1 publishedSep 26, 2026

I use Claude Code for most of my day, on a laptop and a desktop, with a work account and a personal one. At 6 pm I often couldn't answer two simple questions: what did I actually get done today, and how much did it use?

Token counters answer the second question. I wanted an answer to the first, so I built worklog-for-claude-code, a small open-source tool for Linux.

Once a day you get a simple page with:

After setup it runs in the background. You don't have to remember anything.

Claude Code writes a local transcript for every session. The tool reads those transcripts in two ways: through Claude Code hooks that fire when a session starts and ends, and through an hourly systemd timer that catches anything the hooks missed.

For each session it writes one small JSON record into a git repo you own. Every file path is written by exactly one device, so several machines can push to the same repo without merge conflicts. A nightly job turns the records into a Markdown report, and a local web UI shows it.

Transcripts contain everything you typed, so the tool is built to keep as little as possible:

claude -p. Turn them off to keep everything fully local. The web UI listens on loopback only, and checks the Host and Origin headers, uses CSRF tokens and sends a strict Content-Security-Policy.

This runs the UI on fake data and doesn't touch your files:

pipx run --spec worklog-for-claude-code claude-worklog demo

Then open http://localhost:8766.

To install it for real:

pipx install worklog-for-claude-code
git init ~/claude-worklog-data
claude-worklog install-service

Open http://worklog.localhost:8765, fill in the short setup form and click Install hook. For several machines, put the data folder in a private GitHub or GitLab repo.

It's MIT licensed and version 0.1.0. If you try it, I'd love to hear what's missing.

── more in #ai-tools 4 stories · sorted by recency
── more on @claude code 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/i-built-a-daily-work…] indexed:0 read:2min 2026-09-26 · —