Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от MichelKerkmeester★ 40 звёзд на GitHub

Об этом скилле

DeepSeek Harness CLI Orchestrator - Cross-AI Task Delegation

Experimental executor kind. LLM Gateway deepseek-v4.1-flash-1017 is verified on dsh 0.2.2-rc.3 (2026-11-14) and is the default route. OpenCode Go deepseek-v4.1-flash was proven on 2026-11-07 with an API key against https://opencode.ai/zen/go/v1 and 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, dsh or dsh 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-config before any model call.

When NOT to Use

  • dsh is not on PATH, or dsh --version is 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_KEY is 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

  1. Create the scratch cwd and set DSH_HOME inside it.
  2. Run `command -v dsh
Полный SKILL.md на GitHub

Установить cli-deepseek-harness в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash
Read
Glob
Grep

Вложенные файлы

README.mdROUTER.mdassets/prompt-quality-card.mdassets/prompt-templates.mdchangelog/v1.0.0.0.mdchangelog/v1.0.1.0.mdchangelog/v1.0.2.0.mdhard-rules.jsonmanual-testing-playbook/cli-invocation/keyless-boot-per-route.mdmanual-testing-playbook/cli-invocation/repo-root-dispatch-refusal.mdmanual-testing-playbook/fanout/deep-research-lineage.mdmanual-testing-playbook/guards/dispatch-rule-check-suite.mdmanual-testing-playbook/guards/repo-guards-plugin-suite.mdmanual-testing-playbook/manual-testing-playbook.mdmanual-testing-playbook/mirrors/sync-generator-checks.mdmanual-testing-playbook/model-dispatch/llmgateway-route.mdmanual-testing-playbook/model-dispatch/opencode-go-route.mdmanual-testing-playbook/patches/guards-patch-boot.mdmanual-testing-playbook/patches/mcp-code-mode-row.mdmanual-testing-playbook/patches/route-and-lineage-composition.mdmanual-testing-playbook/stress/auth-failure.mdmanual-testing-playbook/stress/budget-rejection.mdmanual-testing-playbook/stress/child-spec-gate.mdmanual-testing-playbook/stress/model-or-balance.mdmanual-testing-playbook/stress/node-modules-integrity.mdmanual-testing-playbook/stress/orphan-cleanup.mdmanual-testing-playbook/stress/partial-lineage-death.mdmanual-testing-playbook/stress/rate-limit.mdmanual-testing-playbook/stress/sandbox-permission.mdmanual-testing-playbook/stress/self-invocation.mdmanual-testing-playbook/stress/stdin-hang.mdmanual-testing-playbook/stress/timeout.mdmanual-testing-playbook/stress/transport-missing.mdmanual-testing-playbook/stress/worktree-collision.mdreferences/cli-reference.mdreferences/fanout-executor.mdreferences/guards-and-hooks.mdreferences/mcp.mdreferences/providers-and-models.mdreferences/repin-runbook.md

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), без исполняемых скриптов.

Похожие скиллы

Сравнить cli-deepseek-harness с