One-click activation of claude-code-cache-fix for Claude Code sessions in VS Code.
Automatically configures the claudeCode.claudeProcessWrapper setting to load the cache-fix interceptor into every Claude Code session started from VS Code. The interceptor (v2.0.0) includes 15 cache-stability fixes that reduce unnecessary cache rebuilds by up to 99.8%. Compatible with CC v2.1.112 and Opus 4.7.
Install the interceptor globally:
npm install -g claude-code-cache-fix- Install this extension
- It auto-enables on first activation if the interceptor is installed
- Restart any active Claude Code session
That's it. The extension handles the wrapper configuration automatically.
- Claude Code Cache Fix: Enable — Activate the interceptor
- Claude Code Cache Fix: Disable — Deactivate (restores default Claude Code behavior)
- Claude Code Cache Fix: Show Status — Check if the interceptor is installed and active
The VS Code Claude Code extension spawns claude as a subprocess. This extension sets claudeCode.claudeProcessWrapper to a bundled Node.js wrapper that:
- Sets
NODE_OPTIONSto load the interceptor via--import - Spawns
node cli.jswith the cache fixes active - Passes all arguments through to Claude Code
No native compilation required. Works on Windows, macOS, and Linux.
- claude-code-cache-fix — The interceptor (v2.0.0, 15 fixes, 150+ stars)
- Blog series — Technical analysis