home/coding/token-diet

Token Diet

GPTClaudeDeepSeek··1,312 copies·updated 2026-07-14
token-diet.prompt
# Queue task: Token diet — 精簡 session-load + Result template + dedup MEMORY

## Execution profile
model: sonnet, effort: medium

---

## Commit 1 — SessionStart briefing 瘦身
改 `scripts/session-briefing.sh`:
- RESUME.md 前 30 行 → 前 10 行
- git log -5 → -3
- 移除「lessons pending」段(user 要看自己跑 `lessons.sh`)
- 最新 archive Result block → 只印 Status 那一行

驗證:開新 session 看輸出長度明顯縮短,重要資訊仍在。

## Commit 2 — Result block template 精簡
改 `.claude/commands/inbox.md` + `.claude/commands/auto.md` 的 Result 規範:

**舊**:Status + Verification (多行) + Commits + Push + Blockers
**新**:

when to use it

Community prompt sourced from the open-source GitHub repo woodylin0920-bit/Tandem (MIT). A "Token Diet" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

codingcommunitydeveloper

source

woodylin0920-bit/Tandem · MIT