Notes

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

2026

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
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
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
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
visibility: hidden vs display: none in animationsWhen content appears step by step, the page jumps with every step. Hiding the later steps with visibility: hidden instead of removing them fixes that.
til
My own output styles in Claude CodeClaude Code can answer in a style you write yourself, and you can switch styles to fit the situation.
til