-
Notifications
You must be signed in to change notification settings - Fork 4
Home
yurukusa edited this page Apr 14, 2026
·
7 revisions
- Token Checkup — 5-question token waste diagnostic
- Version Check — Is your CC version affected by token inflation?
- Cache Health — Paste /cost output for instant cache diagnosis
- Security Checkup — 6-question vulnerability scan
- Hook Selector — Find your ideal hook set
| Hook | Purpose |
|---|---|
| token-budget-guard | Block when cost exceeds threshold |
| large-read-guard | Warn before reading 100KB+ files |
| session-agent-cost-limiter | Cap agents per session |
| compact-alert-notification | Alert on compaction |
Full guide: Token Book — 10 chapters, 44K words, templates
667 hooks, 9,200+ tests. Docs
- Token Optimization Guide — Free fixes for token waste + known issues (April 2026)
- Claude Code Token FAQ — Common token problems with quick solutions
- CLAUDE.md Best Practices — Write a CLAUDE.md that saves tokens (5 patterns)
cc-safe-setup is an independent operator-side defense toolkit for Claude Code. MIT-licensed hooks and tests. Not affiliated with Anthropic. Issues and PRs welcome on the main repo.
Start here
- Home — repo overview, three defense axes
Defense guides
- Sub-Agent Observability — May 2026 cluster, 4 sub-patterns, 4 hooks
- Token Optimization Guide — free fixes for token waste
- CLAUDE.md Best Practices — 5 patterns for token-efficient CLAUDE.md
Quick reference
- Claude Code Token FAQ — common problems + quick fixes
- Claude Code トークン節約ガイド — 日本語版
Free interactive tools
June 15 cliff
Project