dsh-promote-deployment

dsh-promote-deployment is a skill for Claude Code, Codex from SparkElf/deepseek-harness-plus. It costs 72 tokens per session (14,689 once invoked), scanned C, original, MIT.

A deployment procedure for moving a running DSH service to a new release. A release mirror is a separate copy of the source and build output that the running service serves.

In plain words
What is it for?
It is for building a release mirror, switching the served deployment, restarting its supervisor, and checking that the intended package and version are running.
Why use it?
It prevents a deployment from reporting a new version while still running old files, and provides ordered steps for rebuilding, accepting, switching, and restarting it.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; positional $N argument; installed under .agents/ (shared by several agents).

Good fit It is for building a release mirror, switching the served deployment, restarting its supervisor, and checking that the intended package and version are running.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sparkelf/deepseek-harness-plus/dsh-promote-deployment
Install

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.

Any agent
npx skills add SparkElf/deepseek-harness-plus --skill dsh-promote-deployment
Clone the repo
git clone --depth 1 https://github.com/SparkElf/deepseek-harness-plus

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for dsh-promote-deployment

README.md
[![agentmods](https://agentmods.dev/badge/skills/sparkelf/deepseek-harness-plus/dsh-promote-deployment/github.svg)](https://agentmods.dev/skills/sparkelf/deepseek-harness-plus/dsh-promote-deployment)
Your own site
<a href="https://agentmods.dev/skills/sparkelf/deepseek-harness-plus/dsh-promote-deployment"><img src="https://agentmods.dev/badge/skills/sparkelf/deepseek-harness-plus/dsh-promote-deployment/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.

agentmods 80×15 button for dsh-promote-deployment

Your own site · 80×15
<a href="https://agentmods.dev/skills/sparkelf/deepseek-harness-plus/dsh-promote-deployment"><img src="https://agentmods.dev/badge/skills/sparkelf/deepseek-harness-plus/dsh-promote-deployment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 14,689 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00072 $0.14689
Opus 5.5 $0.00029 $0.05876
Sonnet 5.5 $0.00014 $0.02938
Haiku 4.5 $0.00007 $0.01469

Measured 3d ago against content hash c1681fa9f535, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

dsh-promote-deployment scanned grade C with 2 findings 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 3d 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 /tmp/v && cp -r <解包的插件> /tmp/v && cd /tmp/v

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s https://registry.npmjs.org/<encoded-name> | grep -c '"<version>"'
.agents/skills/dsh-promote-deployment/SKILL.md · 932 lines

How it starts

The opening of the file, as written. The whole thing — 932 lines — stays where its author put it; the contents beside it link to each section on GitHub.

DSH Deployment Promotion

Use this skill to move a running deployment onto a new release. The deployment is not the repository checkout: it is a release mirror under the DSH home, with its own sources, build outputs, and profile. Changing a version in the profile does not change what the runtime executes.

A base-version bump starts with dsh-base-upgrade, not here. Bare base, plugin repair, retirement decisions, and the published Plus release all happen before this skill's switch step. Using this skill as the first step mixes base compatibility, plugin compatibility, and patch compatibility in one build; the failures cannot be attributed. Come back here for the production switch only after dsh-base-upgrade Phase 5 passes for both editions.

The distribution model changed after 0.2.9. Source patches now live in packages/bundle/plus/patches/*.patch and are applied by dsh-plus apply against an exact official checkout. dsh-plus install --edition personal|team|intranet-team writes the profile manifest. There is no standalone package and no scripts/standalone generator; any step below that names one describes the pre-0.2.9 mirror builder and must not be run. The current release build is the sequence in build-personal-rc2.sh (clone tag → install edition → rewrite redirects → dsh-plus apply → copy the user layer → dsh-plus-build → check-target).

Find the tools before writing any step

The deployment already owns this procedure. Read these before running anything, and call them rather than re-deriving their contents:

Command Owns
dsh-plus-build <mirror> pnpm install twice (a patch that adds a dependency changes the graph, and only a second install links it), then pnpm run build --profile official, then verify the brand record and that no workspace with dependencies lacks node_modules.
dsh-plus-switch Move the served release to another mirror, tracking phases.
dsh-plus-refresh rebuild | accept | restart | all Rebuild the mirror, record the profile as accepted, restart, or all three in that order.
dsh-plus-mirror build --tag <official-tag> --into <path> --runtime <version> Historical pre-0.2.9 builder: extracts a tag, applies patches/npm/*, builds, and creates a profile from a standalone manifest. Its standalone stages no longer exist in this repository, so a base bump uses build-personal-rc2.sh's sequence instead. dsh-plus-mirror check --mirror <path> still reports the scope verdict.
dsh-plus-exemptions --runtime <version> [--out <path>] Derive the profile's compatibility.json: every plugin whose published peer ranges cannot match the runtime.
repair-shadowed-scope.mjs --release <mirror> Replace real directories that shadow a release package with links to its source.
dsh-3080-restart Restart through the supervisor: repair profile scope, prove module uniqueness, re-accept the fingerprint, restart, then verify the client modules and the connection surface.
relink-release.mjs --release <mirror> Restore the @deepseek-ai scope links a pnpm install inside the mirror rewrote.
check-profile-scope.mjs --release <mirror> Report duplicate @deepseek-ai packages and unresolvable dependencies; both break every tool call while HTTP stays 200.

Read the full file on GitHub · 932 lines

Files

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.

Changes

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.

  1. 3d ago Changed · +12 lines c1681fa9f535
  2. 12d ago Changed · +19 lines 422333fd4377
  3. 1mo ago Changed · +138 lines a54eede5900e
  4. 1mo ago Changed · +642 lines scan A → C 18083512d5d5
  5. 2mo ago Changed · +21 lines d9f3b74532aa
  6. 2mo ago Changed · +23 lines c5237791d66c
  7. 2mo ago First seen · 77 lines · 72 tokens per session scan A 0fd818be8a15

Subscribe to this mod's changes

dsh-promote-deployment is a skill published in the GitHub repository SparkElf/deepseek-harness-plus (1 stars, last pushed yesterday), licensed MIT. It adds 72 tokens to every session and 14,689 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-25.

Related

dsh-promote-deployment compared with skills from other repositories

dsh-promote-deployment next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dsh-promote-deploymentSparkElf/deepseek-harness-plusSkill1yesterdayMITC72Claude Code, Codex
update-v8-versionopeninterpreter/openinterpreterSkill69ktodayApache-2.0A86Codex
final-release-reviewsandbaseai/sandbase-skillsSkill21213d agoApache-2.0A39Claude Code
land-and-deploygarrytan/gstackSkill143ktodayMITA29Claude Code
codex-pr-bodyopeninterpreter/openinterpreterSkill69ktodayApache-2.0A17Codex
codew-release-qa-sweepHmbown/CodeWhaleSkill41ktodayMITA31Claude Code, Codex
release-publishrohitg00/ai-engineering-from-scratchSkill82ktodayMITA9Claude Code, Codex