dsh-studio

mcp
Security Audit
Warn
Health Warn
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Warn
  • process.env — Environment variable access in .github/workflows/release.yml
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

A portable DeepSeek Harness setup: sixteen plugins that make an agent work in small verified steps (second-model review, loop recovery, lazy MCP, local memory), plus a one-command installer.

README.md

dsh-studio

validate
DeepSeek Harness 0.2.2-rc.2
License: MIT

A portable setup for DeepSeek Harness (DSH). Twenty-seven plugin
bundles add rules, skills, MCP access, second-model review, recovery guards, and memory to an agent
session; @dsh-studio/setup mounts all of them with working defaults, and one PowerShell command
reproduces the setup on another machine.

What changes in a session:

  • The smallest complete change, with scope confirmed before it grows.
  • A fix is proven by its original failure instead of asserted.
  • Risky work comes back from a second model as a diff and a test report.
  • A runaway loop or a stranded goal ends with a result or a named blocker.
  • Context goes to the task: MCP tool schemas load on first use, bulky shell output is routed.
  • The repository is remembered between sessions, locally.

Every plugin is also installable on its own; use either the full setup or the individual plugins for
a given plugin, never both, because both mount the same row.

Install or update

Install individual plugins from Discover

The setup and every plugin are listed in the published market index:

https://sergey-akhalkov.github.io/dsh-studio/index.json

Enable Custom plugin markets (this adds the Discover tab), open Discover, and add that URL as
an index source. The index pins every listed version to a reviewed commit; install either the full
setup or individual plugins for a given plugin, never both, because both mount the same row. See
Manual install for the full steps.

DeepSeek Harness Discover tab showing the dsh-setup market index with the setup bundle and plugin entries

Installing the dsh-studio entry from Discover mounts the setup and its plugin rows, but it does
not enable the other shipped DSH bundles (tool worktree, Ralph, session search, terminal). Enable
them in Plugins, or use the full-setup command below. See
Shipped DSH bundles.

Install the full setup with PowerShell

Use this on Windows when you want the complete setup in one command. Run it from an ordinary
PowerShell window, not from a terminal hosted by DeepSeek Harness. Start DeepSeek Harness once and
quit it first so the desktop profile exists.

irm https://raw.githubusercontent.com/sergey-akhalkov/dsh-studio/main/install.ps1 | iex

The installer prints its plan, closes DeepSeek Harness, backs up the profile manifest and patch,
enables the shipped DSH bundles, installs or updates @dsh-studio/setup from the newest release,
verifies the result, provisions the local Hindsight runtime when uv and a DeepSeek key are
available, and starts the app again. Rerun the same command to update; when the newest release is
already installed, it changes nothing, and a configured Hindsight runtime is skipped without
prompting.

For -DryRun, a different profile, or a pinned version, download the script and run the file:

$installer = Join-Path $env:TEMP 'dsh-studio-install.ps1'
Invoke-WebRequest https://raw.githubusercontent.com/sergey-akhalkov/dsh-studio/main/install.ps1 -OutFile $installer
& $installer -DryRun

All options, the manual install, and the update behavior are in docs/install.md.

Dependencies

A missing optional runtime does not break startup: the affected adapter logs a failed connection, a
skill fails only when called, a review reports the missing provider, and everything else keeps
working. Install the runtimes for the plugins you want.

Dependency Needed for Install
DeepSeek Harness Desktop 0.2.2-rc.2 Running any plugin; the installer refuses an unsupported version Download DeepSeek Harness
PowerShell 5.1+ (7 recommended) The one-command installer Install PowerShell
Git The installer fetches the setup through a commit-pinned git spec Download Git
Node.js with npm Installing the two global CLI prerequisites below Download Node.js
uv (includes uvx) Serena MCP and the local Hindsight runtime Install uv
@nuphus/nuphus-mcp Nuphus MCP desktop and browser automation npm install -g @nuphus/nuphus-mcp
@fission-ai/[email protected] The six OpenSpec skills npm install -g @fission-ai/[email protected]
rtk The RTK routing rule and skill Install RTK
Codex CLI (bundled) The Codex subagent and the default workflow reviewer No separate install: the bundle ships @openai/codex 0.170.0; log in once with the command codex_subagent_status prints

