dsh-runner

dsh-runner is a skill for Claude Code from bestdeejay-design/agent-skills. It costs 260 tokens per session (1,882 once invoked), scanned A, original, MIT.

A way to run DeepSeek Harness as a separate coding agent in an isolated workspace. It records the agent’s steps as JSONL logs, a line-by-line machine-readable format, and can run tasks in parallel.

In plain words
What is it for?
Use it to run bug fixes or code-generation tasks in a clone, compare multiple models on the same task, review session logs, or start an interactive agent web interface.
Why use it?
It lets you delegate coding work without giving the agent access to unrelated files, while keeping a detailed record of what happened.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter. Also seen: mentions OpenCode.

Good fit Use it to run bug fixes or code-generation tasks in a clone, compare multiple models on the same task, review session logs, or start an interactive agent web interface.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bestdeejay-design/agent-skills/dsh-runner
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 bestdeejay-design/agent-skills --skill dsh-runner
Clone the repo
git clone --depth 1 https://github.com/bestdeejay-design/agent-skills

Made for: Claude Code.

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-runner

README.md
[![agentmods](https://agentmods.dev/badge/skills/bestdeejay-design/agent-skills/dsh-runner/github.svg)](https://agentmods.dev/skills/bestdeejay-design/agent-skills/dsh-runner)
Your own site
<a href="https://agentmods.dev/skills/bestdeejay-design/agent-skills/dsh-runner"><img src="https://agentmods.dev/badge/skills/bestdeejay-design/agent-skills/dsh-runner/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-runner

Your own site · 80×15
<a href="https://agentmods.dev/skills/bestdeejay-design/agent-skills/dsh-runner"><img src="https://agentmods.dev/badge/skills/bestdeejay-design/agent-skills/dsh-runner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 260 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,882 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.00260 $0.01882
Opus 5 $0.00130 $0.00941
Sonnet 5 $0.00052 $0.00376
Haiku 4.5 $0.00026 $0.00188

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

Security

Grade A, and why

dsh-runner 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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/dsh_task.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/dsh-runner/SKILL.md · 130 lines

How it starts

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

dsh-runner

Автономный агент DeepSeek Harness (dsh) как внешний исполнитель задач: изолированная папка-workspace, полный JSONL-лог каждого шага, никакого доступа к файлам вне задачи.

Загружай этот скилл, когда нужно запустить агента на реальной задаче в отдельном окружении: починить баг в клоне репозитория, сгенерировать код по описанию, прогнать одну задачу на разных моделях и сравнить результат.

🎯 When to use

Use this skill when:

  • Просят «запусти агента на репо», «почини баг автономно», «агентная задача»
  • Нужен изолированный прогон: агент не должен трогать файлы вне workspace
  • Нужен полный лог сессии (JSONL) для аудита каждого шага
  • Нужно сравнить 2+ модели на одной задаче (по качеству и токенам)
  • Нужен Web UI для интерактивной работы с агентами (dsh web)

Do NOT use when:

  • Задача простая и решается напрямую (мелкая правка, вопрос) — прямое редактирование быстрее, чем подъём агента
  • Нет API-ключа и нет OpenAI-совместимого endpoint — dsh без них не запустится
  • Нужна классическая оценка качества модели на бенчмарках (MMLU и т.п.) — это lm-evaluation-harness, а не dsh
  • Нужен полный контроль каждого правки с апрувами — оставайся в основном агенте

📦 Files

  • SKILL.md — этот файл
  • scripts/dsh_task.py — запуск одной агентной задачи (Python SDK, JSON-RPC)
  • references/runbook.md — чек-листы, типовые ошибки, примеры конфигов

🧰 Usage

0. Требования (один раз)

# Python 3.10+; SDK:
pip install deepseek-harness-sdk

# API-ключ: DEEPSEEK_API_KEY в env…
export DEEPSEEK_API_KEY=sk-...

# …ИЛИ ключ DeepSeek из auth.json opencode (провайдер `deepseek`) —
# dsh_task.py подхватит его автоматически:
# ~/.local/share/opencode/auth.json → ~/.config/opencode/auth.json

# ИЛИ свой OpenAI-совместимый endpoint (vLLM и т.п.):
# export DEEPSEEK_BASE_URL=http://127.0.0.1:8000/v1

# Модель (по умолчанию deepseek-v4-flash):
# export DSH_MODEL=deepseek-v4-flash

1. Одна задача в изолированном workspace

python3 skills/dsh-runner/scripts/dsh_task.py \
  --workspace /tmp/agent-ws/dj1 \
  --session-root /tmp/agent-sessions \
  --session-id fix-001 \
  "В репозитории падает тест test_player.test.ts. Найди причину и почини."

Read the full file on GitHub · 130 lines

Files

What ships with it

3 files 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. 9d ago First seen · 130 lines · 260 tokens per session scan A f502d3475555

Subscribe to this mod's changes

dsh-runner is a skill published in the GitHub repository bestdeejay-design/agent-skills (5 stars, last pushed yesterday), licensed MIT. It adds 260 tokens to every session and 1,882 once invoked, about $0.0013 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.