Curating the /model picker with modelPicker, and what replacing the lineup hides
Claude Code v2.1.242 added modelPicker, which lets you write the /model lineup yourself. Here is how appending differs from replacing, why project settings are ignored, and where it quietly narrows what availableModels allows.
Trusting the allow rules in your repo, or moving them to the environment
On disposable machines, the permissions.allow rules committed to your repo are dropped while the workspace waits to be trusted. Here is what gets dropped and what survives on 2.1.246, where each kind of rule belongs, and a preflight that catches the gap before a run starts.
A One-Letter Typo in settings.json Is Ignored Without a Single Warning
I diffed claude doctor output between a settings.json with misspelled keys and a correct one. There was no difference at all. Here is what actually gets validated, what slips through, and a small check that catches typos before they cost you a day.
One Space in a Folder Name Turned 80 Checks Into Zero
An inspection loop reported 80 files checked and 0 readable. The files were fine. Here is how word splitting turns path fragments into real directories, measured side by side, plus the count assertion I now put in front of every delete-heavy batch.
The same skill lived in two places, and only one copy still had its files
Two scopes held skills with identical names. The SKILL.md files matched down to the sha256, yet one copy was missing the files its own body points to. Here is how I scanned 66 skills and rewrote the detector three times to get from four hits to two real ones.
Handing a long job to another session — and the completion marker for when the notification never arrives
How to wait on another Claude Code session with notify_when_idle, and a small completion marker for when the notice never comes or arrives without telling you whether the job worked. Covers refuse and hold, the 12-hour expiry, and five measured runs, checked against the official docs.
Switching to headersHelper in Claude Code broke auth for project-scoped catalogs only
Moving a private plugin catalog to headersHelper worked at user scope and failed under the project directory. The cause was credential non-inheritance. Here are two working helpers, measured execution costs, and what unattended runs need.
Adding ANTHROPIC_DEFAULT_MODEL Changes Nothing While ANTHROPIC_MODEL Is Still Set
ANTHROPIC_DEFAULT_MODEL, added in v2.1.236, sits at the bottom of the official precedence order. Here is how ANTHROPIC_MODEL and a saved /model choice outrank it, plus a Python script that lists every model source, the winner, and IDs about to retire.
My read-deny rules never reached inside the folder I had allowed
An audit of how far permissions.deny Read rules actually reach, and where they stop, in a tree where secrets and source live side by side. Includes a script that counts coverage with the same gitignore matching Claude Code uses, the Bash and sandbox boundary, and a troubleshooting table.
Take Inventory of What You Allowed with Don't Ask Again in Claude Code
Approvals from "Yes, and don't ask again" land in settings.local.json at your repo root, not your user settings. A script that counts all three settings files, a troubleshooting table, and corrections to common rule-precedence misconceptions.
The Biggest Section in Your SKILL.md Is Usually the One to Keep
A skill I run every week cost about 10K tokens just to load. Measuring it section by section showed why the largest block was the one I had to leave in place, and what splitting by reach actually saved.
The listen Stream Kept Reopening Against My Serverless MCP Server
No errors anywhere, yet connections to the MCP server kept piling up overnight. Here is what happens when a fixed platform timeout meets a resubscribe loop, reproduced in a few dozen lines.