โš ๏ธ June 15, 2026: Anthropic splits programmatic billing. Decide stay / switch / hybridize โ†’

cc-safe-setup

Make Claude Code safe for autonomous operation
707
hooks
56
commands
9,200+
tests
28
web tools
One command. 30 seconds. Zero dependencies.
๐Ÿšจ Opus 4.7 Alert: Auto mode safety classifier hardcoded to 4.6, not working on 4.7. 23+ data loss incidents in 3 days (50GB lost). Hooks are model-independent, run npx cc-safe-setup --shield now.
Get Started
1
Run npx cc-safe-setup --shield, installs hooks, detects your stack, generates CLAUDE.md
2
Run npx cc-safe-setup --verify, confirms all hooks block correctly
3
For teams: npx cc-safe-setup --team, commit .claude/ to share with everyone
June 15 Preparation Tools
๐Ÿ“Š
Hitting Max Limits Too Fast โ€” You or the Platform?
The #1 Max complaint cluster (#16157, 720+ reactions). 20-second check: how much of your fast quota burn is self-caused (shared quota, Opus, big context) versus a possible anomaly worth reporting. Shareable card, browser-only.
new
๐Ÿ“–
Why Am I Hitting Usage Limits So Fast on Max?
The full explainer behind the burn check: why you can't see your real quota, the version boundaries where consumption changed, the false "Usage credits required for 1M context" gate and how to clear it, what you can measure free, and when it's a platform report worth filing.
guide
โœ…
How I Made Claude Code Cheaper โ€” the 5 Changes That Worked
Field notes from an 800-hour run: the five small habits that reliably brought the bill down and kept sessions calm โ€” fresh session per task, Sonnet for routine work, compacting on purpose, watching the numbers, and a lean context. Each is a win you can copy today, free.
wins
โณ
June 15 Cliff โ€” Are You Exposed?
20-second check: does the June 15 programmatic-billing split hit you? See your plan's new credit cap, a live countdown, and a shareable exposure card. Browser-only.
new
๐Ÿ”ฌ
June 15 Cliff Exposure โ€” from your real logs
The precise version: drop your ~/.claude/projects logs and it splits your usage into interactive (Pool 1) vs programmatic (Pool 2) by the entrypoint your sessions actually recorded โ€” not a guess. Browser-only, nothing uploaded.
new
๐Ÿ’ฐ
June 15 Pool 2 Estimator
5-minute self-assessment: paste your past-30-day usage, get estimated monthly cost after June 15 with Pool 1 / Pool 2 split. Browser-only, no signup, no telemetry.
free tool
๐Ÿ“‹
June 15 Readiness Audit (10-question)
10-question audit returns a readiness score (0-100) with each gap mapped to a specific Migration Playbook chapter. Browser-only, no signup.
free tool
๐Ÿ”ฅ
Three Cost Catastrophes (May 22-24)
Structural analysis of $47K/3-day subagent runaway, 887K-tokens/min parallel-49 burn, and $6K-overnight cache-TTL surprise. Three operator-side preventions mapped to PR #298, #286, #283.
analysis
๐Ÿ“˜
21-Day Preparation Checklist (EN)
7-step preparation checklist, hook patterns for closure-claim arrest and budget gates, parallel-agent cost reality, and the four official-doc blind spots. CC BY 4.0, ~1,800 words.
checklist
Sub-Agent Observability Handbook ยท Ships May 27
๐Ÿ“—
Sub-Agent Observability Handbook ($19)
Four sub-patterns of sub-agent failure articulated from the May 20-22 cluster of 7 independent reports (#60987, #61102, #61107, #61167, #61315, #61405, #61547). Operator-side defense hooks for each sub-pattern, mapped to cc-safe-setup PR #283, #286, #298, #282. Chapter 1 free as a Gist preview.
ships 2026-05-27
Latest: Critical Safety Fixes
๐Ÿ”“
Claude Code ignores my allow/deny rules and prompts anyway?
A permission rule that silently doesn't match is worse than no rule. Windows path normalization, settings precedence, the UI mode overriding defaultMode โ€” and how to see your real rules with /permissions.
new
๐Ÿšฆ
"Server is temporarily limiting requests (not your usage limit)"?
The 529 overload vs. a real usage limit vs. 429 acceleration limits โ€” how to tell them apart, confirm with /usage, and what you actually can (and can't) do.
new
๐ŸŽญ
Opus 4.8 fabricates tool results?
When Opus 4.8 reports output for a tool that never ran โ€” the parallel-cancellation trigger, how to spot a fabricated "done", and the operator-side fixes (#63538, #63884).
new
๐Ÿ”Ž
Fabrication / false-completion self-audit
When Claude Code says "done" or "tests passed" โ€” would your setup catch it if that weren't true? 8 questions โ†’ a 0-100 score for your defenses, with the hook pattern that closes each gap (#33781, #44955, #27430).
new
๐Ÿšซ
Blocked as a "cyber" policy violation?
Legitimate firmware/sysadmin/security work false-positived, then the whole session dies and bills you for the restart. Why it happens, how to keep working, and the refund framing (#64405, #61185).
new
โšก
3 Hooks That Make Claude Code Faster
Auto-approve safe git, project reads, and test runs. ~60% fewer permission prompts.
speed
๐Ÿ›ก๏ธ
5 Hooks Every User Should Install
rm -rf blocker, force-push guard, secret leak prevention, compaction breaker, token saver. Copy-paste ready.
guide
๐Ÿ—‘๏ธ
Stop Claude Code from Deleting Your Files
50 GB destroyed, SSH keys wiped, production databases killed. One hook prevents all of it.
critical
๐Ÿ’€
Auto-Compact Death Spiral Fix
15+ compactions overnight consumed entire budget. Circuit breaker hook stops it in 30 seconds.
critical
๐Ÿง 
Extended Thinking: 16M Tokens in 25 Min
Thinking phase consumed entire quota with no output. Stall detector hook catches it early.
critical
ๆ—ฅๆœฌ่ชžใ‚ฌใ‚คใƒ‰ โ€” ๅฎŸ้š›ใฎไบ‹ๆ•…ใ‚’้˜ฒใ
๐Ÿ”“
ๆจฉ้™ใƒซใƒผใƒซใŒๅŠนใ‹ใชใ„ใƒปๆฏŽๅ›ž็ขบ่ชใŒๅ‡บใ‚‹ใจใ
allow/deny ใ‚’ๆ›ธใ„ใŸใฎใซ็„ก่ฆ–ใ•ใ‚Œใ‚‹ใ€‚่จญๅฎšใ—ใŸใคใ‚‚ใ‚Šใงๅฎˆใ‚‰ใ‚Œใฆใ„ใชใ„ใฎใฏใ€ใƒซใƒผใƒซใŒ็„กใ„ใ‚ˆใ‚Šๅฑ้™บใ€‚Windows ใฎใƒ‘ใ‚นใฎๆญฃ่ฆๅŒ–ใƒปๅ„ชๅ…ˆ้ †ไฝใƒปใƒขใƒผใƒ‰ใฎไธŠๆ›ธใใฎๅŽŸๅ› ใจใ€/permissions ใงใฎ็ขบ่ชใฎไป•ๆ–นใ€‚
ๆ—ฅๆœฌ่ชž
โณ
ๅˆฉ็”จๆž ใŒใ™ใๅฐฝใใ‚‹ใจใ
$200 ใ‚’ๆ‰•ใฃใฆไฝœๆฅญใฎ้€”ไธญใง็ท ใ‚ๅ‡บใ•ใ‚Œใ‚‹ๅ‰ใซใ€‚ไฝ•ใŒๆž ใ‚’้ฃŸใฃใฆใ„ใ‚‹ใ‹่ชฟในใฆ้•ทๆŒใกใ•ใ›ใ‚‹ใ€ๅ…ฌๅผใซๅŸบใฅใๆคœ่จผๆธˆใฟใฎๆ–นๆณ•ใ€‚
ๆ—ฅๆœฌ่ชž
๐Ÿ’ธ
่ชฒ้‡‘ใฎๆšด่ตฐใ‚’้˜ฒใ
ๅˆฉ็”จๆž ใ‚’ๆ•ฐๅˆ†ใงไฝฟใ„ๅˆ‡ใ‚‹ๅ‰ใซใ€ใƒˆใƒผใ‚ฏใƒณใจ Actions ใฎๆšด่ตฐใ‚’ๆญขใ‚ใ‚‹ใ€‚
ๆ—ฅๆœฌ่ชž
๐Ÿ—‘๏ธ
rm -rf ใงใƒ•ใ‚กใ‚คใƒซใŒๆถˆใˆใ‚‹ๅ‰ใซ
Claude Code ใฎ rm -rf ไบ‹ๆ•…ใ‚’ใ€ๅฎŸ่กŒใฎๅ‰ใซ็ขบ่ชใงๆญขใ‚ใ‚‹ใ€‚
ๆ—ฅๆœฌ่ชž
๐Ÿ’ฃ
ๆœฌ็•ชใƒ‡ใƒผใ‚ฟใƒ™ใƒผใ‚นใ‚’ๆถˆใ•ใ›ใชใ„
DROP DATABASE / DELETE ใฎๆšด่ตฐใ‚’ใ€ๅฎŸ่กŒใฎๅ‰ใซๆญขใ‚ใ‚‹ใ€‚
ๆ—ฅๆœฌ่ชž
โ†ฉ๏ธ
git reset --hard ใงไฝœๆฅญใŒๆถˆใˆใ‚‹ๅ‰ใซ
ๆœชใ‚ณใƒŸใƒƒใƒˆใฎๅค‰ๆ›ดใŒๆถˆใˆใ‚‹ไบ‹ๆ•…ใ‚’้˜ฒใใ€‚
ๆ—ฅๆœฌ่ชž
๐Ÿ”‘
่ช่จผๆƒ…ๅ ฑใ‚’ๆผใ‚‰ใ•ใ›ใชใ„
้ตใƒปใƒˆใƒผใ‚ฏใƒณใฎ่ชญใฟๅ–ใ‚Šใจๆตๅ‡บใ‚’ๆญขใ‚ใ‚‹ใ€‚
ๆ—ฅๆœฌ่ชž
๐ŸŒ
ๆ€ฅใซ้…ใ„ใƒปๅ›บใพใ‚‹ใƒป่ฝใกใ‚‹
ไธ€ๆ™‚ใƒ•ใ‚กใ‚คใƒซใจใƒญใ‚ฐใฎ่“„็ฉใŒๅŽŸๅ› ใฎใจใใฎใ€ๅŽŸๅ› ใจ็›ดใ—ๆ–นใ€‚
ๆ—ฅๆœฌ่ชž
๐Ÿ”Œ
MCPใŒๅ‹•ใ‹ใชใ„ใƒป็„ก่ฆ–ใ•ใ‚Œใ‚‹
่จญๅฎšใ—ใŸใฎใซใƒ„ใƒผใƒซใŒๅ‡บใชใ„ใ€‚ๆœ€ๅคงใฎๅŽŸๅ› ใฏๆ‰ฟ่ชๅพ…ใกใ€‚/mcpใงๅˆ‡ใ‚Šๅˆ†ใ‘ใ‚‹ๆ‰‹้ †ใ€‚
ๆ—ฅๆœฌ่ชž
๐Ÿšซ
ใ‚ขใ‚ซใ‚ฆใƒณใƒˆใŒ็ช็„ถๅœๆญขใ•ใ‚ŒใŸๆ™‚ใซ
ๅœๆญขใƒปๅ‡็ตใฎๅŽŸๅ› ใจๅฏพๅ‡ฆใ€‚ๅ…ฌๅผใฎๅ‡บๅ…ธใคใใ€‚
ๆ—ฅๆœฌ่ชž
๐Ÿ›ก๏ธ
ใ€ŒUsage Policy้•ๅใ€ใงๆญขใพใ‚Š็ถšใ‘ใ‚‹
ๅ›žๅพฉใงใใ‚‹ใ‹ใ€ๅ ฑๅ‘Šใ™ใ‚‹ใ—ใ‹ใชใ„ใ‹ใ‚’ๅˆ‡ใ‚Šๅˆ†ใ‘ใ‚‹ใ€‚
ๆ—ฅๆœฌ่ชž
๐Ÿ”
ๅฎŸ้š›ใซใฉใฎใƒขใƒ‡ใƒซใงๅ‹•ใ„ใŸใ‹
ๅ›บๅฎšใ—ใŸใฏใšใฎใƒขใƒ‡ใƒซใŒๆบใ‚Œใ‚‹ใจใใ€ใƒญใ‚ฐใ‹ใ‚‰ๆคœ่จผใ™ใ‚‹ใ€‚
ๆ—ฅๆœฌ่ชž
โœ…
ๅฎ‰ๅ…จ้‹็”จใฎ็ทใพใจใ‚
ไบ‹ๆ•…ใ‚’้˜ฒใ่จญๅฎšใฎๅ…จไฝ“ๅƒ๏ผˆๆ—ฅๆœฌ่ชž๏ผ‰ใ€‚
ๆ—ฅๆœฌ่ชž
Tools & Documentation
โฎ๏ธ
/rewind Deleted My Code โ€” Recover It
Pressed Esc Esc and the default "Restore code and conversation" wiped your edits (#64615)? Exactly what /rewind can and can't touch, how to recover from git now, and the free hook that makes any rewind recoverable.
new
๐Ÿ…
Safety Scorecard
Check the protections you have, get an honest X/8 coverage card you can screenshot and share. Runs in your browser.
new
๐Ÿ”—
AGENTS.md Interop Scorecard
Does every AI tool actually read your one AGENTS.md? Get an honest X/6 interop score you can screenshot and share. For the #6235 pain.
new
๐ŸŽฏ
Attack Simulator
Paste your settings.json. Watch 10 real attack scenarios play out. See what your hooks catch, and what slips through.
new
โšก
Risk Assessment
5 questions, 30 seconds. How exposed is your Claude Code setup? Based on 90 real incidents.
๐Ÿ“‹
Incident Tracker
90 real safety incidents from GitHub Issues. Filter by category, severity, and date.
๐Ÿš€
Getting Started
Safe in 5 minutes. Step-by-step for beginners. No coding required.
start here
๐Ÿ“Š
Token Checkup
Max Plan running out too fast? 5 questions to diagnose why. Free.
popular
๐Ÿ”ฌ
Token Audit
Paste /cost output + settings.json for deep analysis. Cache efficiency, safety score, hook recommendations.
NEW
๐Ÿ”
Opus 4.7 Safety Scanner
Paste settings.json โ†’ instant check for 7 known Opus 4.7 vulnerabilities.
NEW
๐Ÿšจ
Opus 4.7 Survival Guide
4x token burn, 50GB data loss, classifier bugs. Hooks and fixes for every known issue.
NEW, April 2026
๐Ÿ’€
Data Loss Crisis Report
65+ bugs tracked. 50GB+ lost. Classifier failure, cache destruction, 4x token burn. Full analysis.
NEW
โฌ‡๏ธ
Opus 4.7 Downgrade Guide
Pin Claude Code to Opus 4.6. 4 methods: CLI, settings.json, project config, alert hook.
NEW
๐Ÿ’ฐ
Opus 4.7 Cost Estimator
How much is the 4.7 upgrade costing you? Input your usage โ†’ estimated cost increase.
NEW
๐Ÿ“‰
Token Optimization Guide (English)
Cut your token bill in half. 800 hours of data. CLAUDE.md patterns, hooks, model selection. Opus 4.7 updated.
NEW
๐Ÿ’ด
Token Saving Guide (ๆ—ฅๆœฌ่ชž)
800ๆ™‚้–“ใฎ้‹็”จใƒ‡ใƒผใ‚ฟใซๅŸบใฅใใƒˆใƒผใ‚ฏใƒณ็ฏ€็ด„ใ‚ฌใ‚คใƒ‰ใ€‚Opus 4.7ๅฏพๅฟœใ€‚
new
๐Ÿ“
CLAUDE.md Guide
3 rules to cut token costs by 40%. Before/after examples and templates.
new
๐Ÿ”ฌ
Cache Health
Paste /cost output โ†’ instant cache diagnosis. Detects #46917 inflation bug.
๐Ÿท๏ธ
Version Check
Is your Claude Code version affected by cache inflation (#46917) or TTL regression (#46829)?
new
๐Ÿ›ก๏ธ
Security Checkup
6 questions to find vulnerabilities. Based on $1,800+ in real losses (April 2026).
new
๐Ÿ”
Safety Audit
Score your Claude Code setup out of 100. Find gaps and get fix suggestions.
interactive
โœˆ๏ธ
Pre-Flight Checklist
14-point checklist before autonomous operation. Interactive, printable, shareable.
new
๐Ÿณ
Recipes
Real problems โ†’ copy-paste solutions. Permission fatigue, silent edits, syntax errors, each with a working hook.
new
๐Ÿ”
Validator
Paste your settings.json โ†’ get instant score, error detection, and improvement suggestions.
new
๐Ÿ”
Permission Checker
Paste settings.json โ†’ find broken paths, missing scripts, Windows backslash issues. Fix "Permission denied".
new
๐ŸŽฎ
Playground
Write hooks, test with sample inputs, see results instantly. Browser-based hook IDE.
new
๐Ÿ“‹
Cheat Sheet
30+ copy-paste hook patterns. Block, approve, monitor, with one-click copy.
reference
๐ŸŽฏ
Hook Selector
Answer 5 questions. Get your personalized safety hook setup in 30 seconds.
wizard
๐Ÿ”Ž
Symptom Search
Type the error message or version you are hitting. Searches 109 incident write-ups, fix recipes, and prevention hooks.
search
๐Ÿ”
Hook Gap Analyzer
Paste your settings.json. Find which safety hooks you're missing. Get install commands.
new
โœ…
settings.json Validator
Detect common hook configuration mistakes: wrong exit codes, missing jq, invalid event types.
new
๐Ÿ“˜
Claim-Verify Handbook ($19) โ€” live since 2026-05-22
130 case studies (15 main + 115 appendix D) of Claude Code claiming success while the underlying action failed silently. 14 operator-side defense hooks + 5 detection tools (all MIT, all tested). Chapter 1 free as a Gist preview.
live
๐Ÿ“–
Token Book (ยฅ2,500)
Cut token consumption in half, save $20-80/month on Max plan. 10 chapters, 800+ hours of data, copy-paste templates. Ch.1 free.
April 2026
๐Ÿ“•
Incident Postmortems, FREE Preview
Incident 1 of 10: The 1h to 5m Cache TTL Silent Downgrade. Full book live on Gumroad since 2026-05-05 (see product page for current price), 10 production Claude Code failures reverse-engineered from Issues #46829/#52648/etc with detection hooks.
free preview
๐Ÿ“ฐ
CC Safety Lab, Monthly Membership
Monthly Claude Code incident digest. 4-8 new incidents per issue, fix-it hooks, safety checklist, product updates. ยฅ500/month, first month free. Delivered around the 15th of each month; each issue has a free preview chapter.
ยฅ500/mo
๐Ÿ“–
CC Safety Lab โ€” May 2026 Part 1 Full Preview (HTML)
Free 6,000-character HTML preview of the May 2026 Safety Lab Part 1: nine incident articulations (cache_control, usage display, Cowork, Worktree, Skill, UI, client switching, child worker identity leak, 2.1.126 silent regression). HTML companion to the Gist preview; better suited for non-technical readers comparing the depth of monthly content.
free preview
๐Ÿ“…
CC Safety Lab โ€” June 2026 Part 1 Full Preview (HTML)
Free 6,500-character HTML preview of the June 2026 Safety Lab Part 1: the June 15 billing cliff preparation guide with 7 ordered steps (receipt-notice readiness, automation inventory, current-usage baseline, pre-flight check protocol, ceiling-stop instrumentation, official-key switch decision, before/after diff capture) and 3 warning omens (OAuth-key misuse, asking the model about billing, missing the receipt email). Pairs with the May 2026 preview for back-to-back depth comparison.
free preview ยท 15 days to cliff
๐Ÿ“Š
CC Safety Lab โ€” July 2026 Part 1 Full Preview (HTML)
Free 6,500-character HTML preview of the July 2026 Safety Lab Part 1: the overengineering complexity trap, articulated from thecatfix's 16-month 62-issue corpus (2,109 plan documents, 19% implementation rate, 968M tokens over 4 months, 60 agents spawned in 5 days then deleted). Three self-checks (plan-to-implementation ratio, agent-to-output ratio, design-doc-to-runtime ratio) and three warning omens (future-extension vocabulary frequency, daily agent-spawn spike, articulation-verb accumulation). Detection requires cumulative metrics โ€” single-incident inspection cannot surface this failure mode.
free preview ยท 7-min read
๐Ÿ“Š
CC Safety Lab โ€” August 2026 Part 1 Full Preview (HTML)
Free 6,500-character HTML preview of the August 2026 Safety Lab Part 1: the Pro / Max 5x / Max 20x quota anomaly cluster (10 issues totaling ~2,200 reactions). Three independent root-cause paths (server-side cache_creation inflation per Issue #46917 โ€” 49,726 to 69,922 tokens between v2.1.98 and v2.1.100; parallel sub-agent fan-out; session-start context cascade). Three self-diagnostic steps (ccusage rollups, jsonl jq analysis, per-minute token rate calculation) and three defensive hooks (cache-creation-drift-detector, quota-anomaly-detector, session-rate-monitor) covering the three paths independently.
free preview ยท 7-min read
๐Ÿ“…
June 15 Billing Cliff โ€” 16-Day Daily Checklist
Day-by-day preparation guide for the 2026-06-15 Claude Code Pool 1 / Pool 2 billing split. Four phases (baseline / decision framework / preparation / final readiness), one 5-10 minute task per day from May 30 through June 14, plus a Day 0 action plan. Industry signals: 12x cost multiplier for light loads, 150x+ for heavy Sonnet automation. Pairs with Migration Playbook for the decision framework.
urgent ยท 16 days
๐Ÿ’ณ
Billing Incident Early Detection โ€” 5 Verifications
Six-issue corroborated cluster: unauthorized Gift Max charges, silent Pro/Max downgrades, double-charges, promo misapplication. Three pattern axes (A: unauthorized Gift Max, B: silent downgrade + double-charge, C: promo misapplication). Five user-side early-detection steps from monthly check through chargeback escalation. Issues #51168/#62461/#41581/#56895/#61339/#54133 cited; corroborated against Capterra/The Register/Trustpilot reviews.
incident response
๐Ÿ“š
Operations Suite: Three books for three layers
Curation page for Migration Playbook (decide), Token Book (cost control), and Incident Postmortems (forensics). Reading paths for the burn debugger, switch decider, and incident survivor. Each book is sold separately on Gumroad. Live since 2026-05-05.
new
โ“
Which book should you read first?
Five-question interactive quiz. Two minutes. No email. Tells you whether to start with Migration Playbook, Token Book, or Incident Postmortems based on your situation right now.
free quiz
๐ŸŽฏ
Which book selector v2 โ€” 4 books + monthly add-on
Updated 5-question selector that covers all four current paid books (Migration Playbook, Claim-Verify Handbook, Sub-Agent Observability Handbook, Incident Postmortems) and surfaces the CC Safety Lab monthly subscription as an add-on when applicable. Browser-only, no signup.
free selector
๐Ÿ—บ๏ธ
Operations Pain Map
Twelve specific operational pains observed in May 2026 (5-hour quota burn, sub-agent identity leak, DROP DATABASE incident, hybrid delegation, and more) with each one mapped to a free article and the book that solves it.
free guide
๐Ÿ”€
Claude Code alternatives in May 2026
Cursor, Cline, Codex CLI, Aider, DeepSeek wrapper compared on release cadence, pricing, ideal user. Plus the five questions that decide stay vs hybrid vs switch.
free comparison
๐Ÿ’ธ
Opus 4.7 Cost Impact
Calculate how much Opus 4.7 bugs are costing you. Shows hidden token overhead from 5 known issues.
new
โšก
Effort Level Calculator
How much are you overpaying? Opus 4.7 defaults to xhigh, switch to save 30-50%.
new
๐Ÿ”Œ
Outage Recovery
3 hooks that saved work during April 6-8 outages. Auto-checkpoint, session backup, periodic commit.
guide
๐Ÿ’ฐ
Cost Calculator
Opus 4.6 vs 4.7 cost comparison (+35%). See where tokens go. 800h data.
new
๐Ÿ“
CLAUDE.md Analyzer
Paste your CLAUDE.md. See token cost per turn, find waste patterns, get optimization tips.
diagnostic
๐ŸŽฏ
Quality Hooks
Detect lazy rewrites, skipped reads, and untested commits. Based on 6,852-session analysis.
guide
๐Ÿ”ง
Hook Builder
Describe what you want in English. Get a working hook + settings.json entry.
generator
โšก
By Example
10 real GitHub Issues. See the before (disaster) and after (hook saves it).
learn
๐Ÿ“Š
Hook Matrix
All hooks in a sortable, filterable table. Find exactly what you need.
interactive
๐Ÿ“‰
Token Consumption Fix
Max Plan running out too fast? Diagnose and fix hidden token sinks with two hooks.
popular
โ“
FAQ
15 questions answered. How hooks work, performance, debugging, and more.
reference
โœ…
Auto-Approve Guide
Skip permission prompts for safe commands. Read-only, build tools, git, with PermissionRequest hooks.
popular
๐Ÿ”‘
Credential Protection
Three-layer defense: block reading .netrc/.npmrc, stop credential hunting, catch hardcoded secrets.
security
โš™๏ธ
Settings Reference
Every settings.json field explained. Hooks, permissions, env, models.
reference
โšก
Events
PreToolUse, PostToolUse, Stop, UserPromptSubmit, when each fires and what it can do.
reference
๐Ÿšฆ
Exit Codes
Exit 0 = allow. Exit 2 = block. Plus the bash syntax error trap that can lock your session.
critical
๐Ÿ”ง
Troubleshooting
10 common problems with step-by-step fixes. Hook not firing? Start here.
debug
๐Ÿค”
Which Hook?
Answer 2-3 questions โ†’ get the exact hook you need. No knowledge required.
interactive
๐Ÿงฑ
10 Patterns
Block, Approve, Warn, Log, Validate, Protect, Limit, Checkpoint, Enforce, Recover.
reference
โš ๏ธ
Common Mistakes
7 mistakes that cause real incidents. Syntax error lockout, broad matchers, missing jq.
debug
โš–๏ธ
Compare
Manual setup vs cc-safe-setup vs do nothing. 15 criteria compared.
decision
๐Ÿ”€
Migration Guide
Moving from Cursor, Windsurf, Aider, or Copilot? Map your safety setup.
guide
๐ŸŽฎ
Playground
Type any command, see which hooks fire. Test before you install.
interactive
๐Ÿ”ง
Fix git show --no-stat
Auto-fix the invalid --no-stat flag bug. 44 reactions on GitHub.
fix
๐Ÿ“‹
CLAUDE.md Rule Protection
Stop rules from being ignored after compaction. Re-inject CLAUDE.md automatically.
compliance
๐ŸงŠ
Disable Auto-Compaction
Block or conditionally control auto-compaction. 42 reactions.
control
๐ŸŒ
WebFetch Domain Fix
Fix broken domain:* wildcard matching in sandbox mode. 46 reactions.
fix
๐Ÿš
.bashrc Agent Hang Fix
Detect .bashrc patterns that freeze agent-spawned shells (Angular, nvm, conda).
fix
๐Ÿ”’
Bash Domain Allowlist
Block curl/wget to unauthorized domains. Defense-in-depth for sandbox gaps.
fix
Also Available
GitHub Repository
Source code, issues, releases. Star if useful.
npm Package
MIT licensed. Zero dependencies.
Hook Registry
70 hooks from 7 projects. Search, browse, install.
Need expert help? Get a professional safety audit
Full review of your settings.json, CLAUDE.md, and hooks. Custom recommendations from 800+ hours of real operation.
Safety Audit (from $50) โ†’
Go deeper, written by a non-engineer who spent 800+ hours with Claude Code
Real incidents, real data, real fixes. Not theory, everything comes from actual autonomous operation.
Claim-Verify Handbook ($19) โ€” live โ†’ Token Book ยฅ2,500, Cut consumption in half โ†’ Safety Guide ยฅ800, 4 copies sold โ†’