每个请求都必须走完 7 步计划,每步都有可判定的验收标准,执行交给 worker 子代理,完成情况由无记忆的独立 verifier 子代理带证据判定 PASS / FAIL。
安装
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:bauerelizabeth07139/plan-guardian-skill
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。
README
该插件的 README 只有英文版本。
A mandatory 7-step plan, then verification by independent subagents — as a DeepSeek Harness plugin. The skill ships inside the bundle: install the plugin and it is there, with the reference documents it cites.
A Codex skill that enforces verifiable planning, then validates completion with independent memoryless subagents.
Install
DeepSeek Harness Desktop — open Plugins in the sidebar, choose Add plugin, and enter:
https://github.com/bauerelizabeth07139/plan-guardian-skill
Then switch the new dsh-plan-guardian bundle on. The Desktop app boots the
reserved desktop profile, so that is where it has to be enabled.
dsh CLI — install it into the profile you actually boot:
dsh plugin --profile web add bauerelizabeth07139/plan-guardian-skill
No git on the machine? pnpm resolves a git shorthand with git ls-remote,
which fails with 'git' is not recognized when git is missing. Use the tarball
instead — that path is plain HTTPS:
dsh plugin --profile web add https://codeload.github.com/bauerelizabeth07139/plan-guardian-skill/tar.gz/master
The same address works in the Desktop Add plugin dialog. Replace master
with a commit SHA to pin an exact revision (/tar.gz/<sha>).
Uninstall with dsh plugin --profile web remove dsh-plan-guardian.
The workflow
| Step | What happens |
|---|---|
| 0 | Establish verification capability — once per conversation |
| 1 | Restate the intent; name the core deliverable and the implicit requirements |
| 2 | Draft exactly 7 concrete steps, implementation and verification kept apart |
| 3 | Give every step at least one binary acceptance criterion |
| 4 | Execute through worker subagents — they never see the criteria |
| 5 | Verify every deliverable through a memoryless verifier subagent |
| 6 | On FAIL, revise the plan, re-execute, re-verify |
| 7 | Report every step as PASS or FAIL, with evidence |
Hard rules the skill will not bend: never skip a step, never self-verify, never produce fewer than 7 steps, never report a step as passed without verifier evidence.
Full instructions: skills/plan-guardian/SKILL.md.
Supporting protocols: plan_protocol.md
and memoryless_review.md.
What changed for DeepSeek Harness
The 7 steps, the hard rules and the acceptance-criteria discipline are unchanged. Two things are genuinely different:
- Step 0 is no longer a model probe. In Codex the skill had to discover
whether the session model could see images, by reading
~/.codexand~/.mimo2codexand probing a model API. On DSH, every agent hasread_image, so visual verification is always available and there is nothing to detect. The original probe is still inscripts/detect_multimodal.pyfor Codex users; the DSH skill does not call it. - Subagent calls are the harness's.
subagent(memoryless) replacesmulti_agent_v1__spawn_agent(..., fork_context=false), and a forked subagent is explicitly forbidden for verifiers because it would inherit the conversation's assumptions. Workers report back on their own instead of a separatewait_agentcall.
Repository layout
| Path | Purpose |
|---|---|
index.js |
the DSH plugin: registers the bundled skill |
cordis.patch.yml |
the loader row that activates the plugin |
skills/plan-guardian/ |
the skill in Harness tool names, with its references |
locale/{en,zh}.json |
card title and description for the plugin lists |
assets/icon.svg |
card artwork |
test/plugin.test.mjs |
static composition checks |
SKILL.md, references/, scripts/, agents/, AGENTS*.md |
the original Codex skill, unchanged |
Development
No build step and no runtime dependencies — @deepseek-ai/cordis and
@deepseek-ai/dsh-skill are peers supplied by the Harness.
npm test # node >= 22: manifest, card metadata, loader patch, skill, syntax
Codex usage (unchanged)
The original files are still here, byte for byte:
git clone https://github.com/bauerelizabeth07139/plan-guardian-skill.git
cd plan-guardian-skill
cp -r . ~/.codex/skills/plan-guardian
cp AGENTS.global.md ~/.codex/AGENTS.md # optional: the global instructions
python scripts/detect_multimodal.py # Codex-only capability probe
python scripts/validate_skill.py . # Codex-only skill validator
DSH also reads AGENTS.md — including a user-global $DSH_HOME/AGENTS.md — so
AGENTS.md / AGENTS.global.md remain useful if you want the rules applied
outside a skill invocation, with the subagent tool names swapped for the ones in
the mapping table above.
License
链接
同类插件
tw93/Mole#mole★ 76740
开源磁盘清理工具 Mole CLI(mo,支持 macOS 和 Windows)的官方 skill:按 Mole 的 JSON 输出查看磁盘占用、预览并执行清理、查看已安装应用、读取系统健康状态和清理记录。清理前先用 --dry-run 预览并征得同意,卸载应用和需要管理员权限的步骤留给用户在自己的终端里执行。插件只带 skill,CLI 需另外安装。
zhu1090093659/dsh-web#packages/dsh-skill-explorer★ 10696
技能中心:按来源分级浏览已加载的全部 skill,启用/禁用模型调用、创建新技能、删除进可恢复回收站。
QingYunA/answer-me-with-html★ 6742
把回答做成一页可视化 HTML:模型只写简短的 Markdown 草稿,随包附带的 `am` 命令行生成页面,支持流程图、时序图、树、时间线、ER 图、表格和提示框。
iflytek/skillhub#dsh★ 5514
在 DeepSeek Harness 内浏览、搜索 SkillHub 技能,并管理本地技能的安装、更新和卸载。适配 DSH 0.2.0-rc.2 与 0.2.1-rc.2,暂不兼容 0.2.1-rc.3。
hyhmrright/brooks-lint★ 1595
提供六个代码质量技能,涵盖代码审查、架构审计、技术债、测试质量、健康看板与修复。
GanyuanRan/Aegis★ 1460
面向编码 Agent 的软件工程方法包,提供基线优先规划、系统化调试、提示词卫生、完成前验证,以及修复/退役双轨跟踪技能。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。