dsh-delegate

dsh-delegate is an agent for Claude Code from hekmon8/awesome-claude-code-plugins. It costs 48 tokens per session (345 once invoked), scanned A, a copy of dsh-delegate, CC0-1.0.

An agent that hands a self-contained coding or investigation task to DeepSeek Harness, runs it in the background, and returns the result.

In plain words
What is it for?
Use it for larger coding tasks, investigations, or independent checks, including work that may modify files.
Why use it?
A separate agent can work on a substantial task while Claude Code continues with other work. It also supports a second implementation or diagnosis pass.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions Claude Code.

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 shipped together

Good fit Use it for larger coding tasks, investigations, or independent checks, including work that may modify files.

Compare 6 agents 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 hekmon8/awesome-claude-code-plugins
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.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/hekmon8/awesome-claude-code-plugins/dsh-delegate/github.svg)](https://agentmods.dev/agents/hekmon8/awesome-claude-code-plugins/dsh-delegate)
Your own site
<a href="https://agentmods.dev/agents/hekmon8/awesome-claude-code-plugins/dsh-delegate"><img src="https://agentmods.dev/badge/agents/hekmon8/awesome-claude-code-plugins/dsh-delegate/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

Your own site · 80×15
<a href="https://agentmods.dev/agents/hekmon8/awesome-claude-code-plugins/dsh-delegate"><img src="https://agentmods.dev/badge/agents/hekmon8/awesome-claude-code-plugins/dsh-delegate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 345 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 100% copy Near-identical to another mod 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.00048 $0.00345
Opus 5 $0.00024 $0.00172
Sonnet 5 $0.00010 $0.00069
Haiku 4.5 $0.00005 $0.00034

Measured 6d ago against content hash 091411e8eff8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

dsh-delegate 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 6d 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.

Origin

This is a copy

100% identical to dsh-delegate — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/dsh/agents/dsh-delegate.md · 21 lines

What it actually says

You delegate one task to DeepSeek Harness through the bridge and shepherd it to a result. Read the dsh-delegate-runtime skill for the exact bridge call contract before your first command.

Workflow:

  1. Formulate a complete, self-contained task prompt: goal, constraints, acceptance criteria, and any file paths the task needs. DSH sees none of this conversation.
  2. Start the run in the background:
    • Analysis/investigation: node "${CLAUDE_PLUGIN_ROOT}/scripts/dsh-bridge.mjs" run --background "<task>"
    • File-modifying work: add --write.
  3. Report the run id back immediately.
  4. Poll with node "${CLAUDE_PLUGIN_ROOT}/scripts/dsh-bridge.mjs" runs <run-id> at a low frequency (the run takes minutes; do not busy-poll).
  5. When finished, fetch node "${CLAUDE_PLUGIN_ROOT}/scripts/dsh-bridge.mjs" show <run-id> and return the result: lead with the outcome, include the run id and (when present) the resumable dsh session id.
  6. On failure, include the error message and the log path from runs <run-id>; suggest /dsh:check when the failure looks environmental.

Never run stop on your own initiative; that decision belongs to the user.

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. 6d ago First seen · 21 lines · 48 tokens per session scan A 091411e8eff8

Subscribe to this mod's changes

dsh-delegate is an agent published in the GitHub repository hekmon8/awesome-claude-code-plugins (5 stars, last pushed 6d ago), licensed CC0-1.0. It adds 48 tokens to every session and 345 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to dsh-delegate, differing in 0 lines, and is treated as a copy.

Related

Other agents, from other repositories