Apache-2.0 DSH plugin that scores repos and npm packages on five dimensions with read-only `gh api` / `npm view` evidence, registering `score`, `score_report`, `score_badge` and a `/score` batch command in DeepSeek Harness.
DSH integration
Native runtime
Author-claimed
Safety audit
Unaudited
Last verified
2026-11-23
License
Apache-2.0
01What can it help you accomplish?
Score one repository or npm package on install success, maintenance, documentation, security and protocol compliance from inside DeepSeek Harness
A `dsh-score/v1` scorecard (`sc_...`) with total, grade, verdict and per-dimension status, score, weight and summary — each dimension carrying `source`, redacted `detail` and `observedAt` evidence
DSH users and reviewers deciding whether a plugin is worth installing, who need every number to be traceable
Batch-score a whole target list into a leaderboard instead of scoring repositories one by one
A JSON + Markdown leaderboard snapshot (`lb_...`) produced by the `score-batch` job on `ctx.jobs` and fetched afterwards with `score_report`
Maintainers of plugin lists and curation admins comparing many repositories at once
Put a live quality badge on a plugin README
A shields.io endpoint URL, a self-contained SVG (`badge.svg` / `renderScoreBadge`) and a Markdown snippet, plus five-dimension JSON under `schema: "dsh-score/badge/v1"`
Plugin authors who want a checkable quality signal on their own README
02How to install into DeepSeek Harness
Prerequisites
- DeepSeek Harness with a `dsh` CLI profile — `engines.dsh` gates the plugin to `>=0.2.1` < 0.3.0, `>=0.2.2` < 0.3.0 or `>=0.2.3` < 0.3.0; the README's last check ran on `dsh-v0.2.3-alpha.1`
- Node.js `^22.19.0 || >=24.9.0` from the compatibility table, plus `pnpm@11.7.0` for the development workflow
- `gh` on `PATH`, authenticated for API reads, and `npm` on `PATH` — without them the probes fall back to `no-evidence`
Installation steps
- 01
$ npm channel: `dsh plugin --profile web add dsh-score` — the prebuilt package needs no build approval
- 02
$ git channel: `dsh plugin --profile web add github:PerryLink/dsh-score#<commit-sha>` for the latest `main`; the first attempt fails because pnpm blocks the package's `prepare` build, so write the exact key pnpm prints into the profile's `pnpm-workspace.yaml` (`allowBuilds: 'dsh-score': true`) and retry
- 03
optional: change thresholds or weights by inserting the `score` row with a `config` block in the profile patch — every key is optional and illegal values fail loudly at load time
Verify the integration
- `dsh --profile web --dump-config | grep -A2 'id: score'` lists the inserted `score` row
- `/score owner/repo` prints `[1/1] owner/repo → B (88/100, healthy (weighted total 88/100))` on a working profile
Rollback
- `dsh plugin --profile web remove dsh-score`, or delete the inserted row from the profile patch
03DSH integration and capability boundaries
Native DSH plugin: `dsh plugin --profile web add dsh-score` inserts a `score` row into the profile, and the plugin registers the `score` / `score_report` / `score_badge` tools plus the `/score` command through `ctx.effect`, so a stop or hot reload revokes them
Five-dimension scoring (`score`)
a GitHub repo (`owner/repo`, `github:owner/repo` or a git/https URL) or an npm package name; `refresh: true` bypasses the cache, `background: true` starts a `score-batch` job→a `schema: "dsh-score/v1"` scorecard whose total is the weighted mean of the dimensions that carry evidence, graded `A` ≥ 90 down to `F`
runs read-only `gh api` and `npm view` probes as argv subprocessespersists the scorecard in the `score` storage domain when a `storageDomain` is mountedcaches scorecards per target for 24 hours by default (`cacheMaxAgeMs`)Batch leaderboard (`/score` + `score_report`)
a whitespace- or comma-separated target list after `/score` (`maxBatchTargets` defaults to 20, `batchConcurrency: 1` runs serially)→a JSON + Markdown leaderboard snapshot (`lb_...`); `score_report` returns a stored scorecard (`sc_...`), a leaderboard (`lb_...`), or the latest leaderboard when no id is passed
hands the list to the `score-batch` job on `ctx.jobs`probes serially by default so concurrent runs do not compete for the GitHub API quotaEmbeddable score badge (`score_badge`)
a `target` scored through the cache, or a stored scorecard `id` (`sc_...`) — the two are mutually exclusive, and `refresh` only applies to `target`→shields.io endpoint URL, self-contained SVG and a Markdown snippet, plus five-dimension JSON (`schema: "dsh-score/badge/v1"`)
Auditable evidence ledger
the CLI probe result behind each dimension→`source`, redacted `detail` and `observedAt` per dimension; a dimension without usable evidence reports `no-evidence` with the failure reason and scores 0, dropped from the weighted total
report and log strings pass through a pure redaction function and are truncated by bytes
04Who is it for? When not to use it?
Good for
- DSH users and reviewers deciding whether a plugin is worth installing, who need every number to be traceable
- Maintainers of plugin lists and curation admins comparing many repositories at once
- Plugin authors who want a checkable quality signal on their own README
Not for
- `engines.dsh` keeps the plugin inside the DeepSeek Harness 0.2.x range (the `>=0.2.3-0` line included); the README's last verification ran on `dsh-v0.2.3-alpha.1`, and the `ctx.jobs` seam relies on the `SessionId` contract
- The git channel fails on the first attempt because pnpm blocks the package's `prepare` build — the exact `allowBuilds` key has to be added to the profile's `pnpm-workspace.yaml` before retrying; the npm channel ships prebuilt and needs no approval
- Probing needs an authenticated `gh` with network access to GitHub and an `npm` CLI with registry access; a target that does not resolve to a GitHub repo gets `no-evidence` for documentation, security and compliance, and install success stays `no-evidence` unless `dsh-test-drive` is mounted with a record for that target
05Compatibility, maintenance and safety notes
- `engines.dsh` keeps the plugin inside the DeepSeek Harness 0.2.x range (the `>=0.2.3-0` line included); the README's last verification ran on `dsh-v0.2.3-alpha.1`, and the `ctx.jobs` seam relies on the `SessionId` contract
- The git channel fails on the first attempt because pnpm blocks the package's `prepare` build — the exact `allowBuilds` key has to be added to the profile's `pnpm-workspace.yaml` before retrying; the npm channel ships prebuilt and needs no approval
- Probing needs an authenticated `gh` with network access to GitHub and an `npm` CLI with registry access; a target that does not resolve to a GitHub repo gets `no-evidence` for documentation, security and compliance, and install success stays `no-evidence` unless `dsh-test-drive` is mounted with a record for that target
- Scorecards and leaderboards live in the `score` storage domain (tables `scores`, `leaderboards` plus a latest-leaderboard pointer); with no `storageDomain` in the composition the tools still work, but persistence is disabled and the reason is recorded
Apache-2.0 · active — last push 2026-11-18, latest release v0.2.31 (2026-11-22); README states verification against DeepSeek Harness `dsh-v0.2.3-alpha.1`
06Frequently asked questions
How do I install dsh-score into DeepSeek Harness?
Two channels: `dsh plugin --profile web add dsh-score` for the prebuilt npm package, or `dsh plugin --profile web add github:PerryLink/dsh-score#<commit-sha>` for the latest `main`. The git channel fails the first time because pnpm blocks the package's `prepare` build — write the exact key pnpm prints into the profile's `pnpm-workspace.yaml` as `allowBuilds: 'dsh-score': true` and retry.
Which tools and commands does it add to my DSH profile?
Three tools — `score` (single target, `refresh` / `background` flags), `score_report` (fetch scorecards `sc_...` or leaderboards `lb_...`) and `score_badge` (shields.io badge plus five-dimension JSON) — and one command, `/score <targets...>`, which hands the list to the `score-batch` job on `ctx.jobs`. Everything is registered through `ctx.effect`, so removing the plugin revokes it.
Does it install or execute the repositories it scores?
No. The pipeline only runs read-only `gh api` and `npm view` calls, each as an argv array that never passes through a shell; the target is not installed, built or executed. Probing does need an authenticated `gh` with network access to GitHub, and the npm side needs `npm` plus registry access.
Why is the install-success dimension scored 0?
That row reads its result from `dsh-test-drive`: when the plugin is not mounted, or has no record for the target, the install dimension is reported as `no-evidence` — 0 points, excluded from the weighted total and renormalised — instead of an estimated number. Targets that do not resolve to a GitHub repo get `no-evidence` for documentation, security and compliance too.
Where do scorecards live, and how do I remove the plugin?
Scorecards and leaderboards go into the `score` storage domain (tables `scores`, `leaderboards` plus a latest-leaderboard pointer); without a mounted `storageDomain` the tools still work, but persistence is disabled and the reason is recorded. Remove it with `dsh plugin --profile web remove dsh-score`, or delete the row from the profile patch.
07Related DSH workflows
dsh-our-free-model
by ebony-vinyl
Adds model choices, availability checks, usage panels, and a local OpenAI-compatible forwarder.
dsh-routing-suite
by yjh051108
dsh-routing-suite — injector + router-standard kit: install the runtime injector first, then the task-aware reasoning-mode router preset (measured P1-P23).
dsh-ops
by t-auto
Run Bash and PowerShell commands, search and edit local files, and manage long-running background jobs from DSH.
dsh-connect-workbuddy
by dingminhua
Connect locally signed-in WorkBuddy models to DeepSeek Harness with a read-only credits overview and model management.
08Data and sources
面向 DeepSeek Harness 的本地评分器:只调、`gh api` 与 `npm view` 采证,不安装、不构建、不执行被评对象;证据缺失时如实记 `no-evidence`,绝不编数字。
- **工具面自持。** 只注册 `score`、`score_report`、`score_badge` 三个工具与 `/score` 一个命令,全部经 `ctx.effect` 注册,停止/热重载即撤销。
dsh plugin --profile <name> add dsh-score
This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-11-23. Found an error? Submit a correction.
Best DeepSeek Harness Plugins
Twelve plugins worth installing first — picked from the whole catalog, across every category.
