Introduction¶
The philosophy behind DeepSeek Harness (DSH) is “everything is a plugin.” The community catalog now hosts 6,245 DSH plugins, and there are another 896 agent-skills repositories on GitHub. Browsing through search results is a shot in the dark—you can’t tell which ones haven’t had a commit in three months, or which ones are mass-published by the same author. dsh-radar bundles this data into DSH, scans it locally, and filters out the ones worth your attention based on thresholds you set.
What It Is¶
A new “Ecosystem Radar” entry appears in the sidebar. Clicking it opens a plugin and skill leaderboard. What sets it apart from a static ranking site is the last step: check any entries, generate an installation prompt, paste it into a conversation, and let the agent install them directly.
The generated prompt looks like this:
帮我把下面这些 DSH 扩展装上,装完逐个确认是否真的生效。
## 插件
- dsh-context · https://github.com/xxx/dsh-context
上下文透视面板,看这次会话被什么吃满了
- cc-safety-net · https://github.com/xxx/cc-safety-net
执行前守卫:破坏性 git 和文件命令会被拦下,读 SSH 密钥或 .env 的调用也拦。
插件用 `dsh plugin --profile <当前 profile> add <包名>` 安装,或走 plugin_manager。
装完到 插件 页确认对应行已启用,把失败的包名和报错贴出来。
For the skills section, it’s replaced with clone commands and a target directory, plus a note saying “no installation needed after cloning—just restart the session and confirm they’re recognized.”
How Auto-Discovery Works¶
All records are inlined in the page, and the scan runs locally in the browser. Opening the plugin or changing any setting triggers a full rescan of all 7,141 entries—measured at 27 ms (Node 24, one-shot cold scan).
| Dimension | Details |
|---|---|
| Vocabulary | 19 groups, 204 terms, covering memory / context / search / browser / vision / audio / UI / themes / usage / models / Git / security / workflow / remote / notifications / docs / data / entertainment / dev |
| Thresholds | Four sliders: stars and monthly downloads each get one; update recency and composite score each get one |
| Toggles | Include skills repos / Include archived / Prefer most recently updated |
| Match rules | Name and author count as one item; Chinese and English descriptions and category each count as one; any single hit triggers inclusion; more hits rank higher, ties broken by commit date then stars |
Measured differences across the three presets:
| Preset | Stars | Monthly DL | Updated | Score | Hits |
|---|---|---|---|---|---|
| Loose | 0 | 0 | 365 days | 30 | All |
| Standard | 0 | 0 | 180 days | 40 | 922 entries |
| Strict | 3,000 | 20,000 | 60 days | 60 | 118 entries |
Thresholds and vocabulary state are stored in browser localStorage and survive page refreshes.
Quick Start¶
dsh plugin --profile desktop add github:zz12hui/dsh-radar
After installing, restart DSH (quit from the tray and relaunch—a page refresh won’t do). The “Ecosystem Radar” entry will appear in the sidebar.
Don’t want the entry anymore? Turn off sidebarEntry in the plugin config. The entry won’t be registered, but /api/dsh-radar/* remains accessible.
Updating Data¶
The snapshot has two layers: data/radar.json bundled in the repo, and a local cache at ~/.dsh/cache/dsh-radar/snapshot.json. When the cache exists, it takes priority—so updated data won’t be lost even if you reinstall the plugin.
In the “Settings” card at the top-right of the panel, there’s an “Update Data (select sources to fetch)” option. You can toggle each source independently:
| Source | What it fetches | Typical time |
|---|---|---|
| npm plugin catalog | unpkg.com/dsh-plugin-catalog/index.json, ~6,900 plugins |
~13 s, 5.6 MB |
| GitHub topic:dsh-plugin | search/repositories?q=topic:dsh-plugin, top 3 pages by stars desc |
~1 s/page, rate-limited to 10 req/min unauthenticated |
If both are unchecked, the button refuses and returns “Select at least one data source before updating.” After fetching, it writes the cache and recomputes scores. The page reloads itself.
A few merge rules are worth knowing:
- Entries already in the catalog only get their description and category updated. Stars and download counts take the larger of the two values, so forgetting to check npm won’t zero out downloads.
- New repos found via GitHub search get an id of
owner/nameand are taggedsrc: github. They’re not on npm, so their download count is recorded as 0. - Archived repos are excluded. These repos no longer accept PRs, and they likely won’t work even if installed.
- The
dsh-plugintopic is used by various unrelated projects to game search—image uploaders, reverse-engineering tools, and the like. So new repos must mention dsh / deepseek / harness in their name, description, or another topic to qualify. This filter currently removes roughly a quarter of candidates. - If a page fails to load, the preceding pages are still used. The result line will note which page was missed rather than pretending everything loaded.
- Categories are inferred from repo topics and descriptions; if neither matches, the fallback is
tools. - Composite scores are recomputed across the entire table. When new entries come in, existing entries’ rankings shift too.
GitHub’s unauthenticated search rate limit is 10 requests/minute, which is enough for one update cycle. For higher limits, set the GITHUB_TOKEN environment variable on the DSH process and the plugin will pick it up automatically.
Viewing Repository Details¶
Four buttons at the end of each row: Details / Add / Copy / ↗.
“Details” opens a modal. At the top is the repo name, followed by the plugin description and repo URL. Then a line of metadata: stars, monthly downloads, last updated, plus license and category. Below that is the README body.
The README is fetched from api.github.com/repos/<owner>/<name>/readme with Accept: application/vnd.github.raw. After loading, it’s cached on the Host side for 40 entries / 10 minutes, so clicking the same repo repeatedly won’t re-fetch.
Before rendering, the HTML is flattened. Images are reduced to their alt text; links keep their title and URL. When badges appear one after another, they’re merged into a single “Images (badge group)” line. Without this, nearly every README opens with a full screen of badges.
READMEs over 400 KB are truncated, with a note at the bottom of the modal.
The ↗ at the end is a plain external link that opens https://github.com/<repo> in your system’s default browser.
What to Do After Selecting Entries¶
Check a few entries and the bottom overlay lights up with three options:
| Action | Result |
|---|---|
| Add to conversation | Returns to the conversation view, writes this batch of entries as installation instructions into the input box, writes only—doesn’t send—you can edit and press Enter yourself |
| Preview prompt | Opens a modal to preview the full text; confirm before copying |
| Copy | Copies directly to clipboard |
“Add to conversation” won’t overwrite whatever you’re typing. If there’s already a draft in the input box, the new content is appended after it.
The panel also has these features.
Top-left corner: “Back to conversation.” Esc works too, but it’s two-level: if the prompt modal is open, the first press closes the modal; a second press exits the panel.
Keyboard shortcuts follow Vim conventions. / jumps to the search box, j and k move the cursor up and down, Space toggles the checkbox on the current row, Enter sends that entry straight to the input box. The current row gets a blue bar on its left side, and if it scrolls out of view, the panel auto-scrolls to bring it back.
At the top of the leaderboard there’s a “Only show locally installed” checkbox—12 running plugins are easy to spot at a glance. Unchecked by default.
Which tab you were on and where you scrolled when closing the panel is remembered and restored exactly when you open it next time. State is stored in sessionStorage under dsh-radar-ui.
API¶
All endpoints accept same-origin requests only (validated via sec-fetch-site and Origin). Read-heavy.
| Method | Path | Description |
|---|---|---|
| GET | /api/dsh-radar/data |
Full snapshot, ~2.2 MB |
| GET | /api/dsh-radar/config |
{ sidebarEntry } |
| POST | /api/dsh-radar/config |
Writes sidebarEntry via config editor |
| GET | /api/dsh-radar/health |
Snapshot date, entry count |
| POST | /api/dsh-radar/refresh |
Fetches data sources and writes cache; body { npm, github, pages } |
| GET | /api/dsh-radar/readme |
?repo=owner/name, returns README text |
| GET | /api/dsh-radar/status |
Whether an update is in progress, last update time and result |
data and health are cached on the Host side for 5 minutes, so repeatedly opening the page won’t trigger repeated disk reads. refresh only allows one concurrent run; a second call returns “Update in progress.” The README parameter only accepts owner/name format—anything with .. or an incorrect number of slashes is rejected.
Data Schema¶
The snapshot is packaged in data/radar.json (2.2 MB). Fields use fixed-length arrays instead of objects, halving the size:
插件 [id, repo, cat, zh, en, stars, dl, pushed, score, lic, src]
技能 [id, owner, name, desc, stars, pushed, score, lic]
src is a source tag: npm means it came from the plugin catalog, github means it was newly discovered via topic search.
Composite score formula:
Plugins: 0.50 × stars + 0.34 × npm monthly downloads + 0.16 × update freshness
Skills: 0.62 × stars + 0.38 × freshness (150-day window)
Stars and downloads each go through log10 before normalization. Without this, the top ten would all be repos with tens of thousands of stars. Skills are normalized against their own pool’s max—using the plugin pool’s max stars would produce overflow values above 100.
Regenerating Data¶
Getting a new snapshot requires rerunning the full pipeline. Scripts live in scripts/, executed in order:
python scripts/collect.py # GitHub search, works without token, 10 req/min
python scripts/fetch-stars.py # Fill in star counts, ~4.5 req/s
python scripts/fetch-npm.py # Fill in npm monthly downloads
python scripts/build-ranking.py # Merge and score, output payload.json
python scripts/build-data.py # Generate data/radar.json
collect.py skips already-fetched queries, so you can resume if interrupted. The full pipeline takes roughly 10+ minutes, most of it spent on star counts.
build-data.py reads payload.json from the previous step. Intermediate data totals ~59 MB and isn’t committed to the repo. To rebuild, you need to complete the first four steps first.
Known Limitations¶
The bundled snapshot is frozen as of the packaging date (currently 2026-11-19). Clicking “Manual Update” pulls the latest data up to today, but the fetched data only lands in the local cache—the repo’s data/radar.json doesn’t change. To distribute a fresh snapshot to others, you need to rerun the five scripts in Section 10 and publish a new version.
Stars are attached to repos, not packages. The dozen or so plugins under @linxin666/dsh-* all share the same 11,000 stars, which is why their rankings are so close—it doesn’t mean each one individually has that level of traction.
Download counts are always 0 for plugins distributed purely via GitHub, so their weight in the composite score is capped at 0.34, with stars remaining the primary factor.
Categories are inferred from topics; repos pulled in via direct GitHub search especially tend to fall into tools.
On security: this site only ranks, it doesn’t audit. A plugin is something that can run arbitrary code on your machine. Even a guard like cc-safety-net is itself a plugin. Taking a quick look at the repo before installing is more reliable than looking at scores.
Verification¶
None of the four scripts require a browser.
tools/verify.mjs uses Node to extract pure functions from client.js and runs them against a real snapshot. 21 assertions in total.
node tools/verify.mjs
It checks that the math is correct: Standard preset hits 922 entries, full scan covers 7,141 entries, 204 vocabulary terms; Strict preset yields 118 entries, disabling all vocabulary zeros the result, enabling a single term group hits 89 entries. Sorting is monotonic, and prompt segmentation is correct.
The five input-box scenarios are also covered: no conversation → returns failure; empty draft → writes directly; existing draft → appends without overwriting; trailing whitespace is trimmed before appending; write error → doesn’t crash.
tools/load-check.mjs checks whether the plugin can actually mount. It loads client.js with a minimal React shim, runs apply(), then counts slot registrations.
node tools/load-check.mjs
You should see all three: sidebar.panellist, main, and conversation.composer.dock. Missing any one means the panel still opens, but the corresponding feature is dead.
Two more scripts test the Host side:
node tools/merge-check.mjs # 33 assertions, merge rules
node tools/routes-check.mjs # 27 assertions, six routes
merge-check.mjs runs merge logic with fake catalog entries and GitHub repos. It checks: existing rows keep their stars and downloads; new entries are appended; .git suffix is stripped; GitHub-only repos with stars are included; known repos aren’t duplicated; archived repos are skipped; scores fall in 0–100.
routes-check.mjs uses a fake webServer to send requests to all six routes: same-origin validation, method validation, README parameter validation (../etc/passwd, missing param, and slash-less format all rejected), fetching a real repo’s README and verifying the second hit serves from cache, and refusing updates when both sources are disabled. This one requires network access; the other three don’t.
License¶
MIT