History

feat(claude): compact old threads before they burn through usage (#8144)

Theo Browne committed 2 months ago

Commit c7222ca1 parent 1baf99125 files · +1105 −32Browse files

Showing the changes to docs (1 of 25 files). Show all

Unified · Split

docs/user/providers-claude.md+12−0
@@ -34,6 +34,18 @@ When you set this field, T3 Code points Claude Code at that directory with the · 33 unmodified lines
3434 `CLAUDE_CONFIG_DIR` environment variable. It does not change `HOME`, so your system keychain and
3535 the rest of your environment stay as they are.
3636
37+## Reduce Context Usage
38+
39+In Settings, open your Claude provider and set **Auto-compact after** to a token count between
40+`100000` and `1000000`. For example, `300000` compacts the conversation into a summary once it
41+reaches about 300,000 tokens, without changing the model's context window. Leave the field
42+empty to keep Claude Code's default behavior.
43+
44+On web and desktop, when you return to an older Claude thread with a large context, T3 Code
45+offers to compact the conversation before you continue. You can also select **Compact context**
46+from the context meter. On every client, you can enter `/compact` in the message composer, and
47+Claude can show its own resume prompt when you continue an old session.
48+
3749 ## Where Claude Skills Are Loaded
3850
3951 T3 Code looks for Claude skills in the Claude config directory's `skills` folder, then

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t