Came across this today:
Interesting Tidbids#
From “B. CLAUDE CODE CLI WORKAROUNDS”: add this to ~/.claude/settings.json
{
"model": "sonnet",
"env": {
"MAX_THINKING_TOKENS": "10000",
"CLAUDE_AUTOCOMPACT_PCT_OVERRIDE": "50",
"CLAUDE_CODE_SUBAGENT_MODEL": "haiku"
}
}Also from B:
- Create a
.claudeignorefile - Keep
CLAUDE.mdunder 60 lines - Install the read-once hook (below)
/clearand/compactaggressively- Install monitoring tools (below)
- Save explanations locally:
claude "explain the database schema" > docs/schema-explanation.md
Read-once hook:
curl -fsSL https://raw.githubusercontent.com/Bande-a-Bonnot/Boucle-framework/main/tools/read-once/install.sh | bashMonitoring tools:
npx ccusage@latest— token usage from local logs, daily/session/5hr window reportsccburn --compact— visual burn-up charts, shows if you’ll hit 100% before reset. Can feed ccburn –json to Claude so it self-regulatesClaude-Code-Usage-Monitor— real-time terminal dashboard with burn rate and predictive warningsccstatusline/claude-powerline— token usage in your status bar
