claude-code-dsh

claude-code-dsh is a skill for Claude Code, Codex from Fly2Kiana/Codex-DSH-Orchestrator. It costs 37 tokens per session (1,833 once invoked), scanned A, original, MIT.

A set of instructions for sending limited coding tasks from Claude Code to an existing DSH Web Host, with typed handoffs, progress tracking, follow-up work, and cancellation.

In plain words
What is it for?
Use it when Claude Code needs to delegate a bounded task to a trusted DSH Web Host and supervise its progress.
Why use it?
It defines safe boundaries for delegation and prevents the agent from starting, stopping, or changing the remote service without the required approval.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it when Claude Code needs to delegate a bounded task to a trusted DSH Web Host and supervise its progress.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fly2kiana/codex-dsh-orchestrator/claude-code-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 Fly2Kiana/Codex-DSH-Orchestrator --skill claude-code-dsh
Clone the repo
git clone --depth 1 https://github.com/Fly2Kiana/Codex-DSH-Orchestrator

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 claude-code-dsh

README.md
[![agentmods](https://agentmods.dev/badge/skills/fly2kiana/codex-dsh-orchestrator/claude-code-dsh.svg)](https://agentmods.dev/skills/fly2kiana/codex-dsh-orchestrator/claude-code-dsh)
Your own site
<a href="https://agentmods.dev/skills/fly2kiana/codex-dsh-orchestrator/claude-code-dsh"><img src="https://agentmods.dev/badge/skills/fly2kiana/codex-dsh-orchestrator/claude-code-dsh.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,833 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.00037 $0.01833
Opus 5 $0.00018 $0.00916
Sonnet 5 $0.00007 $0.00367
Haiku 4.5 $0.00004 $0.00183

Measured 7d ago against content hash 71b62f40dba4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

claude-code-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 7d 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

Copies of this mod

1 near-identical copy found in the catalogue:

  • codex-dsh — 92% identical, 16 lines differ
skill/claude-code-dsh/SKILL.md · 44 lines

How it starts

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

Claude Code to DSH collaboration

This skill operates the standalone MCP bridge from Claude Code to the user's official DSH Web Host. The repository may be discovered under the broad dsh-plugin ecosystem topic, but it is not a DSH Cordis bundle and must not be installed with dsh plugin --profile ... add ....

Use the dsh_* MCP tools only after the project MCP server has been trusted interactively with Claude Code's /mcp flow. The bridge is connect-only: never start, daemonize, stop, or reconfigure dsh web. Do not modify DSH model settings except through the explicit typed routing fields described below; that operation has a disclosed global-default side effect.

Headless or dontAsk operation cannot complete human approval safely. If Claude Code cannot show the approval prompt, reject the approval or return to the user instead of continuing.

Workflow

Before any new delegation, build a compact handoff from already-known progress plus read-only workspace evidence: objective and completed work, Git HEAD/status and changed paths when available, focus code/Markdown paths, relevant tests, constraints, and unresolved issues. Tell DSH to read the focus paths first and avoid a repository-wide scan unless blocked. Never include secrets, raw large diffs, file bodies, caller chat, or internal reasoning. This is caller guidance, not new filesystem authorization; dsh-Agentlink does not receive prior caller conversation state automatically.

  1. Call dsh_host_status when Host availability is unknown. If unreachable, report the doctor/start command; do not start the Host yourself.
  2. When the user explicitly identifies an existing DSH Desktop session, call dsh_find_sessions and require one intended idle root result. Attach only with dsh_attach_session using the exact returned sessionId plus its fresh updatedAt, cwd, and title preconditions. Never attach by title alone or guess an id. Attach creates or reuses bridge-local mapping/claim state and may reconcile history for supervision, but it never returns or persists conversation bodies, prompts DSH, renames the session, or changes its model. After attachment, use dsh_followup with the compact handoff when work should continue. A routed follow-up uses the same user-priority, semantic-profile, live-catalog validation, re-read verification, and global-default side-effect rules as routed delegation; omit routing to inherit.
  3. Otherwise call dsh_delegate with a complete prompt and an existing absolute cwd. The user's explicit route request always wins. Otherwise omit routing to inherit DSH, choose flash for routine search/implementation/test repair, and pro for architecture or difficult multi-step debugging. Visual work must declare visualIntent="required" with complexity="low"|"high": low uses the official native Flash Vision; high requires an explicit user choice between official-flash-vision and modlens-pro. Do not choose a ModLens profile merely because visual evidence is needed. The bridge's automatic ModLens Flash fallback is limited to one attempt after bounded retries caused only by timeout, unreachable Host, or HTTP 5xx; when the visual policy fields are omitted, preserve an explicitly supplied legacy modelProfile="modlens-flash" for compatibility, but never treat it as the default visual route. A reasoningEffort must be advertised by the selected catalog model. For ModLens, include DSH-accessible absolute image paths in the text prompt; the bridge does not upload image bytes. Add a concise selectionReason when choosing autonomously. Explicit routing calls session.selectModel, which on DSH rc.6 also persists the selection as the global default for later sessions; inspect the returned warning and do not select explicitly when that side effect is unacceptable. Normally omit agentPreset; the bridge's installation-time default owns that choice. agentPreset chooses DSH agent composition, not workspace ownership or verified sandbox policy. The shipped code preset keeps the standard capability set through DSH Code Mode and is the preferred default for implementation or multi-step tool work. Use the default exclusive-write workspace claim for edits, preferably on a dedicated git worktree; use read-only only as a bridge-local cooperative claim for tasks that should not mutate files. It does not make DSH run in a read-only filesystem sandbox. Keep the returned BridgeTask id and root session id.
  4. Treat BridgeTask, root session, and turn as distinct. A completed turn can be followed by another turn in the same root session.
  5. Use dsh_wait for at most 30 seconds, then dsh_tail with nextCursor. Do not poll raw per-session seq values or assume mux since resumes history.
  6. Before a write, retain the latest task cursor and connection revision, then pass them as sinceCursor and expectedRevision. Inspect stale_view changes instead of blindly retrying. For the same known BridgeTask, use dsh_followup(mode="queue") for a later turn and mode="steer" only when guidance must enter the active turn's next step. Across caller tasks, never guess an old task id; start a fresh delegation when the matching BridgeTask id is not known and the user did not explicitly identify an existing DSH session.
  7. Inspect dsh_status.pendingInteractions. dsh_followup is not an answer channel.
  8. Answer questions only with dsh_answer_question and the exact pending request id/typed answers. Never infer sensitive credentials, publishing, or release answers.
  9. Treat every approval as sandbox escalation. Never auto-allow. Never auto-approve. Use dsh_resolve_approval(..., outcome="allow_once") only after the supervising human approval boundary; reject is the fail-closed response.
  10. Use dsh_cancel(scope="turn") to cancel only the active turn while preserving queue. Use scope="queue" only with a current queue snapshot and expect a non-atomic per-item result.
  11. Independently inspect DSH-produced files and test evidence before accepting the work. When collaboration is over, call dsh_release_workspace; this does not close the DSH session.

Read the full file on GitHub · 44 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. 7d ago First seen · 44 lines · 37 tokens per session scan A 71b62f40dba4

Subscribe to this mod's changes

claude-code-dsh is a skill published in the GitHub repository Fly2Kiana/Codex-DSH-Orchestrator (1 stars, last pushed 5d ago), licensed MIT. It adds 37 tokens to every session and 1,833 once invoked, about $0.0002 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

claude-code-dsh

Delegate bounded work from Claude Code to the user's existing official DSH Web Host while preserving typed supervision, task cursors, follow-up, and safe cancellation.

hootandy321/dsh-Agentlink · 37 tokens

codex-dsh

Delegate bounded work from Codex to the user's existing official DSH Web Host while preserving typed supervision, task cursors, follow-up, and safe cancellation.

hootandy321/dsh-Agentlink · 36 tokens

dsh-web-skin-developer

Build a new skin for the dsh-web skin collection (DSH Web GUI) and publish it into the Skin Center — the first-level settings section — scaffold with scripts/dsh-skin-new, author the v2 skin.json manifest plus skin.css token remap (pure asset directory, no package.json, no build step), validate with scripts/dsh-skin…

zhu1090093659/dsh-web · 120 tokens

dsh-sdk-upgrade

Safely select and install a compatible official @deepseek-ai SDK release for dsh plugin projects (dsh-web, dsh-trading, and similar monorepos) from npm using an isolated worktree, explicit cohort review, CI-equivalent validation, and controlled rollout — including syncing the project's declared DSH host-version floor…

zhu1090093659/dsh-web · 176 tokens

dsh-web-sdk-compatibility

Adapt and repair dsh-web after an approved official @deepseek-ai SDK/runtime cohort is selected or installed. Compare public API, type, service-injection, module-table, protocol, and behavior changes; map every change to repository consumers; implement the smallest fixes and durable compatibility contracts; handle…

zhu1090093659/dsh-web · 107 tokens

stage-assemble

How to execute a validated, currently authorized project/plan.json into one finished file. Start/resume with production.status; if planapprovalcurrent is false, pass the state to gate-control and stop instead of producing or opening child gates. Walk the signed EDL; do not re-plan. Host-neutral: VideoStudio-specific…

Orkas-AI/Orkas · 3 tokens