context-mode logo
context-mode
★ 34.2k
vs
planning-with-files logo
planning-with-files
★ 28.1k

context-mode vs planning-with-files

context-mode:在MCP环境中,每次工具调用都会将原始数据倾倒到上下文窗口中,迅速耗尽空间并导致代理忘记正在进行的任务。Context Mode是一个MCP服务器,它通过沙盒化工具输出以显著减少上下文使用,在SQLite中跟踪会话事件以实现连续性,并提倡“以代码思维”来最小化LLM内部的数据处理,从而解决此问题。;planning-with-files:Planning with Files 在项目 Markdown 文件中保存计划、发现与进度。受支持宿主的已启用生命周期钩子恢复选定计划上下文,会话记录回放则需要显式追赶模式。

01

简评

context-mode logo
context-modeMemory & Context · ★ 34.2k
何时选择它(优势与适用):
  • 你的会话常被工具输出塞满,比如 Playwright 快照、GitHub issue 列表或日志。
  • 想让工作状态(编辑、git 操作、任务、决定)在上下文压缩后保留下来,又不重新灌回窗口。
  • 你用的智能体支持 hook,工具路由可以自动完成。
何时考虑替代方案:
  • 你需要 OSI 认可的开源许可:它采用 Elastic License 2.0,限制了作为托管服务提供等用法。
  • 你的会话很短,很少碰到上下文上限。
  • 你不希望 hook 改变智能体工具的行为。
planning-with-files logo
planning-with-filesMemory & Context · ★ 28.1k

在磁盘上跟踪长期编程任务。

02

并排对比

字段
context-mode logocontext-mode
planning-with-files logoplanning-with-files
分类
记忆与上下文
记忆与上下文
Stars
★ 34.2k
★ 28.1k
许可证
Elastic License 2.0
MIT
安装方式
npm install -g context-mode
npx skills add OthmanAdi/planning-with-files --skill planning-with-files
更新时间
1天前
1周前
开源
是
是
标签
antigravity, Claude, Claude Code
智能体技能, 自主智能体, Claude
03

功能特性

context-mode logocontext-mode
01上下文节省:沙盒工具将原始数据隔离在上下文窗口之外,实现高达98%的上下文节省。
02会话连续性:在SQLite中跟踪每次文件编辑、Git操作、任务和用户决策,实现无缝会话恢复。
03以代码思维编程:鼓励LLM编程分析而非计算,通过仅记录结果节省100倍上下文。
04批量执行与搜索:通过`ctx_batch_execute`等工具,一次调用即可运行多条命令或进行多次查询。
05高级知识库:使用SQLite FTS5与BM25排名、智能摘要和TTL缓存,实现高效信息检索。
planning-with-files logoplanning-with-files
01维护 task_plan.md、findings.md 与 progress.md。
02生命周期钩子注入选定项目计划上下文。
03提供 Agent Skills 及多个宿主专用插件路径。
04

使用场景

context-mode logocontext-mode
↳深度代码库研究与分析(例如:架构、贡献者、问题)
↳分析Git历史以识别主要贡献者、提交频率和最常更改的文件
↳高效处理大型JSON API、网页或日志,而不会溢出上下文窗口
planning-with-files logoplanning-with-files
↳在磁盘上跟踪长期编程任务。
↳在压缩或清空上下文后继续计划。
↳分别保存研究发现与进度更新。
05

适合场景

context-mode logocontext-mode
最受欢迎时下流行
planning-with-files logoplanning-with-files
最受欢迎
FAQ

常见问题

context-mode 和 planning-with-files 有什么区别?
context-mode 和 planning-with-files 都属于 Memory & Context 类别。context-mode 有 34.2k Stars,planning-with-files 有 28.1k Stars。
context-mode 和 planning-with-files 哪个更好?
最佳选择取决于你的具体需求。深度代码库研究与分析(例如:架构、贡献者、问题) 时选 context-mode,在磁盘上跟踪长期编程任务。 时选 planning-with-files。
context-mode 是免费的吗?
是的,context-mode 在 GitHub 开源(Elastic License 2.0)。
planning-with-files 是免费的吗?
是的,planning-with-files 在 GitHub 开源(MIT)。
推荐云部署
Ad

在 DigitalOcean 上一键部署

为你的 MCP 服务、Docker 容器与智能体提供即开即用云服务器,新用户立享 $200 免费额度(60天有效)。

立即领取 $200 免费额度
→

相关链接