mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-05 08:43:29 +08:00
Merge pull request #210 from Warshoow/docs/token-optimization-guide
docs: add token optimization guide
This commit is contained in:
20
README.md
20
README.md
@@ -954,6 +954,26 @@ Agent Teams spawns multiple context windows. Each teammate consumes tokens indep
|
||||
|
||||
## ⚠️ Important Notes
|
||||
|
||||
### Token Optimization
|
||||
|
||||
Hitting daily limits? See the **[Token Optimization Guide](docs/token-optimization.md)** for recommended settings and workflow tips.
|
||||
|
||||
Quick wins:
|
||||
|
||||
```json
|
||||
// ~/.claude/settings.json
|
||||
{
|
||||
"model": "sonnet",
|
||||
"env": {
|
||||
"MAX_THINKING_TOKENS": "10000",
|
||||
"CLAUDE_AUTOCOMPACT_PCT_OVERRIDE": "50",
|
||||
"CLAUDE_CODE_SUBAGENT_MODEL": "haiku"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Use `/clear` between unrelated tasks, `/compact` at logical breakpoints, and `/cost` to monitor spending.
|
||||
|
||||
### Customization
|
||||
|
||||
These configs work for my workflow. You should:
|
||||
|
||||
Reference in New Issue
Block a user