正在加载视频...

视频加载失败

Save this and check it later If you use Claude Code Desktop, make sure you have these features enabled You’ll use far fewer tokens and keep your context window much cleaner

43,347 次观看 • 3 天前 •via X (Twitter)

16 条评论

VkDream 的头像
VkDream3 天前

虽然我很讨厌A/ 但是不得不说 这个还是很厉害的

PublicAI 的头像
PublicAI3 天前

Good checklist. Enabling those keeps the context window from filling with noise and cuts the token burn on longer Claude Code runs.

TecnoHippie - Roberto Nappe 的头像
TecnoHippie - Roberto Nappe3 天前

Potente! Gracias Daniel!

Daniel San 的头像
Daniel San3 天前

De nada 🫡 y se vienen más tips

Kıvanç Yüksel 的头像
Kıvanç Yüksel3 天前

A cache hit needs the exact same prefix, so the turn you compact is the turn you pay full input rate on whatever survived the compaction. Cheaper across a long session, more expensive right at the cut. Fewer tokens and cheaper aren't the same axis.

Dang 的头像
Dang3 天前

The highest-leverage setting is usually the one that makes the model compress state before the context fills. I’d pair these with a lightweight checkpoint habit so a long run can recover without replaying the whole conversation.

We build Kibble 的头像
We build Kibble3 天前

Settings like these are per person and per machine. One engineer reads this and flips them, the other nine never see the post, so the team bill moves by a tenth of what it could.

Ofek Shaked | AI Engineer 的头像
Ofek Shaked | AI Engineer3 天前

leave every desktop feature on and the window is sludge by message 8. the save is just turning half of that off.

Adam · Arcyton 的头像
Adam · Arcyton3 天前

Context window and token count are the easy wins. The one that moved more for us was logging what each tool actually returned, because a tool that returns nothing costs a full turn and looks identical to one that worked. Do you log tool returns or only tool calls?

Pz Sniper 的头像
Pz Sniper3 天前

Worst advice ever... Omg it doesn't work that way!

DigitalAssetBuzz 🔶 的头像
DigitalAssetBuzz 🔶3 天前

Yes it helps

catman 的头像
catman3 天前

how much token usage did those features cut in your longer Claude Code Desktop sessions? a before-and-after on context size would make this tip much easier to act on.

Andry Dina 的头像
Andry Dina2 天前

I just applied these settings. The context doesn’t seem to have changed much to me—maybe I’m using fewer tokens like you said, but I don’t see it.

MonkeyIn 的头像
MonkeyIn3 天前

Dirty context has burned more of my budget than a weak model ever did. Which of those Desktop toggles cut your spend the most?

Frédéric H. (E/ACC) 的头像
Frédéric H. (E/ACC)3 天前

I don't have the informative little circle at the bottom

ptk 的头像
ptk2 天前

Good reminder: the best token saving is knowing what already sits in the session and we can get that easily with Token Meter:

相关视频