cli-deepseek-harness
БесплатноБез исполняемых скриптовНе проверенDeepSeek Harness (dsh) CLI executor for pinned headless one-task dispatch over a closed two-route DeepSeek V4.1 Flash roster.
от MichelKerkmeester★ 40 звёзд на GitHubОб этом скилле
DeepSeek Harness CLI Orchestrator - Cross-AI Task Delegation
Experimental executor kind. LLM Gateway
deepseek-v4.1-flash-1017is verified on dsh 0.2.2-rc.3 (2026-11-14) and is the default route. OpenCode Godeepseek-v4.1-flashwas proven on 2026-11-07 with an API key againsthttps://opencode.ai/zen/go/v1and stays out of defaults.
Orchestrate DeepSeek Harness (dsh, npm @deepseek-ai/dsh) for one-task headless runs: a read-only review, a single scoped implementation or an independent second opinion, with the model fixed by a checked-in route patch.
The offline contract pin is the source for every flag and failure shape: contract pin evidence.
Each live result applies only to the route and behavior the saved probe exercised. Keep every behavior outside the saved probes marked UNKNOWN with the reason.
Core principle: the harness owns model selection, so the caller owns composition. Every dispatch names exactly one roster route patch, the lineage patch and the guards patch, runs from a scratch cwd with a disposable DSH_HOME, and counts as complete only on exit 0 plus a completed final event.
1. WHEN TO USE
Activation Triggers
- Explicit dsh dispatch: the task names DeepSeek Harness,
dshordsh headless. - Cross-AI validation: an independent review or second opinion from a DeepSeek V4.1 Flash run that is not the calling runtime.
- One-task headless work: a bounded task that answers once and exits, with a machine-readable JSON event stream.
- Composition checks: proving the route, lineage and guards patches compose with
--dump-configbefore any model call.
When NOT to Use
dshis not on PATH, ordsh --versionis not the pinned version.- The task needs a model outside the two-route roster, a GLM or official DeepSeek route, or a provider the roster does not list.
- The task needs an interactive session, a human answer mid-run, plan mode or native goal rounds.
- The task requires OpenCode Go and
OPENCODE_API_KEYis not set. - The only cwd available is the repository root.
2. SMART ROUTING
The cli-external-orchestration hub routes a dsh dispatch here when the request names DeepSeek Harness, dsh, dsh headless or says "delegate to dsh". LLM Gateway is verified. OpenCode Go is proven on 2026-11-07 with an API key against https://opencode.ai/zen/go/v1.
command -v dsh and the pinned dsh --version decide whether a local dispatch can run, and both run before every dispatch.
Every run loads references/cli-reference.md and assets/prompt-quality-card.md first, before any intent selection.
Read ROUTER.md before selecting skill-local resources, and open only the matched files.
3. HOW IT WORKS
Execution Ownership
This packet owns the dispatch contract: the hard rules, the roster, the argv shape and the prompt mechanics.
For research and review lineages, the shared deep-loop runtime owns process construction through the experimental cli-deepseek-harness executor kind, described in fanout-executor.md. The verified LLM Gateway route is the default. OpenCode Go is proven on 2026-11-07 with an API key against https://opencode.ai/zen/go/v1 and remains explicit-only.
Do not add a packet-local wrapper, spawn path or command builder.
Closed roster: non-roster routes are FORBIDDEN. Two routes exist, LLM Gateway and OpenCode Go, both serving DeepSeek V4.1 Flash. Mistral work goes through cli-mistral-vibe, not dsh. providers-and-models.md section 2 is the one place the ids, endpoints and key variables are recorded. dsh validates no catalog membership, so a patch naming any other model would run. The preflight is the only gate.
The Dispatch Shape
cd "$RUN_DIR" && printf '%s' "$PROMPT" | DSH_HOME="$RUN_DIR/.dsh-home" \
dsh --profile headless --patch "$REPO/.dsh/patches/route-llmgateway-deepseek.patch.yml" --patch "$REPO/.dsh/patches/lineage.patch.yml" \
--patch "$REPO/.dsh/patches/guards.patch.yml" \
--json --permission-mode read-only --approval-policy never -
$RUN_DIR is a fresh scratch directory and $REPO is the checkout root, so all three patches are named by absolute path. Swap the route file for route-opencode-go-deepseek.patch.yml to use the other roster route. Name each patch by its literal file name: the preflight checks the roster from that name, and a patch hidden behind a variable fails route-patch-required. A writer uses workspace-write and names any directory it must write outside the cwd with --add-dir. The annotated shape and every flag are in cli-reference.md sections 3 to 5.
Dispatch Lifecycle
- Create the scratch cwd and set
DSH_HOMEinside it. - Run `command -v dsh
Установить cli-deepseek-harness в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashReadGlobGrepВложенные файлы
FAQ
Что делает скилл cli-deepseek-harness?
DeepSeek Harness (dsh) CLI executor for pinned headless one-task dispatch over a closed two-route DeepSeek V4.1 Flash roster.
Как установить скилл cli-deepseek-harness?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл cli-deepseek-harness запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic