Agent skill

Dsh Delegate Runtime

by cpj-dev in cpj-dev/dsh-plugin-cc

Internal contract for calling the dsh bridge from commands and the dsh-delegate agent — subcommands, flags, environment, and failure handling.

MITAuto-check passedAgent Workflows

Install Dsh Delegate Runtime

skills CLI
$ npx skills add cpj-dev/dsh-plugin-cc --skill dsh-delegate-runtime -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install cpj-dev/dsh-plugin-cc dsh-delegate-runtime --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/cpj-dev/dsh-plugin-cc.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/dsh/skills/dsh-delegate-runtime .claude/skills/dsh-delegate-runtime && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
dsh-delegate-runtime
GitHub stars
106
Token cost
~834 tokens
SKILL.md length
382 words
Files
1
Skills in repo
2
Repo updated
First seen
Licence
MIT

At a glance

Internal contract for calling the dsh bridge from commands and the dsh-delegate agent — subcommands, flags, environment, and failure handling.

  • Agent Workflows work in your project
  • SKILL.md covers Subcommands, Facts that shape correct usage and Failure handling
  • Calls node

What it does

Dsh Delegate Runtime is an agent skill from cpj-dev/dsh-plugin-cc. Internal contract for calling the dsh bridge from commands and the dsh-delegate agent — subcommands, flags, environment, and failure handling. Read before composing any dsh-bridge.mjs invocation.

Its SKILL.md is about 830 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows. It works with DeepSeek. The repository describes itself as: Bridge Deepseek-harness into Claude Code for review, critique, delegation, and session import. The licence is MIT.

When your agent uses it

  • Agent Workflows work in your project

Example prompts

  • “/dsh-delegate-runtime”

What it can do on your machine

Read from SKILL.md and the folder at commit ffa8e85. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Dsh Delegate Runtime loads about 834 tokens when it runs. Until then it costs about 54 tokens; SKILL.md has 382 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~54
When it runs · the whole SKILL.md, loaded when a task matches
~834

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from cpj-dev/dsh-plugin-cc at commit ffa8e85, republished under its MIT licence (© cpj-dev). 382 words, ~834 tokens.

