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.
/plugin marketplace add cpj-dev/dsh-plugin-cc/plugin install dshWrote 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/cpj-dev/dsh-plugin-cc/dsh-delegate-runtime)<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.
<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>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.00047 | $0.00881 |
| Opus 5.5 | $0.00019 | $0.00352 |
| Sonnet 5.5 | $0.00009 | $0.00176 |
| Haiku 4.5 | $0.00005 | $0.00088 |
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.
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;
--writegrants 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, andimport(broker paths) record resumable session ids. --model/--effortwork on one-shot runs; a--resumekeeps the broker's startup model. Plugin defaults when omitted: modeldeepseek-v4-pro, effortmax(one-shot and broker alike).- Agent mode defaults to
standard(full toolset from request #1, no overlay).--mode minimallocks bash + str_replace_editor for the whole run;--mode anchored-standardshows that pair until this session records a tool call or assistant reply, then restores the full catalog.DSH_CC_MODEand the persisted/dsh:setup --modedefault sit between flag and built-in. A live broker keeps its startup mode — a--sessionrun resolving a different mode errors and names/dsh:stop --broker. --backgroundreturns immediately with a run id; the actual work continues in a detached worker. Pollruns <id>, fetchshow <id>.stopkills processes; a mid-turn broker stop discards all in-memory dsh sessions for the workspace.- Environment:
DSH_BINARYoverrides the dsh executable;DSH_CC_SESSION_ID/DSH_CC_TRANSCRIPT_PATHare exported by the SessionStart hook — never set them manually.
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.
- 3mo ago First seen · 47 lines · 47 tokens per session scan A 5c94d91d25d4
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.
dsh-delegate-runtime compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dsh-delegate-runtimecpj-dev/dsh-plugin-cc | Skill | 105 | 3mo ago | MIT | A | 47 | Claude Code |
| odaiorziz/odai | Skill | 131 | 4d ago | MIT | A | 88 | Codex |
| renweiorziz/odai | Skill | 131 | 4d ago | MIT | A | 167 | Codex |
| odai-companionorziz/odai | Skill | 131 | 4d ago | MIT | A | 73 | Codex |
| ribaoorziz/odai | Skill | 131 | 4d ago | MIT | A | 60 | Codex |
| odai-orchestrationorziz/odai | Skill | 131 | 4d ago | MIT | A | 60 | Codex |
| dev-qasongoao25/dsh-virtual-product-team | Skill | 5 | 2mo ago | MIT | A | 50 | Claude Code, Codex |