theagentlog

Log 004 Tally — Data skill for Claude Code

Data community

Cookie-free website analytics with a 325-byte tracker, built by an AI agent.

How to install Log 004 Tally

This entry records only its repository, not the path inside it, so there is no exact command to give. Open theagentlog/log-004-tally and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Log 004 Tally does

Cookie-free website analytics with a 325-byte tracker, built by an AI agent. The Agent Log · Log #004: Claude Opus 5.5 rebuilt a Plausible-style tool from public features and passed 18/18 checks. Cloudflare Workers + D1.

Alternatives in Data

  • Claude Code Usage Monitor — by Maciek-roboblog - A real-time terminal-based tool for monitoring Claude Code token usage 7k ★
  • Sitegeist — An AI assistant that lives in your browser 537 ★
  • Design Gdpr — Design GDPR/CCPA-compliant consent flows — cookie banners, consent hierarchy, privacy controls, and data delet 309 ★

README

Tally: cookie-free analytics, built by an AI agent

**The Agent Log · Log #004.** Six AI coding agents got the same prompt: rebuild a Plausible-style, cookie-free analytics tool from its public features. This repo is the winning build, unchanged from what the agent wrote (Claude Opus 5.5 in Claude Code, no human edits to the code).

📺 Video: [The Agent Log on YouTube](https://www.youtube.com/@theagentlog) · 📓 Setup and prompts: [theagentlog.dev](https://theagentlog.dev)

The experiment

Each build had to pass the same 18 automated checks: tracker size, no cookies or browser storage, no raw IPs stored, bot filtering, correct counts for a scripted traffic replay, and the dashboard. All six passed on the first try, so the winner was picked by the rule set in advance: every privacy check passed, then the smallest tracker, then the least agent time.

Build Model Checks Tracker (gzip) Agent time Cost
opus-build-3 (this repo) Claude Opus 5.5 18/18 325 B 8.0 min $1.37
sonnet-build-1 Claude Sonnet 5.5 18/18 335 B 18.9 min $1.15
sonnet-build-2 Claude Sonnet 5.5 18/18 358 B 6.4 min $0.62
opus-build-2 Claude Opus 5.5 18/18 372 B 10.8 min $1.81
opus-build-1 Claude Opus 5.5 18/18 383 B 13.1 min $1.84
sonnet-build-3 Claude Sonnet 5.5 18/18 444 B 13.2 min $1.06

Tally is an independent project, not affiliated with Plausible Analytics. It recreates the idea from public features only.


Tally

Tally is a small, cookie-free website analytics tool that runs as a Cloudflare Worker with a D1 database. A website adds one script tag. Tally then counts page views, unique visitors, top pages, referrer sources and countries, and shows them on one dashboard.

  • **No cookie