DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Context Budget — DeepSeek Harness 插件(DSH Plugin)
← Plugins
C

context-budget

Context Budget

像管理预算一样使用上下文窗口处理长期任务:通过分阶段读取来加载文件(先读开头,按需读取各部分,完整读取前先进行定向搜索),一旦确认事实就立即将其记录到 notes file 中,避免重复推导,并在检查点重新陈述当前任务计划——这决定了你能否完成长期任务,而不是在完成 80% 时陷入困境

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:ChenneyZhuang/context-budget#8b7b172c93436f6d122f9392780ba7c04de3929f
README兼容性版本

说明

像管理预算一样使用上下文窗口处理长期任务:通过分阶段读取来加载文件(先读开头,按需读取各部分,完整读取前先进行定向搜索),一旦确认事实就立即将其记录到 notes file 中,避免重复推导,并在检查点重新陈述当前任务计划——这决定了你能否完成长期任务,而不是在完成 80% 时陷入困境。

兼容性与来源证明

Context Budget 以 context-budget 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
github
Registry 更新时间
2026/9/14

版本

0.1.0stable
2026/9/14

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/9/14
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

相关插件

继续浏览 memory-context 分类下经过校验的插件。

Mnemondsh-mnemon面向 DeepSeek Harness 的可组合三层记忆控制平面:持久化运行时上下文、可搜索的项目文档、可插拔的长期记忆、受保护的策略、WebUI 和无头工具。Memory@furongjun1999/dsh-memory灵枢(Lingshu·líng shū)DeepSeek Harness 插件:完整大脑——长期记忆/知识飞轮/自我认知/递归反思接入 DSH,对话自动沉淀进 md_cg 认知图(md 文档)Rewind Plugindsh-rewind-plugin同窗口内对话回退并恢复工作区文件Meow Memorymeow-memoryDeepSeek Harness 的跨会话项目记忆:七层 SQLite 记忆、首轮快照注入、每条消息的关键词命中、memory_remember/search/project 工具、带 reflection-fold UI 的自动反思,以及由空闲触发的梦境整合

README

context-budget 上下文预算

Long tasks do not fail at the start; they fail at 80%, when the window is full of re-read files and the plan is somewhere in the scrollback. Manage the window like a budget.

长任务不是败在开头,是败在 80%——窗口里塞满重读的文件,计划躺在回滚的聊天里。把上下文窗口当预算管。

Why / 为什么

An agent's working memory is the context window, and the two ways it dies on long tasks are re-reading (loading the same 5,000-line file three times because nothing was noted) and re-deriving (recomputing decisions already made three turns ago). Both are budget failures: the token was spent once and bought nothing durable. The cure is mechanical — graduated reads, notes to disk, checkpoint restatement.

agent 的工作记忆就是上下文窗口,长任务死法有两种:重读(同一份 5000 行文件读了三遍,因为什么都没记)和重推导(三轮前定过的决策重新算一遍)。这都是预算失败:token 花了一次,没买到任何耐用的东西。解法是机械的——分层读取、落盘记笔记、检查点复述。

The three habits / 三个习惯

  1. Graduated reads. Head first (first ~100 lines to learn the shape), then the specific section, then targeted search. A full read is a deliberate purchase, made when the head read proves the middle matters.
  2. Notes beat memory. Facts, decisions, file paths, and gotchas land in a working notes file the moment they are established — one line each. The notes file survives compaction; the conversation does not.
  3. Checkpoint restatement. At phase boundaries (before a long build, after a big discovery), restate the plan and current state in three lines. This is the anchor that survives when the window is compacted mid-task.

What it changes at 80% / 80% 处的差异

Without the budget: the agent re-reads, contradicts its earlier decisions, and the final third of the task runs on fumes. With it: the plan is three lines long, every established fact is in the notes file, and the last stretch reads two small files instead of recalling ten.

没有预算:重读、推翻自己三轮前的决定、最后三分之一靠残血硬撑。有预算:计划只有三行,每个已确立的事实都在笔记文件里,最后一程是读两个小文件,而不是回忆十个。

Install / 安装

npx skills add ChenneyZhuang/context-budget

Per-agent paths: COMPATIBILITY.md. MIT. v0.1.0.

各 agent 安装路径见 COMPATIBILITY.md。MIT 许可,v0.1.0。