Dev Radar
Support
LiveUpdated 2026-11-25 18:41 UTC

Claude Code 用着用着,上下文就被日志塞满了?

Claude Code 用着用着,上下文就被日志塞满了? 可以试下 GitHub 上 3.4 万星的 Context Mode: 把工具输出先留在本地,让 AI 按需取回相关结果。 → 日志、网页、JSON:先处理、建索引 →…

This is a dev post classified by AGK Intelligence as AI dev tools (a tool drop), kept by the Dev Radar because it carries real work, not commentary.

Claude Code 用着用着,上下文就被日志塞满了? 可以试下 GitHub 上 3.4 万星的 Context Mode: 把工具输出先留在本地,让 AI 按需取回相关结果。 → 日志、网页、JSON:先处理、建索引 → 查问题:只取相关片段 → 需要细节:再检索原文 相当于给 AI 配一个可搜索的资料室。 项目方的一组调试会话基准: 281,261 B 原始输出 → 3,266 B 进入上下文。 少了 98.8%。这是输出字节量,不是总费用降幅,也不是我的实测。 Claude Code 用户这样装,需要 Node.js ≥ 24.15.0: claude plugin marketplace add mksglu/context-mode claude plugin install context-mode@context-mode 重启后运行 /ctx-doctor 检查。 然后复制这段,拿自己的项目试一次 ↓ 用 Context Mode 分析本项目最近一次测试日志。先确认日志位置;将完整输出留在本地索引,仅返回失败用例、关键错误和对应位置。证据不足时继续检索,不要猜。最后列出建议排查顺序,先不修改代码。 跑完输入 /ctx-stats,看它实际挡住了多少输出。 经常查日志、读长文档、处理大 JSON 的,收藏这一条,下次上下文告急时用 🔗 http

Posted by Anita AGI/acc (12.5k followers) 8 days ago · 2 likes · 446 views · view the original post on X. Kept by the Dev Radar as AI dev tools. Tools mentioned: context-mode.

More dev work like this

Every post is read and classified by AGK Intelligence: what it is, which market it belongs to, and whether the link is a real tool. 13.4k posts from 5k X accounts over the last 21 days, 10.1k tools, 12 markets. New posts are collected several times an hour and the full ranking is recomputed every hour — last update 2026-11-25 18:41 UTC. Full method.