What the setup installs

All Twenty-seven plugin bundles are mounted by default (@dsh-studio/plugin-telegram ships disabled),
and the setup applies owner defaults:
the deepseek-flash model at max reasoning effort, the dark theme, detailed transcript and usage
display, and the cordis agent preset. A profile's own cordis.patch.yml still outranks these
defaults.

"Always-on" contributions are a system-prompt section paid on every model step; on-demand skills are
listed in the catalog and load only when invoked.

Plugin bundles

Plugin Enabled contribution What it gives you
@dsh-studio/plugin-ponytail Always-on ruleset + ponytail skill Minimal-code discipline: the smallest complete change, no unrequested abstractions, a reply a busy person reads once. Vendored upstream prompt (MIT, ~0.7k tokens per step); alwaysOn: false keeps the skill and drops the section.
@dsh-studio/plugin-working-principles Always-on working contract + working-principles, verify-change, instruction-budget, and interface-design skills Keeps scope with the user, demands evidence for claims, makes dissent concrete, and turns failures into recovery instead of retries; verify-change proves a fix by its original trigger; interface-design applies the first-time interface test across UI, CLI, API, and agent-facing definitions. ~1.6k tokens per step.
@dsh-studio/plugin-rtk Always-on routing rule + rtk skill Routes bulky git, test, build, and search output through RTK, cutting shell-output tokens while keeping errors and exit codes; native commands remain the fallback. ~0.2k tokens per step; needs the rtk CLI.
@dsh-studio/plugin-serena Always-on large-file/cross-file refactor trigger + serena-discipline skill Symbol-level navigation and editing with exact callers instead of whole-file passes, limited to large-file and cross-file refactor work; ordinary reads and text stay on grep/glob/read/edit. The setup configures the serena lazy server, so reach it with mcp_tools/mcp_call; no static adapter row is mounted. Needs uvx; ~0.2k tokens per step.
@dsh-studio/plugin-nuphus-mcp Nuphus MCP lazy server guidance + nuphus-discipline skill Desktop and browser control for tasks that need the real UI: windows, keyboard and mouse, local OCR and vision, Chrome over CDP. The setup configures the nuphus-mcp lazy server: reach it with mcp_tools/mcp_call; no static adapter row is mounted. Machine writes require explicit confirmation by default. Needs the nuphus-mcp binary.
@dsh-studio/plugin-mcp-lazy mcp_tools and mcp_call proxy tools over dormant stdio MCP servers Keeps configured stdio servers from paying their tool-schema cost in every request: a server starts on its first mcp_tools/mcp_call, is reused for the session, and is terminated on unload. The model-facing tool set stays at exactly two tools. The setup configures nuphus-mcp and serena as its lazy servers and mounts no static adapter row. Text results only, stdio only; a server must not also be mounted as a static adapter row (a call fails with a one-home error if it is). See lazy-mcp.
@dsh-studio/plugin-openspec Six on-demand OpenSpec skills Spec-driven changes in every session: propose, explore, apply, update, sync specs, archive. The skills ship here; specs live in each workspace's openspec/. Needs the openspec CLI.
@dsh-studio/plugin-rust rust skill (on demand) MSRV-correct standard-library use, the narrowest cargo check/test/clippy command, and diagnosis for slow builds, slow tests, and growing target directories. No per-step cost.
@dsh-studio/plugin-telegram Private Telegram forum-group bridge (Host-only; disabled by default) One topic per root session: streamed assistant messages and error notices, a quoted echo of each direct GUI prompt, inline question and approval keyboards, remote prompts, /stop, /sessions, /new <idea> in General, and durable journaled admission. Outbound long polling only; one instance is one bot, one private group, and one instanceId, so a token is never shared; the group contains only the owner and the bot; token, owner id, chat id, and instance id stay in the machine-local profile patch. Inert until enabled. See Telegram.
@dsh-studio/plugin-exploratory-testing exploratory-testing skill (on demand) State-driven exploratory testing: a focus register ranks the next area from project evidence, one read-only OpenSpec cycle change drives timeboxed sessions, and an outcome change carries the user-classified findings, regression tests, spec corrections, and knowledge capture. Opt-in; no per-step cost.
@dsh-studio/plugin-refactoring refactoring skill (on demand) Evidence-driven refactoring: a read-only audit change ranks candidate paths by ROI from hotspots, change coupling, duplication, and defect history; the user approves one path; four proofs build a test safety net before the first production edit; small green steps restructure the code and leave an enforceable ratchet. Opt-in; no per-step cost.
@dsh-studio/plugin-issue-triage issue-triage skill (on demand) Turns open GitHub issues into evidence-backed verdicts, closes duplicates and already-fixed issues with a comment, drafts at most three clustered change proposals, and reports one summary table. Lead-only GitHub writes; no per-step cost. Needs the gh CLI and the OpenSpec CLI.
@dsh-studio/plugin-answer-page Always-on page trigger + answer-me-with-html skill Turns a complex answer or a requested page into one self-contained HTML page rendered offline inside the workspace: the model writes a compact Markdown draft and the bundled answer-me-with-html 0.5.10 CLI (MIT, by QingYunA) owns layout, diagrams, and styling. A short always-on section asks for a page when the answer explains a flow, architecture, comparison of three or more options, hierarchy, ranked findings, or a state machine — even when the user did not ask — while one-line facts, a code-change reply that is only a diff, delegated reports, and plain-text requests stay text. Bounded at 150 estimated tokens (592 bytes measured); alwaysOn: false keeps the skill and drops the section. The page stays under .tmp/answers/ in the workspace and is presented as a file. See answer-pages.
@dsh-studio/plugin-huashu-design English catalog entry for the pinned huashu-design skill The pinned third-party skill (MIT, by 花叔) is Chinese-only, so its catalog line and trigger words never route an English or Russian request. This adapter wins the huashu-design name with a rank between a user skill and the bundled root: the skills list shows an English description and English trigger words, and loading returns the installed upstream manual unchanged plus an English directive to talk in the user's language and write the deliverable's copy in English. It ships no upstream bytes and lists nothing when that bundle is absent; a local user or project skill still wins. See install.
@dsh-studio/plugin-loop-guard Host stream guard (no per-step prompt cost) Cuts repeated streamed reasoning early, steers a simple recovery notice into the next step, and escalates through bounded turn resets to a clear stop; enabled by default and subagents excluded. See loop-guard.
@dsh-studio/plugin-goal-continuity Host goal supervisor + block review + work_checkpoint pause gate (no always-on prompt section) Adopts a goal for an eligible substantial root turn, re-arms an active idle goal from a watchdog, prevents the driver's pause on a loop-guard reset while the guard's own follow-up owns recovery, extends the round cap within a bounded budget, and blocks with a visible continuity-stopped reason on real stops. Every proposed blocked update and goal-round question is reviewed by a read-only goal-reviewer preset subagent before it takes effect: a denial continues with the next action, a verified blocker names the exact user-only action, and verdicts/grants are recorded locally; the reviewer preset stays hidden from the mode roster. See goal-continuity. Continuation is evidence-based: a user Stop ends it by default (resumeAfterUserStop: never, with non-goal kept as an evidence-gated opt-in); a fresh work_checkpoint plan declaring done or naming a user_decision bottleneck without an authenticated answered/assumed decision disarms an armed goal without changing its phase; two consecutive no-effect goal rounds stop the run the same way. A timed pending ask with a reviewed reversible default becomes an authenticated assumption; a pending ask without an outcome withholds. A token limit, an agent error, an exhausted transport, or a final/unrecognized hook cancellation claims one compaction recovery and blocks with continuity-stopped if it cannot resume. Restart resume defaults to unattended; a restored session with missing or unreadable state withholds. Disabling the row restores stock behavior.
@dsh-studio/plugin-hindsight Native Hindsight memory + one-click local bootstrap Reuses the official native DSH plugin for automatic recall, retention, knowledge pages, and hindsight_* tools; defaults to a local hindsight-embed daemon at 127.0.0.1:8888 and autostarts it when unhealthy. The one-command installer provisions the runtime after the profile phase; setup-hindsight.ps1 runs only that phase. Disable the row or set autostart: false to opt out. See Hindsight.
@dsh-studio/plugin-codex-subagent Codex subagent provider with a pinned bundled CLI A second model for configured reviews, the visible codex_subagent child, and ad-hoc subagent work; runs @openai/codex 0.170.0 and reuses your ~/.codex login and configuration (the provider passes no MCP override). One login is required; codex_subagent_status reports the command and the resolved CLI, and the visible codex_subagent tool starts a native, continuable local child with an openable text transcript, native status and duration, and token usage when Codex reports it; write work stays on the external codex-subagent-write provider in an isolated worktree.
@dsh-studio/plugin-admin-indicator Desktop administrator label + shortcut Shows whether the Desktop app is elevated with the visible Standard User/Administrator badge next to the composer permission control; the menu creates an administrator desktop shortcut and shows a native success toast. The restart action is behind the default-off restart flag pending live UAC verification.
@dsh-studio/plugin-observability Observability dashboard: plugin health and signal counts derived from session logs (no second log) Answers whether a rule actually fired and a plugin is still working: a health verdict and KPI strip, an activity/error chart, plugin health cards grouped by attention with status words (active, error, not loaded, silent), tool distribution, and details on demand. The shipped per-plugin signal map covers every plugin; guidance rows name prompt-only plugins, and the blind spots are stated rather than hidden. Reads the session logs on demand and keeps nothing. See plugins.
@dsh-studio/plugin-worktrees Right-sidebar Worktrees panel: sizes, review, safe sweep (Host, no per-step cost) One place that owns every linked Git worktree of the workspace: a cleanup-first panel with each checkout's measured size, stacked linked totals with a rescan, selectable rows, a vertical workspaces overview, and the sweep log behind History. A scheduled sweep removes only merged-and-clean lane- worktrees without --force and keeps the branch. View changes shows a bounded read-only diff of unmerged commits and uncommitted files; an explicit acknowledgement gates the fingerprint-bound force delete, and a live turn refuses removal. Permanent protections (primary checkout, DSH-owned, locked, review snapshots, a checkout containing another one) survive even a confirmed delete; reports persist in the machine-local ~/.dsh-setup/worktree-reports/ store. See plugins.
@dsh-studio/plugin-workflows Workflows conversation view + obligation engine (review executor and gates) Records bounded, redacted process events per session, projects checkpoints, review records and approvals into one session timeline, explains each trigger decision, and reports listener health. Owns the native review executor and the task-review, work-progress, lane, goal-complete, and archive gates; writes only under .dsh/workflows/. See plugins.
@dsh-studio/plugin-notifications Client-only session attention: overlay notice, sound, system notification, title counter Signals a root turn that stops while the owner is elsewhere and an approval, question, or plan review that appears. A focused client showing the affected conversation stays silent; a focused client on another session or panel uses the in-app notice and sound; an unfocused or hidden window uses exactly one system notification (the session title with a fixed event body) and no in-app duplicate, while a denied permission or missing interface falls back to the in-app notice; the (n) title counter carries every signal. Finished turns coalesce into a summary, a viewed session is dropped before delivery, and Settings → General holds the three defaults-on switches with the permission control. Two clients of one origin may each notify, so keep one open; a closed page is silent and the Telegram bridge owns remote delivery. See plugins.
@dsh-studio/plugin-settings DSH setup Settings section (Client, no per-step cost) Lists every setup-owned row that exposes a live setting, renders a form from the Host schema, saves in place, resets a row to its inherited values, and exports or applies a deterministic portable JSON file. See plugins.
@dsh-studio/plugin-verification-gate Host turn-close gate (no per-step prompt cost) Refuses to close a code-changing turn until one configured check command has succeeded after the last edit/write; inert with no commands, capped after maxBlocks (default 8) consecutive refusals, and only the configured command (optionally prefixed by one rtk token) satisfies it. See verification-gate.

