mksglu/context-mode
将工具输出移出编程智能体的上下文窗口
解决什么问题
智能体读文件、跑命令、抓网页时,每次结果都会整段进入上下文窗口,挤占本就不多的空间。Context Mode 把这些工作放到本地沙箱里执行,只把智能体需要的那部分交给它。
- 本地沙箱加 SQLite 索引
- 索引与数据都留在本机
- 零遥测,安装后可离线
适用客户端
- claude-desktop
- vscode
- cli
安装命令
npm i -g context-mode npx @context-mode/cli 安全标记
- 需要 API Key: 未标注
- 本地运行: 是
- 访问网络: 是
- 需要 root: 否
维护状态
| 最近提交 | 2026-12-06(0d) |
|---|---|
| Star | 34,875 |
| 待处理 issue | 15 |
| 协议 | — |
| 已归档 | 否 |
| 数据抓取于 | 2026-12-06 |
原文摘录
以下为仓库 README 原文,未做改写,用于核对上面的摘要。
The Context Mode plugin runs that work in a local sandbox, keeps the full output in a SQLite index on your machine, and gives the agent the part it asks for.