Tag: token-optimization
All the articles with the tag "token-optimization".
-
Some of My Subagents Were Already Grandpas
A CCX quota incident with no guardrails set: subagents bred recursively, one session burned 90% in half an hour, and here is the full forensics and fix.
-
有些 subagent 都當阿公了
一次 CCX 沒設好護欄的額度事故:subagent 遞迴繁殖,一個 session 半小時燒掉 90%,事後鑑識與修法全記錄。
-
The More Rules You Add, the Less Claude Listens — I Sent a Team of Agents to Trim My Setup and Cut 36% of Always-On Context
Late at night I got Opus 4.8, and my weekly quota happened to reset. The first thing I did was put my harness on a diet. A COO student who had burned through 88% of his 1M context made me face one thing squarely: the more rules you add, the less the model listens.
-
規則越加,Claude 越不聽話——派一隊 AI 重整設定,常態上下文省 36%
半夜拿到 Opus 4.8、額度剛好重置,我做的第一件事是減肥我的 harness。一個 COO 學員把 1M 上下文用到 88% 的案例,讓我認真面對一件事:規則加越多,模型反而越不聽話。
-
Digging into Claude Code's JSONL: Manual Context Usage, Cache Types, and Compact Detection
Claude Code's `/stats` only tells you the total token count, but the JSONL files hide a lot more—cache types, compact triggers, image-triggered cache misses. Here are the useful formulas I collected while building cc-audit.
-
挖 Claude Code 的 JSONL:手動算 context 用量、分辨快取類型、偵測 compact
Claude Code 的 `/stats` 只告訴你總 token 數,但 JSONL 檔案裡其實藏著更細的資訊——快取類型、compact 觸發、貼圖 cache miss 都能手動算。這是我最近做 cc-audit skill 時整理出來的幾個實用公式。
-
cc-audit: A Skill That Forces You to Save Claude Code Quota
I turned my viral list of quota-saving tips into a skill. Hand the GitHub link to Claude Code to install, and it'll audit your settings, recent sessions, rules bloat, and context usage, then hand back an actionable fix list.
-
cc-audit:一個強迫你省 Claude Code 額度的 Skill
把我之前整理的一千多讚的省額度技巧全部做成 skill。丟給 Claude Code 安裝後,它會逐條檢查你的設定、近期 session、rules 膨脹、context 用量,給出可執行的修正清單。
-
Claude Code's Cache Crisis: Why Your Quota Burns So Fast
A Reddit user reverse-engineered two official bugs, and combined with the compounding effect of 1M-token context, your quota might be silently burning at 20x the expected rate.
-
Claude Code 的快取危機:為什麼你的額度燒得那麼快?
Reddit 大神逆向工程挖出兩個官方 Bug,再加上百萬 token 上下文的複合效應,你的額度可能在背後被吃掉 20 倍。完整事件始末與修復紀錄。