Download SKILL.mdSave it as .claude/skills/dsh-delegate-runtime/SKILL.md (or your agent's skills folder).
name
dsh-delegate-runtime
description
Internal contract for calling the dsh bridge from commands and the dsh-delegate agent — subcommands, flags, environment, and failure handling. Read before composing any dsh-bridge.mjs invocation.

dsh bridge runtime contract

Every DeepSeek Harness interaction goes through one script:

bash
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

SubcommandPurposeKey flags
checkreadiness probe--json
setupinstall the pinned npm CLI (or --harness <built-checkout>) and create/verify the multi-turn cc profile--harness <path>, --mode, --json
reviewread-only code review--base <ref>, --scope, --model, --effort, --mode, --background
critiquestructured adversarial critiquesame as review
runtask execution--write, --session, --resume, --fresh, --model, --effort, --mode, --background, --prompt-file
run-resume-candidateis a resumable dsh session available?--json
importweak-import this conversation into a resumable session--source <jsonl>
runslist runs / one run's status[run-id], --all
showstored result of a finished run[run-id]
stopkill 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.
Show full SKILL.md (54 more words)Show less

Failure handling

  • "dsh CLI is not installed" → point the user at /dsh:setup (or /dsh:check for the readiness report).
  • "cc profile" errors on --session/--resume/import → point at /dsh:setup.
  • "broker is busy" → one run at a time per workspace; wait or stop --broker.
  • Structured critique that reports "unstructured output" still contains the raw review text; show it.

© cpj-dev, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/dsh/skills/dsh-delegate-runtime of cpj-dev/dsh-plugin-cc.

Open the folder on GitHubat commit ffa8e85

Compare with similar skills

Dsh Delegate Runtime next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Dsh Delegate Runtime compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Dsh Delegate Runtime this skillcpj-dev/dsh-plugin-cc106—~834Automated safety check: PassMIT
Mindmemos CLImindscale-noah/MindMemOS1k1 repos~3.4kAutomated safety check: PassNone
Spec Driven Developzhu1090093659/deepseek-pp1.9k—~6.9kAutomated safety check: PassApache-2.0
Remember Learningsdyad-sh/dyad22k—~1.1kAutomated safety check: PassCustom licence
Codex Deepseek Subagentoil-oil/codex-deepseek-subagent376—~673Automated safety check: PassMIT
OpenGUI Installer for DSHCore-Mate/OpenGUI1.8k—~1.1kAutomated safety check: PassCustom licence

Similar skills

  • Mindmemos CLI

    mindscale-noah/MindMemOS

    Give an AI agent persistent, cross-session long-term memory through MindMemOS.

    1k GitHub starsUsed in 1 repo~3.4k tokens
    Agent WorkflowsAuto-check passed
  • Spec Driven Develop

    zhu1090093659/deepseek-pp

    Automates pre-development workflow for large-scale complex tasks.

    1.9k GitHub stars~6.9k tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed
  • Remember Learnings

    dyad-sh/dyad

    Review the current session for errors, issues, snags, and hard-won knowledge, then update the rules/ files (or AGENTS.md if no suitable rule file exists) with actionable learnings.

    22k GitHub stars~1.1k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Codex Deepseek Subagent

    oil-oil/codex-deepseek-subagent

    配置和维护 Codex 桌面应用中的 DeepSeek 原生子 Agent,支持模型选择、路由验证、修复、停用和卸载。仅在用户要求配置或管理该集成时使用;普通 API 问题与配置后的日常编码任务不触发。

    376 GitHub stars~673 tokensUpdated 27 days ago
    Agent WorkflowsAuto-check passed
  • OpenGUI Installer for DSH

    Core-Mate/OpenGUI

    Installs and verifies the latest stable OpenGUI release in a DeepSeek Harness web profile on macOS without disturbing existing plugins or settings.

    1.8k GitHub stars~1.1k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Obelisk

    tommy0103/obelisk

    Search and query past Claude Code, Codex, Kimi Code, OMP, and Pi session history.

    567 GitHub stars~6.7k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from cpj-dev/dsh-plugin-cc

  • Dsh Run Output

    cpj-dev/dsh-plugin-cc

    Internal guidance for presenting DeepSeek Harness bridge results (reviews, critiques, delegated runs) back to the user.

    106 GitHub stars~411 tokensUpdated 1 mo ago
    Auto-check passed

Works with

Categories

Questions about Dsh Delegate Runtime

What does Dsh Delegate Runtime do?

Internal contract for calling the dsh bridge from commands and the dsh-delegate agent — subcommands, flags, environment, and failure handling. Dsh Delegate Runtime is an agent skill from cpj-dev/dsh-plugin-cc. Internal contract for calling the dsh bridge from commands and the dsh-delegate agent — subcommands, flags, environment, and failure handling.

When should I use Dsh Delegate Runtime?

Dsh Delegate Runtime fits situations like: agent Workflows work in your project.

How do I install Dsh Delegate Runtime in Claude Code?

Run `npx skills add cpj-dev/dsh-plugin-cc --skill dsh-delegate-runtime -a claude-code`. Or copy the skill folder (plugins/dsh/skills/dsh-delegate-runtime in cpj-dev/dsh-plugin-cc) into .claude/skills/dsh-delegate-runtime in your project. Claude Code loads it when a task matches its description.

How do I install Dsh Delegate Runtime in Codex?

Run `npx skills add cpj-dev/dsh-plugin-cc --skill dsh-delegate-runtime -a codex`. Or copy the skill folder (plugins/dsh/skills/dsh-delegate-runtime in cpj-dev/dsh-plugin-cc) into .agents/skills/dsh-delegate-runtime in your project. Codex loads it when a task matches its description.

Can I use Dsh Delegate Runtime in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cpj-dev/dsh-plugin-cc --skill dsh-delegate-runtime -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dsh-delegate-runtime, .gemini/skills/dsh-delegate-runtime, .github/skills/dsh-delegate-runtime and .opencode/skills/dsh-delegate-runtime in your project.

What does Dsh Delegate Runtime need to run?

Going by SKILL.md and its folder, Dsh Delegate Runtime needs the command-line tools its instructions call (node).

Does Dsh Delegate Runtime access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Dsh Delegate Runtime safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Dsh Delegate Runtime use?

Dsh Delegate Runtime is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Dsh Delegate Runtime use?

About 834 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Dsh Delegate Runtime?

Skills that share tags, products or a category with Dsh Delegate Runtime: Mindmemos CLI (mindscale-noah/MindMemOS, 1k stars), Spec Driven Develop (zhu1090093659/deepseek-pp, 1.9k stars), Remember Learnings (dyad-sh/dyad, 22k stars) and Codex Deepseek Subagent (oil-oil/codex-deepseek-subagent, 376 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Dsh Delegate Runtime?

cpj-dev (a GitHub user) maintains it in cpj-dev/dsh-plugin-cc, which has 106 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on August 27, 2026.

Source: cpj-dev/dsh-plugin-cc on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.