◉CLAUDE LABJP
●2.1.336 — Claude Code 2.1.336 fixes a freeze on edits that rewrite thousands of lines. Long diffs now show line counts, and ctrl+o opens the full diff●MCP WEB — 2.1.335 adds claude mcp add --web: on paid plans, register a remote MCP server as a claude.ai connector from your terminal●OPUS 4.5 — claude-opus-4-5 retires on 2027/1/22, 49 days from now. The replacement is claude-opus-5-5●CLEANUP — People report a disk cleanup session deleting things it should have kept. Deciding what may be deleted up front is the open question●NEW — New: Split a pre-release app into three areas for Claude Code, verify findings, then fix●PLAN — Upgraded to Pro but nothing changed? Check the screens between payment and plan activation in order●2.1.336 — Claude Code 2.1.336 fixes a freeze on edits that rewrite thousands of lines. Long diffs now show line counts, and ctrl+o opens the full diff●MCP WEB — 2.1.335 adds claude mcp add --web: on paid plans, register a remote MCP server as a claude.ai connector from your terminal●OPUS 4.5 — claude-opus-4-5 retires on 2027/1/22, 49 days from now. The replacement is claude-opus-5-5●CLEANUP — People report a disk cleanup session deleting things it should have kept. Deciding what may be deleted up front is the open question●NEW — New: Split a pre-release app into three areas for Claude Code, verify findings, then fix●PLAN — Upgraded to Pro but nothing changed? Check the screens between payment and plan activation in order
⟐ Claude Code

Claude Code

Hands-on articles for the Claude Code CLI — installation, CLAUDE.md design, subagents, hooks, CI integration, and fixes for common errors.

2026-12-04Intermediate

Before Letting Claude Code Free Up Disk Space, I Wrote Down What It May Delete and When It Must Stop

Before handing Mac disk cleanup to Claude Code, I put only rebuildable caches on an allowlist and added a PreToolUse hook that stops any delete outside it. Here is the list-first routine, the three stop signals, and why Xcode Archives stayed off the list.

2026-12-03Intermediate

Splitting a Pre-Release iOS App into Three Review Areas for Claude Code, and Verifying Every Finding Before Fixing It

Before submitting two iPhone wallpaper apps for review, I split a static audit into three areas by user flow and gave each to a read-only Claude Code subagent. Here are the mechanical checks, the findings ledger, and the silent bugs hiding behind zero crashes.

2026-11-26Advanced

Per Callback, or Once at the Door? Deciding What Claude Code Should Touch on the Day I Installed an Ads SDK Migration Skill

Android's ads SDK is changing generations, and every callback will now arrive on a background thread. The official migration skill says to switch to the UI thread inside each callback; I chose to switch once, at the entrance of my ad wrapper layer. Three tools — an inventory scanner, an entrance-level normalizer, and a PreToolUse hook that fences Claude Code's edits on the migration branch — and the reasoning behind the choice.

2026-11-26Beginner

My Hook Ran in VS Code but Never in Android Studio — Keep One Settings File and Start Claude Code at the Repo Root

Same repository, same Mac, yet hooks and allow rules only worked when Claude Code was opened from VS Code. The cause was the launch directory, not the editor. Here is a script that lists which settings files load from a given folder, plus how I decide what goes in which file.

2026-11-24Intermediate

When Claude Code Can't Connect, Read the Two Lines in claude doctor's API Connectivity Section Side by Side

Claude Code 2.1.331 added an API connectivity section to claude doctor. Using real output from a machine behind a proxy, this walks through reading the API and Sign-in lines together, what "via https_proxy" tells you, ERR_PROXY_TUNNEL versus ECONNREFUSED, and a small script that adds a first guess.

2026-11-22Intermediate

When a Remote MCP Server Goes Silent After Its Token Expires, Check for mcp-remote First

A remote MCP tool call hangs with no error. How to tell an expired token from a slow tool, a script that finds servers bridged through mcp-remote, and how to switch to the native HTTP transport or cap the wait.

2026-11-21Beginner

When Every New Desktop Session Creates a Worktree: Three Places to Check, and When It's Fine to Turn It Off

Claude Code Desktop keeps creating a worktree for every new session, and .claude/worktrees/ and claude/ branches pile up. Here is where the Worktree default actually gets turned on, when to keep it and when to skip it, and a SessionStart hook that tells you when a session is running inside a worktree.

2026-11-19Advanced

My Porting Checklist Was Written in SwiftUI Terms, and It Couldn't Find a Single Purchase Item in My Objective-C Code

I built a small pipeline that hands Claude Code only the checks relevant to the file I'm editing, out of a 113KB list of 33 Android pitfalls. Three scripts, and how a SwiftUI vs Objective-C vocabulary gap let the most important items slip through.

2026-11-19Intermediate

Using One MCP Server from Both Claude Code and Gemini CLI? Generate Both Configs from a Single Source

