Notes

Longer write-ups and short TILs about building software. Mostly for future me — hopefully useful to you too.

2026

Cut your web fonts down to the characters you useA font file carries hundreds of glyphs, and this site uses 119 characters. Subsetting at build time cut the preloaded fonts by a quarter.
write-up
How to prefetch the next page with speculation rulesA small JSON block tells Chromium browsers to load a page before the visitor clicks its link. No JavaScript needed, and other browsers just ignore it.
til
Retarget a stacked PR before you delete its baseDeleting the branch a pull request targets can close that pull request. Point it at main first, then merge and delete.
til
A skill description can't make a model want the skillWhen a skill trigger probe fails, check what the model did instead. A model busy doing the task itself may not load any skill.
til
Does the strongest model pay off?In 1,961 headless coding runs, the strongest Claude pair passed most, but it cost far more per pass than cheaper pairs that passed nearly as often.
write-up
Ship a Bun-compiled CLI on npm like esbuildHow spatz puts a compiled Bun binary on npm: a small Node launcher plus one package per platform, so each user downloads only one binary.
write-up
Where should a decision model decide?A model choice can happen per request, turn, subagent, session, or after failures. Each timing trades cache reuse for precision.
write-up
npm Trusted Publishing: what to set up firstPublishing to npm from GitHub Actions without a token takes a few steps in a fixed order. This is the order that worked for @spatz/cli.
write-up
Should a decision model pick your model?Letting a decision model pick the model for each coding task saves a choice, but it has costs. The reasons for it, against it, and three alternatives.
write-up
Read a coding agent's model list without logging inCodex and Claude Code both ship their model picker data inside the installed package. You can read it without an account.
til
Is the cheaper model enough?Why a model recommender must sometimes try the cheaper model on purpose, and why a random control group makes the comparison fair.
write-up
Rabe: see what Claude Code runs in the backgroundRabe is a Claude Code mod that shows agents, Codex jobs, shells, monitors, crons and workflows in one band and one pane.
write-up
Building a model recommenderA model recommender in four steps and a feedback loop, why it can only recommend, and why linking a result to its task is a guess.
write-up
Warm the pinned CLI version, not @latestA plugin that downloads its CLI on first use can miss a short hook timeout. Warm the version and runner the plugin will use.
til
What is a decision model?A decision model answers a fixed question with one of your options and a probability. That makes it fast and easy to check, if the options are right.
write-up
Route one Claude Code request to another modelClaude Code hooks can watch a session, but a mod can route one model request elsewhere and change its effort.
til
Who picks the model?Coding agents let you choose a model and an effort level. Why both easy answers cost something, and the idea of a model that picks for you.
write-up
Share images without a browserHow the build draws a share image for every note as SVG and turns it into a PNG, without a browser.
write-up
Asking before analyticsAnalytics that only start after a yes, asked in a small terminal prompt instead of a cookie banner.
write-up
Testing WCAG 2.2How axe, keyboard tests and a contrast test check every page of this site against WCAG 2.2 AA.
write-up