Lydia Hallie posted on Dec 1 that a 400K auto-compact is rolling out as the default for most 1M models, which should lower usage in longer sessions. You can keep the full 1M window with the /autocompact 1m command or in /config. The post gives no measurement of the saving, so test it on your own long runs; it sits next to the cache-pause numbers above as another lever on the same bill.
Editor's pick saved on XThe Pragmatic Engineer on XNov 30
Ideas to try
Side projects from today's reading
Each idea comes from today's stories and ships with an agent-ready spec: goals, scope, requirements with acceptance criteria and build steps. Hand it to Claude Code, Codex or Cursor and start building.
Cost· One evening
Measure your own prompt-cache pause bill
Requesty's 30-day study of coding-agent traffic says 23.1% of a Claude bill went to rebuilding expired caches against 9.3% for GPT, and breaks of 5 to 30 minutes alone took 15.2%. The data is from Requesty's own customers, so your share may differ. Your usage logs can show your own number in an evening, and decide whether keep-alive pings or a longer cache are worth it.
Export one week of per-turn usage from your agent logs: time, input, cache read and cache write tokens
Mark a pause miss: a gap over 5 minutes where under 10% of the previous prompt came from cache
Price the misses and report their share of the total bill
Replay the same week with a keep-alive ping and a 1-hour cache and compare
mag123c/toktrack★ 195 · 2026-12-01Ultra-fast token & cost tracker for LLM Token Usage (e.g. Claude Code)
inferock/inferock-bench★ 111 · 2026-08-17Local LLM cost-tracking proxy for OpenAI, Anthropic, Gemini, and pinned OpenRouter calls with token usage, failure, and billing-integrity re
chopratejas/tokview★ 80 · 2026-09-30See where your LLM tokens actually go — down to the individual tool call. A small, local, zero-config proxy + dashboard for token/cost track
oluwajubelo1/otellix★ 56 · 2026-11-04OpenTelemetry-native tracing, token tracking, cost attribution, and prompt analytics for Go backends integrating LLMs.
Tried by
Nobody yet. Tried it? Add the topics diffofday-spike and diffofday-20261202-1 to your public repo and it shows up here.
Krishnal Jadav measured an eight-day Claude Code run for a client: 14 sessions, 765 subagents and about 5.2 billion context tokens, half of them the same opening block resent on every call. Agent files that listed banned tools started at about 70K tokens, while files that listed allowed tools started at 15 to 17K. Those are his own measurements from one client, but the check is cheap: look at the first call, not the average.
Capture the first request of a fresh session with a local logging proxy or your agent debug log
Split it into system prompt, tool definitions, agent instructions and memory files, and count tokens for each part
Rewrite one agent instruction file from a deny list to an allow list
Measure the first call again and record the change
AMAP-ML/LongHorizon-Harness★ 1.9k · 2026-12-01The long-horizon computer-use harness. Run AI agents across desktop apps and the CLI for extended periods while preserving task state and ma
robonuggets/doctor-plus★ 89 · 2026-07-31Extended health check for Claude Code - runs /doctor, then audits your workspace against Anthropic's 6 then & now context-engineering shifts
iops-leo/claude-slim★ 42 · 2026-11-21Audit and shrink your Claude Code startup context. Measures what every skill, plugin, agent, and memory file costs in the system prompt, the
Mdshobu/Liberty-House-Club-Whitepaper★ 36 · 2022-04-22# Liberty House Club **A Parallel Binance Chain to Enable Smart Contracts** _NOTE: This document is under development. Please check regularl
Tried by
Nobody yet. Tried it? Add the topics diffofday-spike and diffofday-20261202-2 to your public repo and it shows up here.
Race bare Claude Code against skills and MCP on your own repo
Paul Iusztin built the same system in five setups with Opus 5.5 and found bare Claude Code passed 95.3% of tests with Inngest and 94.8% with LangChain, while adding skills, MCP and docs often lowered the score (for example 82.1% with everything on LangChain). Jellyfish finds the tool explains under 1% of engineer output. Both are one author's or one dataset's results, so run a small version on your own tasks before you add more context.
Pick 5 small tasks from your repo that have a test or a script that decides pass or fail
Define 4 setups: bare, skills only, MCP and docs only, and everything
Run each task three times per setup with the same model and effort setting
Report pass rate, cost and minutes per setup and decide which context earns its place
alexshpunt/explicit-edit-benchmark★ 39 · 2026-12-02Benchmark coding agents and agent harnesses on 226 deterministic file-editing tasks with byte-exact verification and a public leaderboard.
Race ty 1.0 against your current Python type checker
Astral says ty 1.0 is ready for production, with 1.46x the command-line speed of Pyrefly by geometric mean, and OpenAI reports a median 24x speedup and 73% less peak memory after moving to it. These are Astral's and OpenAI's own numbers on their own code. A coding agent runs the checker after every edit, so a fast one shortens every loop. Measure it on your repo and look at the differences in what each tool reports.
Run your current checker and ty on the same repo, cold and warm, and record time and peak memory
Save each tool output and sort the findings into only ty, only the old checker, and both
Read 20 findings from each only-group and mark each as real or noise
Time one agent edit followed by a check with each tool
webi-28/api-inspector-mobile★ 0 · 2026-11-25uilt a cross-platform mobile developer tool in React Native and TypeScript for composing HTTP requests, importing/exporting cURL commands, d
Tried by
Nobody yet. Tried it? Add the topics diffofday-spike and diffofday-20261202-4 to your public repo and it shows up here.
Big companies publish how they work. Each day one of their engineering posts gets a small-team version: the part that gives most of the value, buildable by one or two people, with a spec your agent can start from.
Shopify registers WebMCP tools on every storefront and in Checkout so an agent calls a function with a schema instead of reading screenshots. Its cart tools take the full cart state and return the new state, and fail if the cart changed outside the tool. Completing checkout is marked as consequential so the buyer confirms it. In a Checkout benchmark the tools took 10.3 seconds per attempt against 27.4 for browser automation, cost 58% less and passed 60 of 60 attempts against 56 of 60.
Why it works for them
Shopify runs the browser vendor evaluation suite plus deterministic tests in CI and wraps every tool call with monitoring, so it can measure speed, cost and success against the browser-automation path.
Your small-team version
Expose two or three actions of your own web app as WebMCP tools that take the full state and return the new state, mark the one that spends money or deletes data as consequential, and measure the tools against a browser-automation agent on 20 attempts.
Pick three actions of a small app and write a schema for each, with full state in and new state out
Add an out-of-band change check that returns an error when the state moved
Mark the one risky action as consequential and require a person to confirm it
Run 20 attempts with the tools and 20 with a browser-automation agent and compare time, cost and success
A Correctness Approach for Modern Systems SoftwareMarc BrookerA worked example of a Rust lock client checked by proof, model checking of 10,198,126 states, simulation and mutation testing, built with agents in about three hours of his time.
It's Not the Model, It's YouJellyfish ResearchData from about 49,000 engineers says the tool explains under 1% of output and the person about 75%.
Jellyfish finds the model and harness explain under 1% of engineer output, bare Claude Code passes 95% of tests in Paul Iusztin's run, Matt Baxter says to measure per model, and IBM lifts CUGA from 19% to 52.8% with configuration alone.
The context bill4 items
Requesty puts cache rebuilds after pauses at 23.1% of a Claude bill, Claude Code defaults to a 400K auto-compact, Krishnal Jadav shows a deny list costing about 70K tokens per call against 15 to 17K for an allow list, and Shopify cuts cost 58% by calling tools instead of driving a browser.
Open and fast4 items
Amazon opens Ergo (1.1 trillion parameters), nvdriver is a Rust NVIDIA driver, ty 1.0 is a Rust type checker with a reported median 24x speedup at OpenAI, and a Rust engine runs a 27B model on Lambda.
Prove it, then trust it4 items
Marc Brooker checks agent-written Rust with proofs and mutation testing, Shopify runs WebMCP tests in CI, cryptographers weigh a Lean-checked lattice result, and David Loker and Mat Szymczyk argue an agent summary is a claim, not evidence.
Datadog open-sources a Go PostgreSQL proxy that pools connections and routes traffic, and says it carries 4 trillion messages a month in its own fleet.
NVIDIA says a 31B decision model that screens agent actions drops from about 610 ms to about 55 ms median latency; a figure caption in the post disagrees with the text for one model.
A 4B open deep-research agent trained with reinforcement learning in simulated search environments; Ai2 reports a 49.3 average over ten benchmarks.
Hugging Face (Ai2)1 Dec
MCP
Use it from your AI tools
Diff of the Day is also a public, read-only MCP server. Connect it once, then ask your agent about today's AI news, search past editions or follow the trends.
Claude Code
claude mcp add --transport http diffofday \
https://diffofday.com/mcp
A morning briefing on AI for software engineers. It leads with what everyone is talking about, turns the day's reading into side projects you can try, then collects the posts, repos and engineering blogs worth reading today.