Paste a Claude Code .mcp.json entry into Gemini CLI and the HTTP server may refuse to connect. A side-by-side table of the differences (url vs httpUrl, variable expansion, server names) plus a Python script that writes both configs from one source file.

2026-11-10Intermediate

How Far Behind Is Your Claude Code on the stable Channel? I Counted Published Versions Instead of Subtracting Numbers

Subtracting version numbers overstates how far stable trails latest. A Python script that counts published releases and the days since stable shipped, how each install method picks its channel, and why switching to stable can downgrade you unless minimumVersion is set right.

2026-11-08Intermediate

Before a Nightly Job Hangs on a Prompt: Designing Around denyInsteadOfPrompting

How permissions.denyInsteadOfPrompting in Claude Code compares with dontAsk mode, allow rules and a permission prompt tool: which settings files it works in, why claude -p already denies instead of waiting, and how to catch what a denial quietly drops.

2026-11-06Beginner

When claude doctor Listed Four Warnings, I Sorted Them by Cause Before Fixing Anything

When claude doctor ended with "4 warnings found," I didn't need four fixes. Using the real output: folding duplicates and pre-sign-in info lines, why adding a PATH entry alone leaves one warning standing, and how to choose a fix and verify it.

2026-11-06Beginner

Claude Code Shipped 21 Releases in Four Weeks. I Counted Before Deciding How Often to Update

Should you check Claude Code updates every day or once a week? I counted npm's publish history with a standard-library Python script and used the last 28 days of counts and gaps to set a rhythm.

2026-11-04Beginner

One Word, One Turn at xhigh — Where I Draw the Line on Typing ultrathink

ultrathink raises only the turn you type it in to xhigh effort (terminal since v2.1.311, VS Code and the desktop Code tab since v2.1.316). How it differs from a standing effort setting, where I draw the line on using it, a troubleshooting table for when the rainbow does not appear, and the variable that turns it off — checked against the official docs as of November 2026.

2026-11-03Intermediate

When Claude Code dies with a Bus error on a shared home directory, check this before you turn off auto-update

Why Claude Code crashes with a Bus error on an NFS-style shared home, how the official cleanup rule and update switches work, and two small scripts to check your setup.

2026-10-29Intermediate

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.

2026-10-28Advanced

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.

2026-10-27Intermediate

Counting How Often Claude Code Ships, Straight from npm's Publish History

How many Claude Code versions ship per week, and how many hours apart? A 37-line Python script reads npm's publish history to count weekly releases and the median gap, including the empty-week trap and why a Tuesday run makes this week look quiet.

2026-10-24Advanced

The Settings File I Kept Saying Yes To Had a Rule That Let Any Python Through — Auditing Allow Rules After the 2.1.309 Changelog

Claude Code 2.1.309 is full of permission-check and sandbox fixes. Here is a script that audits the allow rules in settings.local.json, and how to fix a prefix wildcard on an interpreter.

2026-10-23Intermediate

When a Nightly claude -p Said MCP Needed Authentication, I Added a Preflight That Splits Sleep From Keychain

When a nightly claude -p run wakes up to MCP servers stuck on authentication or failed, a preflight can decide before the run whether to skip it, and a short checklist can tell sleep, a locked keychain and expired auth apart in the morning. Includes a fix for a parser that silently skipped servers with spaces in their names.

2026-10-23Intermediate

When a Nightly claude -p Says MCP "Needs Authentication": Check Mac Sleep and the Keychain First

If an unattended claude -p run leaves "needs authentication" or MCP timeouts in the morning log, check whether the Mac slept or the login keychain was locked. What v2.1.307 changed, and what it still leaves to you.

2026-10-22Beginner

When Only claude -p Refuses to Log In: Check the Credential Order Before You Re-Login

Interactive Claude Code works but claude -p or a script is refused? Here is where to look before running /login again, following the credential order in the official docs.

2026-10-22Advanced

I Recounted the Bytes: Why Keeping Article Bodies Out of My Worker Bundle Still Holds Up at About 900 Articles

On my own Next.js site running on Cloudflare Workers, I recounted the bytes of a bundle that carries article bodies versus one with metadata only. Here are the headroom, a breakdown I had not expected, and a script that keeps counting.

2026-10-20Advanced

Counting the 267 Broken Links My Build Was Silently Stripping — and Why I Skipped Fuzzy Auto-Repair

An MDX build was quietly removing broken internal links. Here is the audit script that lists them, why I decided against slug-similarity repair, and how to set a baseline so the count never grows.

2026-10-20Intermediate

You Stepped Away and Came Back to a Summary — Spotting Idle Compaction and Keeping the Details You Can't Lose

Leave a long conversation for about an hour and Claude Code swaps it for a summary. Checked against the docs as of November 2026: when it runs (terminal, VS Code, the desktop Code tab), how to tell it happened, and how to choose between turning it off, moving the threshold, and keeping the details outside the conversation.

2026-10-19Intermediate

