All Articles
Days Vanished From My Daily Table After Moving to the Usage and Cost Analytics API — Why Empty Days Don't Come Back, and How to Zero-Fill
The Usage and Cost Analytics API (beta since 10/29) returns no rows for days with no usage. Here is why a drop-in swap from the legacy report leaves gaps, the order I'd check things in, and a small Python zero-fill, tested against mock data.
The Limit Rose to 128MB, but 176 Images at 17.5MB Still Stop: Count the Wall That Hits Before Bytes
The day the Messages API request limit became 128MB, I checked 176 images on my own disk. Bytes had plenty of room; the image-count cap hit first. Here is a pre-send gate and a chunking function.
Start Cowork's First Week With a Practice Folder: Three I Handed Over, One I Held Back
How to decide which folders to give Cowork first: an empty practice folder, a copy of real files, and an output folder, while keeping the folder with credentials out of reach.
The Messages API Limit Is Now 128MB, but Bedrock Still Stops at 20MB — Splitting Your Preflight Constants by Route
On 10/28 the Messages API maximum request size went from 32MB to 128MB, but only on the first-party API. Here is a small Python preflight checker that keeps per-route limits in one place and judges a base64 image bundle before you send it, with the output I got.
When Claude Overwrites a Huge CLAUDE.md: Find the Missing Headings, Restore Them, and Block the Next One
Claude Code 2.1.312 fixed a bug where Claude overwrote a very large CLAUDE.md after seeing only its start. Here is how to spot lost headings on older versions, restore with git, and block full rewrites with a Write hook.
When a Share Card Lost Its Bottom Edge: Checking OG Images by Pixels, Not by Declaration, Before the Build
An OG image I had already fixed went back to 1200×1200, and the site name and tagline at the bottom were cut off in wide social cards. These are the checks I lined up before the build: declared size versus real file, the band lost to cropping, and a crawler-style request.
Cowork's Preferred Browser Setting: Where I Draw the Line Between Built-in and Chrome
Cowork can browse with a built-in browser or with Claude in Chrome. Here is how the default is picked, where to change it, and what I decided before importing logins.
When Only the Back Half of a Subfolder CLAUDE.md Is Ignored, Count Characters, Not Bytes
Since Claude Code 2.1.309, a subfolder CLAUDE.md and path-scoped rules have a character limit, and anything past it is not handed over. This note covers a counting trap I hit on my own files, a scan script, a pre-commit guard, and how to split a file into rules.
Back From Checkout, the Button Stayed on Processing: Why I Fixed It With pageshow, and the 3 Files My Audit Still Found
When you press Back from Stripe or another external page, a checkout button can stay stuck on Processing. I reproduce the bfcache cause in a real browser, compare pageshow with no-store, and add a repo audit script and a CLAUDE.md rule.
When web fetch fails, a 400 and a 200 point to different places
Does adding web fetch to tools return a 400, or a 200 with an error_code inside the result block? A two-layer triage across org settings, domain rules, and where a URL came from, plus a small Python helper whose branches I checked.
Haiku 4.5's October 15 Floor Has Passed, but No Stop Date Has Been Set
An Active model's date in the deprecations table is a floor, not a schedule. Using the 60-day notice rule and past retirement gaps, here is how I audit pinned model IDs.
A Retirement Notice Landed This Morning: Three Screens to Open Before You Change Anything
An English deprecation email from Anthropic arrives and you don't write code. Here are three things to check first: whether it concerns you, what the date really means, and who to tell what.