設定範本

Context Budget Tuning

Trim context, raise summarisation aggressiveness on long sessions.

安裝

manual
merge into ~/.claude/settings.json

把這段加入 Claude Code MCP 設定,或直接透過 CLI 執行。

介紹

Settings for projects where session length matters more than perfect recall: aggressive compaction thresholds, shorter context history retention.

常見使用情境

  • Long-running sessions
  • Cost-sensitive teams
  • Multi-day projects

標籤

contextbudgetoptimization