delegate-to-dsh

delegate-to-dsh is a skill for Claude Code, Codex from HazenSun/dsh-codex-bridge. It costs 76 tokens per session (738 once invoked), scanned A, original, Apache-2.0.

A workflow for sending a defined coding task to DeepSeek Harness, an alternate coding worker, in a separate worktree. Codex plans and reviews the returned patch and evidence.

In plain words
What is it for?
Using DSH for a specific coding task, selecting an available model profile, and receiving a patch for review from a single or multi-agent run.
Why use it?
It lets you hand off bounded implementation work while keeping the changes isolated and reviewable.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions Codex.

Good fit Using DSH for a specific coding task, selecting an available model profile, and receiving a patch for review from a single or multi-agent run.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hazensun/dsh-codex-bridge/delegate-to-dsh
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 HazenSun/dsh-codex-bridge --skill delegate-to-dsh
Clone the repo
git clone --depth 1 https://github.com/HazenSun/dsh-codex-bridge

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 delegate-to-dsh

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hazensun/dsh-codex-bridge/delegate-to-dsh"><img src="https://agentmods.dev/badge/skills/hazensun/dsh-codex-bridge/delegate-to-dsh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 738 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.00076 $0.00738
Opus 5 $0.00038 $0.00369
Sonnet 5 $0.00015 $0.00148
Haiku 4.5 $0.00008 $0.00074

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

Security

Grade A, and why

delegate-to-dsh 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 10d 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-codex-bridge/skills/delegate-to-dsh/SKILL.md · 46 lines

How it starts

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

Delegate to DSH

Use the DSH Bridge as an external implementation worker. Codex remains the planner and reviewer. Treat a short request such as “使用 DSH 处理” as sufficient routing intent; do not require the user to name tools, profiles, or an agent count.

Choose the delegation shape

Default to automatic routing. Before delegate_task, resolve the request to single or multi using delegation routing. Honor an explicit user choice of single or multi Agent. When the user leaves the choice open, prefer one DSH Agent unless at least two workstreams are meaningfully independent or an independent review materially reduces risk.

Record a concise rationale and any requested roles in the delegation request. Never claim a multi-Agent run merely because the prompt asked for one: verify the result's delegation evidence and warnings.

Before delegation

  1. Call get_setup_status. If setup is not ready, follow the bundled setup-dsh-bridge workflow instead of returning a generic missing-configuration error.
  2. Call list_profiles and select profiles by their descriptions and declared limits. Never invent a profile or expose provider credentials.
  3. Delegate only a bounded objective with observable acceptance criteria. Keep strategic decisions, secret handling, deployment, merge and destructive operations in Codex.
  4. Prefer Direct Mode. Spawn the optional dsh_orchestrator Codex agent only when the user explicitly wants a native Sub-Agent thread.

Task lifecycle

  1. Call delegate_task with protocol_version: bridge.dsh.dev/v1alpha1, the configured project_id, selected profile_id, objective, acceptance criteria, and the resolved delegation decision.
  2. The tool returns quickly. Use wait_task with a bounded timeout or get_task; do not busy-loop.
  3. When the task is terminal, call get_task_result.
  4. Review the summary, changed-file list, warnings and tests. Read the patch with read_task_artifact in bounded pages when needed.
  5. If evidence is insufficient or the patch needs correction, call continue_task with precise review feedback. The same DSH session and worktree are reused.
  6. Call cancel_task if the objective becomes obsolete or unsafe. Never claim cancellation has converged until the returned state is terminal.

Read the full file on GitHub · 46 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. 10d ago First seen · 46 lines · 76 tokens per session scan A 593c380534f6

Subscribe to this mod's changes

delegate-to-dsh is a skill published in the GitHub repository HazenSun/dsh-codex-bridge (1 stars, last pushed 6d ago), licensed Apache-2.0. It adds 76 tokens to every session and 738 once invoked, about $0.0004 per session on Opus 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-31.

Related

Other skills, from other repositories