The Page Was 90px Too Wide at 375px, and the Culprit Never Showed Up in querySelectorAll

When a pseudo-element causes horizontal overflow on phones, scanning elements finds nothing. A probe script that confirms the culprit by diff, and overflow fixes that keep sticky intact, with measurements.

2026-10-19Beginner

If You Wrote MCP Allow Rules as Just `mcp__servername` — After v2.1.299, Only Servers With `__` in Their Names Need a Recheck

Claude Code v2.1.299 changed MCP allow rules to match only the server they name. A bare mcp__servername is affected only when the server name contains __ or ends in _. Includes a short audit script.

2026-10-18Intermediate

I Added the allow Rule and the Prompt Still Appears — Reading Six Layers from /permissions

When an allow rule is in your settings and the same approval prompt keeps coming back, something else decided first. Starting from what /permissions shows, here are six layers you can verify against the official permissions docs: ask and deny precedence, where settings.local.json is read, Cowork's shell tool, and more.

2026-10-15Intermediate

The Hook That Was Meant to Guard My Japanese Folder Never Blocked Anything — Python Was Reading stdin as cp932

A PreToolUse hook guarding folders like 経理 or 議事録 silently lets edits through when Python's stdin defaults to cp932. How I reproduced it, the three-line fix, and one command to check your own hooks.

2026-10-14Advanced

I Set onFailure to block, and the Docs' rm -rf Guard Still Let Everything Through Without jq

When a PreToolUse guard hook fails, does the action go ahead or stop? The docs' own rm -rf example exits 0 and waves everything through when jq is missing. Ten failure modes run for real, the fix, and a script that finds fail-open guards in settings.json.

2026-10-14Advanced

Grep's First 250 Lines Touched Only 42 of the 183 Files That Matched

Searching an article repository for the word hook returned 1,312 lines across 183 files. ripgrep, git grep and grep all finished in 11 to 35 ms, so speed was never the issue. Output size and ordering were. A script that estimates what a 250-line cutoff will miss, plus a search order backed by measurements.

2026-10-13Intermediate

The Same Approval Prompt for 'cd, git add, git commit' Every Time — Following It to a Design Choice, Not a Missing Setting

cd && git commit still prompts despite allow rules: per the docs, cd plus git prompts by design. A diagnosis table, five fixes incl. /cd, and a hook paired with a deny.

2026-10-12Intermediate

After Moving to SPM, My App Died the Moment It Launched — Reading One dyld Line with Claude Code

Right after moving from CocoaPods to Swift Package Manager, the build passed but the app died on launch. Here is how I traced one dyld line to its cause, the fix, and how to verify it.

2026-10-05Intermediate

I Wrote "I'll Do the Commits" in CLAUDE.md. The Next Morning git log Had One More Line.

When Claude Code commits despite being told not to: undo with git reset --soft, then stop it physically with permissions.deny plus a PreToolUse hook. Covers the git -c form that deny rules let through, and how to test the hook without starting Claude Code.

2026-09-29Beginner

Two Default-Model Changes Haven't Reached Claude Code's Stable Channel Yet

This morning, Claude Code's stable channel sat 6 releases and 10 days behind latest. A small standard-library Python script that counts the gap in real, published releases instead of version arithmetic, and lists what hasn't arrived yet with a headline for each.

2026-09-25Beginner

The Week Opus 5.5 Became the Default, I Counted the Places I'd Left as Aliases

Claude Code 2.1.280 made Opus 5.5 the default Opus and moved Pro's default from Sonnet to Opus. Before touching a single setting, I checked three things: what the alias resolves to, whether a saved /effort carries over, and what $0.20 cache reads do to a monthly estimate. Scripts included.

2026-09-22Advanced

Taking Inventory of Worktrees That Were Supposed to Be Gone

Isolated worktrees my subagents created were never folded away. Here is what I measured in git 2.34.1 about when remove succeeds, the branches that outlive the trees, the 12 MB per-tree difference, and how I decide who owns cleanup.

2026-09-20Intermediate

I Was Paying for Pro and Still Getting Billed by the Console

Your subscription and your API usage are two separate ledgers, and Claude Code will happily run on either one. Which credential wins is decided by a precedence list where your login sits dead last. Here is how to read status, and why unattended runs answer differently.

2026-09-12Intermediate

My overnight crawl never came back, and the reason was that WebFetch had no ceiling on how long it would wait

Claude Code v2.1.268 gives WebFetch a 300-second deadline. Here is how an unattended run stalls on a server that never closes its response, why CLAUDE_CODE_WEBFETCH_DEADLINE_MS=0 does not mean 'do not wait', and how I now place two separate ceilings.

2026-09-11Intermediate

inferenceGatewayHeaders still works today. At noon on October 7 it falls back to a default

I read the deprecation notice that started appearing on September 10 as a spelling cleanup. After the cut-off, the old names are not ignored — they fall back to a fail-closed value or a default. Here is the old-to-new map and a script that audits your config in one pass.

← All Articles