Introduction¶
In the DeepSeek Harness (DSH) ecosystem, before writing a plugin you often need to answer a few questions: How many existing implementations are there in this direction? Which competitors do my keywords hit? Will this name clash with an existing plugin? In the past, these tasks relied on ad-hoc scripts and scattered commands with inconsistent scope and poor reproducibility. dsh-market-census turns “counting competitors, checking for duplicates, and tracking new additions” into a single, reproducible tool invocation.
What It Is¶
dsh-market-census is a Host-only plugin for DSH: it reads a locally cached snapshot of awesome-dsh-plugin and answers four questions offline—total market size, category/keyword statistics, competitor search, near-duplicate detection, and new additions. It is read-only, deterministic, offline, and does not call any model.
Core Capabilities¶
The plugin provides four tools. When path is omitted, it is resolved by priority: DSH_MARKET_FILE environment variable → $DSH_HOME/market/plugins.json.
market_census({ path?, keywords?, top? })-
Returns total plugin count, last update time, Top N categories, and keyword hit counts.
-
market_find({ query, path?, limit? }) -
Competitor search: exact name match first, then name substring, then description substring; results sorted by star count.
-
market_dupe({ name, description?, path?, threshold?, limit? }) -
Duplicate check: based on character bigram Jaccard (name weighted at 0.65), returns one of three states—
taken(same name),crowded(near-duplicate ≥ threshold),clear. -
market_delta({ since, path?, top? }) - Returns the number of new plugins added after a given date, category distribution, and sample names.
Installation & Activation¶
Install command:
dsh plugin --profile desktop add https://github.com/Daphne999/dsh-market-census
After installation, restart DSH and set DSH_MARKET_FILE (or pass path explicitly at invocation time).
Typical Usage¶
Get total market size and Top 5 categories:
market_census({ top: 5 })
Count hits for a set of keywords:
market_census({ keywords: ['peak', 'error'], top: 10 })
Search competitors by name:
market_find({ query: 'offpeak', limit: 5 })
Check whether a plugin name is taken or near-duplicate:
market_dupe({ name: 'my-plugin', threshold: 0.7 })
View the distribution of new additions over the last day:
market_delta({ since: '2026-11-22', top: 10 })
Use Cases & Caveats¶
Well-suited for market census and duplicate checks before developing a new plugin; for tracking existing implementations by keyword or category in a CI pipeline; or for verifying naming conflicts. The plugin runs with the permissions of the current DSH process—review the source code and license before installing.
Closing¶
dsh-market-census turns “counting competitors” into a single reproducible tool call, so you don’t reinvent the wheel. Project: GitHub.