Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add SparkElf/deepseek-harness-plus --skill dsh-repo-release-prgit clone --depth 1 https://github.com/SparkElf/deepseek-harness-plusWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/sparkelf/deepseek-harness-plus/dsh-repo-release-pr)<a href="https://agentmods.dev/skills/sparkelf/deepseek-harness-plus/dsh-repo-release-pr"><img src="https://agentmods.dev/badge/skills/sparkelf/deepseek-harness-plus/dsh-repo-release-pr/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/sparkelf/deepseek-harness-plus/dsh-repo-release-pr"><img src="https://agentmods.dev/badge/skills/sparkelf/deepseek-harness-plus/dsh-repo-release-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00095 | $0.04059 |
| Opus 5.5 | $0.00038 | $0.01624 |
| Sonnet 5.5 | $0.00019 | $0.00812 |
| Haiku 4.5 | $0.00010 | $0.00406 |
Grade C, and why
dsh-repo-release-pr scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf .cache/plus-web-build-cache How it starts
The opening of the file, as written. The whole thing — 308 lines — stays where its author put it; the contents beside it link to each section on GitHub.
DSH Plus 仓库的发布与 PR 流程
这个技能解决一类反复踩的坑:推代码、发版本、开 PR 时不知道规则,导致被拒或卡住。
核心结论先给:
- 禁止直推 master。 服务端规则强制 PR + 批准 + 状态检查,客户端绕不过。
- PR 作者不能批准自己的 PR。 加权批准明确排除作者。
- 批准需要 2 分,且本机通常只有一个 GitHub 身份 —— 所以「机器人提交 + 人审查」需要两个身份,或缺一不可。
- 发布用
release:ship或按它的步骤顺序手动执行,顺序错了 gate 会失败。 - 基座版本升级不走本技能:先按
dsh-base-upgrade完成裸基座、插件修复、退役判断与 edition 组装,再回到本技能发版。
1. 仓库身份
origin git@github-sparkelf:SparkElf/deepseek-harness-plus.git
这是自有仓库,不是第三方依赖。改 packages/bundle/plus 等代码 = 改自有源码,正确路径是「改源码 → 构建 → 提 PR → 发布」,不是「打补丁」也不是「提 issue 给上游」。
本机 gh 登录身份用 gh auth status 查。先查身份,再决定流程——只有一个身份时,作者不能批准自己的 PR。
2. master 的服务端保护规则
先用 API 查,不要凭猜:
gh api repos/SparkElf/deepseek-harness-plus/rules/branches/master
当前规则(GET .../branches/master/protection 返回 404,因为用的是新版 rulesets,不是旧保护):
| 规则 | 含义 |
|---|---|
pull_request |
必须走 PR;required_approving_review_count = 1;require_code_owner_review = true;required_review_thread_resolution = true |
required_status_checks |
两个检查必须通过:Required PR evidence、Diff and composition metadata |
non_fast_forward |
禁止强推 |
deletion |
禁止删分支 |
直推会被这样拒绝:
remote: error: GH013: Repository rule violations found for refs/heads/master.
remote: - Changes must be made through a pull request.
remote: - 2 of 2 required status checks are expected.
这是服务端强制,"跳过 CI" 在客户端做不到。
3. 加权批准机制(最容易踩的坑)
策略文件:.github/review-ownership/approval-policy.json
{
"requiredPoints": 2,
"defaultPoints": 1,
"reviewerPoints": {
"07akioni": 2, "imccyu": 2, "tianyicui": 2,
"tianyicui-bot": 2, "turtle1999": 2, "turtle2099": 2
}
}
规则要点(来自 .github/review-ownership/README.md):
- 阈值 2 分。
- 高权重审查者各 2 分(一票即达阈值);其他有 write 权限者各 1 分。
- PR 作者不计分 —— 所以作者自己 approve 无效。
- 无 write 权限者不计分;已删除账号不计分。
CHANGES_REQUESTED是阻断项,即使分数够也保持 pending。- 只有「非 draft + 达阈值 + 无阻断」才返回
success。
因此:
- 想自动化,需要 bot 账号(如
tianyicui-bot)提交、人类账号审查;或反过来。 - 只有一个身份时,无法自行合并 —— 这是设计如此,不是 bug。
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 7d ago First seen · 308 lines · 95 tokens per session scan C 4aaa9d9f274e
dsh-repo-release-pr is a skill published in the GitHub repository SparkElf/deepseek-harness-plus (1 stars, last pushed yesterday), licensed MIT. It adds 95 tokens to every session and 4,059 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-29.
dsh-repo-release-pr compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dsh-repo-release-prSparkElf/deepseek-harness-plus | Skill | 1 | yesterday | MIT | C | 95 | Claude Code, Codex |
| update-v8-versionopeninterpreter/openinterpreter | Skill | 69k | today | Apache-2.0 | A | 86 | Codex |
| final-release-reviewsandbaseai/sandbase-skills | Skill | 212 | 13d ago | Apache-2.0 | A | 39 | Claude Code |
| codex-pr-bodyopeninterpreter/openinterpreter | Skill | 69k | today | Apache-2.0 | A | 17 | Codex |
| codew-release-qa-sweepHmbown/CodeWhale | Skill | 41k | today | MIT | A | 31 | Claude Code, Codex |
| releaseHmbown/CodeWhale | Skill | 41k | today | MIT | A | 0 | Claude Code, Codex |
| releaseBlockRunAI/ClawRouter | Skill | 6.7k | today | MIT | A | 44 | Claude Code, Codex |