Claude Code成本与额度约 3 分钟

五份索引干掉开场探索

Pre-index the repo in markdown

要点

  1. 大仓每次开场常先打 10–20 次工具,烧掉 3–5 万 token 才开始干活。
  2. 脚本一次生成 routes、pages、lib、schema、components 五份压缩 Markdown。
  3. CLAUDE.md 加一行让它先读这些索引,少做盲目逛仓库。
  4. 跟帖提醒它只覆盖少数框架;也有人说计划模式省得更多。

原帖开头

Someone on Reddit built a single script that saves 50,000 tokens per Claude Code conversation. Every time you start a conversation, Claude Code spends 10-20 tool calls just exploring your codebase. On large projects, 30-50K tokens gone before any real work begins. The fix is c