@dsh-studio/setup is the meta-bundle: one install mounts all Twenty-seven plugins
and applies the owner defaults, and its publishable files are vendored so a git install needs no build
| @dsh-studio/plugin-dependencies | Settings Dependencies page: a validated inventory, a bounded read-only update check, and a plan handoff | One place that answers whether anything upstream is newer: rows grouped by decision (updates ready, up to date, needs attention, could not check) with a fixed status chip and the disabled reason as a quiet line; machine presence as a separate fact; a sticky footer with one filled primary action; one confirmation that writes an ordered update plan into the current session without installing, rewriting a pin, or marking a row current. The inventory is derived-validated from the lockfiles, manifests, installer, NOTICE, and documented prerequisites; the check is once per run plus an explicit refresh, refuses redirects, and degrades to could-not-check. See plugins. |
step.

Shipped DSH bundles

Agent Teams is part of DSH 0.2.2-rc.2 and later (standard subagent tools and Session ids), so there
is no bundle to enable.

The installer also enables the optional DSH bundles the setup expects; the setup bundle does not
duplicate their rows:

  • Tool worktree (@deepseek-ai/dsh-experimental-tool-worktree) — per-agent git worktrees, so
    separate agents write without touching the same checkout.
  • Ralph (@deepseek-ai/dsh-experimental-ralph-bundle) — fresh-agent iteration rounds toward one
    immutable objective.
  • Custom plugin markets (@deepseek-ai/dsh-experimental-plugin-market-bundle) — the Discover
    tab and external market-index sources.
  • Session search (@deepseek-ai/dsh-experimental-session-search) — search across prior sessions.
  • Terminal (@deepseek-ai/dsh-experimental-terminal-bundle) — persistent terminal sessions for
    REPL and interactive work.

