ztl34245881-commits/dsh-task-planner
面向DeepSeek Harness的任务规划与经验肌肉记忆:条件反射式回忆 + LLM能力匹配 + 自动持久化经验教训
项目介绍Project Overview
dsh-task-planner 是 DeepSeek Harness 的任务规划插件,基于经验肌肉记忆工作。输入任务后,代理会检索过往相似方案,由 LLM 评估复用可行性,结合能力目录生成动态分解步骤与风险列表。plan_task 自动写入草稿经验,任务结束更新为已验证,复用 3 次升级为技能。适用于启动复杂任务前规划与复用历史经验。注意:需 llm、shell、tools 服务,且推理模型需充足 maxTokens。
dsh-task-planner is a DeepSeek Harness plugin for task planning with experience muscle-memory. Given a task, the agent recalls past similar solutions, has the LLM evaluate reuse fit against an optional capability catalog, and produces a dynamic decomposed plan with risks. plan_task auto-drafts a Markdown lesson, which the agent verifies with the outcome at loop close; lessons reused three times promote to skills, rejected twice become obsolete. Use it before starting complex work to leverage accumulated experience. Note: it requires the harness llm, shell, and tools services, and reasoning models need generous maxTokens (8k is used internally).
请帮我了解并安装插件:【dsh-task-planner】【https://github.com/ztl34245881-commits/dsh-task-planner】
把上面这条消息直接发给当前会话里的 DSH,让它帮你了解并安装。安装命令不一定准确,发给 DSH 更稳。Send this message to DSH in your current session. CLI install commands may not be accurate across systems — DSH will figure it out for you.
或使用命令行安装(适合开发者)Or use CLI install (for developers)
命令行安装CLI Install
dsh plugin --profile web add github:ztl34245881-commits/dsh-task-planner
把 ztl34245881-commits/dsh-task-planner 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-task-planner
Task planning with experience muscle-memory for DeepSeek Harness (dsh).
Give a task → the agent recalls past similar solutions (condition reflex), evaluates whether they fit, and produces a dynamic plan matched against its capabilities — never hard-coded combos. Every plan auto-drafts a lesson into the experience library; when the task closes, the agent updates the outcome. The more you work, the smarter the reflex.
Features
- 🧠 Experience library (
task_memory save/recall/list): persistent lessons as plain Markdown with signature keywords. Recall uses a 2–3-char sliding-window tokenizer, so "weekly report" still hits a "daily report" lesson. - ⚡ Condition-reflex planning (
plan_task): recall → LLM evaluates fit (reuse & improve, or explain why not and plan fresh) → decomposed steps with capability matching → risks → next actions. - 🤖 LLM-driven, not rule-driven: the model decides what to use per task; the plugin only supplies context (past experiences + optional capability catalog).
- ✍️ De-AI deliverable standard: any textual output step (docs/sheets/slides/copy/scripts) must include a humanize-then-review pass before delivery.
- 🗂️ Auto-persist:
plan_taskdrafts the lesson automatically (status:draft); the agent marks itverifiedwith the outcome at loop close. - 🔒 Zero keys, zero absolute paths: everything is configurable; the experience library lives in
~/.dsh/planner-lessonsby default.
Install
dsh plugin --profile web add github:<your-user>/dsh-task-planner
or copy the repo and add it as a local bundle:
dsh plugin --profile web add /path/to/dsh-task-planner
Config (optional, in your profile's cordis.patch.yml)
- id: dsh-task-planner
name: dsh-task-planner
config:
lessonsDir: /path/to/your/lessons # default: ~/.dsh/planner-lessons
capabilityFile: /path/to/capability-map.md # optional catalog fed to the LLM
Point capabilityFile at a markdown catalog of your skills/plugins (e.g. an awesome list) and plan_task will match each step against it.
Usage
plan_task { task, goal?, constraints? }— plan before starting complex work.task_memory save { task, plan, outcome }— persist a lesson (auto-called by plan_task for the draft).task_memory recall { task }— condition-reflex lookup.task_memory list— show all lessons.
Lesson lifecycle
plan_taskwrites a draft lesson (status: draft) automatically.- When the task closes, the agent updates it with the outcome (
status: verified). - A lesson reused successfully 3× → promote to a formal skill. A lesson rejected 2× → mark obsolete.
Notes
- Requires the
llm,shell,toolsservices (all present in the standard harness). - The model call uses the harness default model (
agentDefaultModel); reasoning models need a generousmaxTokens(8k is used internally). - Lessons are plain Markdown — human-editable, greppable, portable.
License
MIT
ruvnet/ruflo
amruthpillai/reactive-resume
volcengine/OpenViking
Molunerfinn/PicGo
titanwings/colleague-skill
nocobase/nocobase
Tencent/WeKnora