Read-only repo bootstrap scanner (repo_setup_scan tool): detects stack/tests/docs/git/db and recommends plugins, MCP servers and hygiene files.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-repo-setup
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:gongyijie85/dsh-repo-setup
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
Repo bootstrap guidance for the DeepSeek Harness (DSH) — the counterpart of Anthropic's claude-code-setup.
Registers one read-only tool, repo_setup_scan: it inspects a project
directory (language stack, test setup, docs, git, Docker and database hints)
and returns setup recommendations — which DSH skill plugins to install, which
MCP servers to mount, which hygiene files to create. It never modifies
anything.
Install
# npm
dsh plugin --profile web add dsh-repo-setup
# GitHub
dsh plugin --profile web add github:gongyijie85/dsh-repo-setup
# Local folder (development)
dsh plugin --profile web add D:\plugins\dsh-repo-setup
Restart the profile (dsh web). The model then calls repo_setup_scan
automatically when entering a new or unfamiliar repository (or just ask:
"scan this repo and tell me how to set it up").
Tool: repo_setup_scan
| Parameter | Description |
|---|---|
path |
Project directory to scan. Defaults to the current working directory. |
Outputs a Markdown report:
- Detected stack — stack markers (package.json / pyproject.toml / Cargo.toml / go.mod / Dockerfile, ...) including frontend frameworks and test runners
- Repo hygiene — missing AGENTS.md, git not initialized, no tests, database hints
- Recommended installs — one-command installs:
mattpocock-skills-dsh(grilling / to-spec / to-tickets / tdd / code-review workflow)superpowers-dsh(planning → TDD → review methodology)dsh-ponytail-skills(anti-over-engineering)dsh-claude-mem(optional: cross-session memory)dsh-mcp-manager(to mount the MCP servers below)- MCP servers: context7 (library docs), playwright (frontend), postgres, github (depending on what the scan detects)
How it works
- Bundle layer —
cordis.patch.ymlinserts a plugin row over the dsh-base layer. - Tool —
lib/index.jsregistersrepo_setup_scanwithdefineToolfrom@deepseek-ai/dsh-tools; the scan is read-only (a bounded set of known files + top-level directory listing), with no writes at all. - Zero runtime dependencies — Node built-ins plus the harness-injected
@deepseek-ai/dsh-toolspeer dependency.
Development / verification
node --check lib/index.js
node scripts/verify-tool.mjs # fake-ctx registration + scan against real dirs
License
MIT. See LICENSE.
Links
More in this category
Tencent/WeKnora#dsh-weknora★ 37401
Four read-only tools over a WeKnora knowledge base: list knowledge bases, hybrid passage search, reassemble one document's chunks in order, and WeKnora's own cited RAG or ReAct-agent answer with a resumable session id.
DayuanJiang/next-ai-draw-io#dsh-plugin★ 36932
Draws draw.io diagrams in DeepSeek Harness through the next-ai-drawio MCP server: the link in the reply opens a live preview in the right sidebar, you can edit the diagram by hand, and each AI change is a version you can restore. Node.js 18+; npx downloads the MCP server on first use.
superdesigndev/treg★ 7929
Tool catalog for agents: search ~2,600 external endpoints (SEO and SERP, backlinks, social, people and company enrichment, ad libraries, scraping) by the task you want done, read each one's parameters and per-call price, then call it with the credential injected server-side. Ships the skill plus an MCP row that stays disabled until TREG_TOKEN is set.
T-Auto/dsh-ops★ 5798
Provides bash, PowerShell 7, and high-performance Rust tools for DSH on Windows to reduce token usage.
sixtysevenlf/dsh-blender-plugin★ 2081
Lets a DSH agent drive a local Blender over a direct TCP channel with 15 tools: viewport frames, custom-angle renders, Python execution, headless and job offload, transaction rollback, and a planning layer of 228 ops across 34 families.
yjl9903/AnimeGarden#dsh★ 1400
Anime Garden for DSH: search anime torrent resources from 動漫花園, 蜜柑计划, 萌番组 and ANi inside DSH — via chat, a sidebar panel with fansub and type filters, a seasonal calendar, and an in-app floating player.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.