check-cache-bugs

Featured

Audit Claude Code setup for cache bugs (CC#40524): sentinel, --resume/--continue, attribution header + ArkNill B3/B4/B5

AI & Automation 5,772 stars 755 forks Updated today CC-BY-SA-4.0

Install

View on GitHub

Quality Score: 93/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Check Cache Bugs (CC#40524) Audit your Claude Code setup for cache and cost bugs discovered in March-April 2026. **Time**: ~30 seconds | **Scope**: version, config files, CLAUDE.md, skills, hooks, shell profiles, all claude binaries > **Note on cache contamination**: This skill loads content containing `cch=` strings into the current session's message array. For cleanest results, run this command at the very start of a fresh session, or via `claude -p "$(cat .claude/commands/check-cache-bugs.md)"` as a one-shot print-mode invocation. **Reference**: `anthropics/claude-code#40524` | **Discovered by**: `@jmarianski` + `@whiletrue0x` | **Extended by**: `@ArkNill` (ArkNill/claude-code-cache-analysis, April 2026) --- ## Background ### Fix Status (current as of v2.1.92) | Bug | Versions affected | Status | |-----|------------------|--------| | Bug 1: cch sentinel (standalone binary) | v2.1.36-v2.1.90 | **FIXED in v2.1.91** | | Bug 2: deferred_tools_delta on --resume | v2.1.69-v2.1.89 | **FIXED in v2.1.90** | | Bug 3: attribution header per-session hash | v2.1.69+ | **Active** (env var workaround) | | B4: Microcompact / silent context stripping | all versions through v2.1.92 | **Active** (GrowthBook controlled) | | B5: Tool result budget cap 200K | all versions through v2.1.92 | **Active** (MCP tools exempted) | ### Original three bugs (CC#40524) - **Bug 1** (FIXED v2.1.91): Bun's native HTTP layer did a same-length byte replacement of the `cch=00000` attestation placeh...

Details

Author
FlorianBruniaux
Repository
FlorianBruniaux/claude-code-ultimate-guide
Created
7 months ago
Last Updated
today
Language
Python
License
CC-BY-SA-4.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

ccc-claudemd

Audit the project CLAUDE.md against the codebase — stale paths, dead commands, token waste — fixes applied only after AskUserQuestion approval. Use when: 'audit claude md', 'optimize instructions'.

5 Updated today
KevinZai
AI & Automation Listed

claude-code-audit

AUDIT: is the Claude Code rig itself healthy? Audit and self-maintain the Claude Code setup. Auto-updates the capabilities reference, diagnoses what's working across memory/skills/hooks/rules/security, auto-executes safe cleanup and batches the rest for approval. Use when asked to audit the setup, optimize workflows, review Claude Code health, find automation opportunities, or clean up the system.

1 Updated 3 weeks ago
donatassimkus
Data & Documents Listed

claude-file-audit

Audit the repo's own documentation — CLAUDE.md, README.md, CONTRIBUTING.md, SECURITY.md, CODE_OF_CONDUCT.md, LICENSE, the community-health files under .github/ (issue forms, PR template, FUNDING.yml) and every committed file under .claude/ (rules, skills, launch config) — for staleness, contradictions and drift from the code, and periodically refresh the criteria from current Claude Code/harness capabilities. Use when asked to audit or review the Claude files, rules, skills, CLAUDE.md, the root docs or the GitHub issue/PR templates, to check whether the repo's own docs still match reality, or to clean up the agent-facing documentation. Produces a ranked report; files issues only with your approval.

1 Updated today
ChulioZ