dsh-delegate-runtime

dsh-delegate-runtime is a skill for Claude Code from cpj-dev/dsh-plugin-cc. It costs 47 tokens per session (881 once invoked), scanned A, original, MIT.

A contract for using a command-line bridge to DeepSeek Harness, a tool that reviews code and carries out tasks. It defines the available commands, options, environment, and failure behavior.

In plain words
What is it for?
Use it when checking setup, reviewing or critiquing code, running tasks, resuming sessions, importing conversations, or viewing stored run results.
Why use it?
It prevents commands from being assembled incorrectly or failures from being handled inconsistently. The bridge's output is intended to be shown directly to the user.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the dsh plugin — 2 skills, 10 commands, 1 agent, 2 hooks shipped together

Good fit Use it when checking setup, reviewing or critiquing code, running tasks, resuming sessions, importing conversations, or viewing stored run results.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add cpj-dev/dsh-plugin-cc
Claude Code
/plugin install dsh

Made for: Claude Code.

Or install dsh, the plugin that ships this one along with the rest of its 2 skills, 10 commands, 1 agent, 2 hooks.

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-delegate-runtime

README.md
[![agentmods](https://agentmods.dev/badge/skills/cpj-dev/dsh-plugin-cc/dsh-delegate-runtime/github.svg)](https://agentmods.dev/skills/cpj-dev/dsh-plugin-cc/dsh-delegate-runtime)
Your own site
<a href="https://agentmods.dev/skills/cpj-dev/dsh-plugin-cc/dsh-delegate-runtime"><img src="https://agentmods.dev/badge/skills/cpj-dev/dsh-plugin-cc/dsh-delegate-runtime/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-delegate-runtime

Your own site · 80×15
<a href="https://agentmods.dev/skills/cpj-dev/dsh-plugin-cc/dsh-delegate-runtime"><img src="https://agentmods.dev/badge/skills/cpj-dev/dsh-plugin-cc/dsh-delegate-runtime.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 881 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00047 $0.00881
Opus 5.5 $0.00019 $0.00352
Sonnet 5.5 $0.00009 $0.00176
Haiku 4.5 $0.00005 $0.00088

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

Security

Grade A, and why

dsh-delegate-runtime scanned grade A with 0 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 3mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/dsh/skills/dsh-delegate-runtime/SKILL.md · 47 lines

How it starts

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

dsh bridge runtime contract

Every DeepSeek Harness interaction goes through one script:

node "${CLAUDE_PLUGIN_ROOT}/scripts/dsh-bridge.mjs" <subcommand> [flags] [text]

stdout is the user-facing result; render it verbatim. A nonzero exit means the run failed and stderr carries the reason.

Subcommands

Subcommand Purpose Key flags
check readiness probe --json
setup install the pinned npm CLI (or --harness <built-checkout>) and create/verify the multi-turn cc profile --harness <path>, --mode, --json
review read-only code review --base <ref>, --scope, --model, --effort, --mode, --background
critique structured adversarial critique same as review
run task execution --write, --session, --resume, --fresh, --model, --effort, --mode, --background, --prompt-file
run-resume-candidate is a resumable dsh session available? --json
import weak-import this conversation into a resumable session --source <jsonl>
runs list runs / one run's status [run-id], --all
show stored result of a finished run [run-id]
stop kill a run's process tree / the broker [run-id], --broker

Facts that shape correct usage

  • Sandbox: default runs are read-only; --write grants workspace-write. There is no mid-run approval — permissions are decided before launch.
  • Fresh runs are one-shot headless dsh sessions and are NOT resumable. Only --session, --resume, and import (broker paths) record resumable session ids.
  • --model/--effort work on one-shot runs; a --resume keeps the broker's startup model. Plugin defaults when omitted: model deepseek-v4-pro, effort max (one-shot and broker alike).
  • Agent mode defaults to standard (full toolset from request #1, no overlay). --mode minimal locks bash + str_replace_editor for the whole run; --mode anchored-standard shows that pair until this session records a tool call or assistant reply, then restores the full catalog. DSH_CC_MODE and the persisted /dsh:setup --mode default sit between flag and built-in. A live broker keeps its startup mode — a --session run resolving a different mode errors and names /dsh:stop --broker.
  • --background returns immediately with a run id; the actual work continues in a detached worker. Poll runs <id>, fetch show <id>.
  • stop kills processes; a mid-turn broker stop discards all in-memory dsh sessions for the workspace.
  • Environment: DSH_BINARY overrides the dsh executable; DSH_CC_SESSION_ID/DSH_CC_TRANSCRIPT_PATH are exported by the SessionStart hook — never set them manually.

Read the full file on GitHub · 47 lines

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. 3mo ago First seen · 47 lines · 47 tokens per session scan A 5c94d91d25d4

Subscribe to this mod's changes

dsh-delegate-runtime is a skill published in the GitHub repository cpj-dev/dsh-plugin-cc (105 stars, last pushed 3mo ago), licensed MIT. It adds 47 tokens to every session and 881 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

dsh-delegate-runtime compared with skills from other repositories

dsh-delegate-runtime next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dsh-delegate-runtimecpj-dev/dsh-plugin-ccSkill1053mo agoMITA47Claude Code
odaiorziz/odaiSkill1314d agoMITA88Codex
renweiorziz/odaiSkill1314d agoMITA167Codex
odai-companionorziz/odaiSkill1314d agoMITA73Codex
ribaoorziz/odaiSkill1314d agoMITA60Codex
odai-orchestrationorziz/odaiSkill1314d agoMITA60Codex
dev-qasongoao25/dsh-virtual-product-teamSkill52mo agoMITA50Claude Code, Codex