Pinned third-party bundle

The installer also installs one third-party bundle from a commit-pinned git spec:
huashu-design (MIT) — an HTML-native design skill
for prototypes, slides, infographics, App Store images, and motion, loaded on demand so it costs no
prompt text per request. The pin lives in dsh.json (installBundles.git), the
standalone installer carries the same spec, and a failed fetch warns instead of failing the
installation. Prerequisites, update, and removal:
install.

Development

Requires Node.js >=24.18.0 <25 and the pinned pnpm 11.28.5 (install
pnpm
).

pnpm install
pnpm check        # typecheck, lint, build, tests
pnpm validate     # full local gate, including generated-file and installer checks
pnpm dogfood      # Windows: verify install.ps1 against a copy of this machine's profile

Generated files are committed: the setup patch, lib/ output, and client.js bundles are built
ahead of time so bundles install from git without an install-time build step. Run pnpm gen after
changing a composition fragment and pnpm build after changing TypeScript sources; CI rejects a
commit whose generated files do not match their sources.

Documentation

Security

Installing a bundle runs its code with the permissions of the Harness process. Market entries pin an
exact git commit so the reviewed source and the running code are the same revision. Third-party
prompts and skills are vendored with provenance locks (ponytail.lock.json, openspec.lock.json)
that offline tests verify. The installer closes DeepSeek Harness while it writes the profile, saves a
manifest backup, and changes only the bundle selection and installed packages — never the profile's
own patch. This repository contains no credentials, sessions, or machine-specific paths.

License

MIT, copyright (c) 2026 Sergey Akhalkov. It covers the original code and documentation in
this repository. Vendored third-party content keeps its upstream MIT license and attribution, with
the upstream license shipped beside the files: the Ponytail prompt in
packages/plugin-ponytail/assets/ponytail/, the OpenSpec skills in
packages/plugin-openspec/assets/openspec/, and the Codex subagent provider in
packages/plugin-codex-subagent/.

Reviews (0)

No results found