Introduction¶
When conducting competitor or open-source ecosystem research in DeepSeek Harness (DSH), a common practice is to manually switch keywords on GitHub, browse through several pages of results, and compile a list based on intuition. Generic terms are easily drowned out by large repositories, and projects that don’t clarify their purpose in the short description but detail it in the README are easily missed. Below, we introduce the networked tool plugin dsh-plugin-deep-scan by maintainer 121212165: it uses a reproducible pipeline to transform colloquial sector requirements into a ranked list of candidate repositories annotated with discovery channels.
What is this¶
dsh-plugin-deep-scan is a DSH plugin positioned as a “GitHub Sector Deep Scanner.” It strings together “multi-word search → term extraction from hits → iteration → stop-loss based on marginal returns” into a fixed workflow. It is suitable for answering: what open-source projects or competitors exist in a specific sector, where a product should be positioned, and whether any large repositories have been overlooked.
The plugin is categorized as a networked tool in the SkillHub Directory; source code and documentation are available in the GitHub Repository. The current package version is 0.1.0, licensed under MIT, and requires Node >= 22.18.
Core Pipeline¶
The user or agent provides several search terms (2–4 synonyms or Chinese/English variants recommended; GitHub qualifiers like pushed:>2025-06-01 can be included within terms). The plugin executes in rounds:
- First Round (Each term × 4 channels parallel)
- Phrase:
"term"exact phrase match; highest precision. - Loose: Term matches name, description, and topics; sorted by stars.
- Readme:
term in:readme; captures repositories not detailed in the short description but fully explained in the README. - Topic:
topic:x; sweeps extensions based on tags derived from precise hits.
- Phrase:
- Term Mining: Statistics on high-frequency tags within the topics of the precise hit pool (filters out noise like ai/llm, excludes already searched terms, and requires an occurrence count ≥ 2 for selection).
- Rounds 2..N: Use the mined
topic:xxxas new search terms and repeat the pipeline. - Stop-loss: Ends if the proportion of new discoveries in a round falls below
newKeepRatio(default 25%), or if no new terms can be mined. DefaultmineRounds: 2(up to 2 iterations after the first round, totaling a maximum of 3 rounds). - Ranking & Output: Channel priority is Phrase > Loose > Readme > Topic; within the same channel, sorted by stars. README summaries are appended for Top N repositories, along with the full candidate pool annotated with the hit channel and matched terms.
/deep-scan returns a ranked candidate pool rather than a raw list of a fixed page count. The GitHub Search API has a limit of 1000 results per query; cross-industry generic terms will enter noisy channels, but by design, noise sinks to the bottom of the Loose/Readme results and does not affect the ranking of the “deep dive” section.
Installation & Activation¶
Installation steps are detailed in the README. The tested environment is @deepseek-ai/dsh@0.1.7-alpha.1, and pnpm must be in the PATH.
① Install to profile
dsh plugin --profile web add github:121212165/dsh-plugin-deep-scan
dsh plugin forwards arguments to pnpm; git packages automatically run prepare to build lib/.
② Merge cordis patch
Merge the contents of cordis.patch.yml from the repository root into $DSH_HOME/profiles/web/cordis.patch.yml. The default file is []; you should either replace it entirely or merge the insert entries into the same array. Do not simply append, otherwise two YAML documents will appear, causing a startup error: failed to parse overlay ... end of the stream or a document separator is expected.
③ Restart DSH
Both the configuration layer and the client require a restart to take effect; a hard refresh in the browser is insufficient to load the new rev.
Self-check:
dsh --profile web --dump-config | grep dsh-plugin-deep-scan
The plugin entry should be visible.
The plugin runs under the permissions of the current dsh process. Please review the source code and MIT license before installation, and configure your GitHub token properly (see next section).
Configuration¶
| Field | Default | Description |
|---|---|---|
tokenEnv |
[GITHUB_TOKEN, GH_TOKEN] |
GitHub token; search is limited to ~10 requests/min without a token. Setup recommended. |
perChannel |
30 |
Number of items fetched per term per channel. |
mineRounds |
2 |
Number of automatic term-mining iterations after the first round. |
deep |
5 |
Number of repositories for deep dive (README summaries). |
newKeepRatio |
0.25 |
Stop-loss threshold if the proportion of new discoveries falls below this value. |
Typical Usage¶
Slash Command (Separate multiple terms with |, supports full-width |, max 6):
/deep-scan 写小说|网文|AI novel
Agent Tool deep_scan:
{ "queries": "写小说|网文|AI novel", "language": "...", "minStars": 0 }
language and minStars are optional; for very broad sectors, use minStars to narrow down results.
Search terms should be specific; avoid overly generic industry terms (e.g., just “review / continuation / workflow”) dominating the noisy channels. Term mining is based solely on topic tags; functional words in descriptions require the agent to read the report and perform additional searches—the plugin handles the reproducible pipeline, while semantic jumps are completed by the agent.
Use Cases & Notes¶
Suitable for: DSH users and agent workflows that need to systematically scan a specific sector on GitHub, create open-source competitor lists, or discover repositories with “sparse descriptions but thick READMEs.”
Boundaries (Noted in README):
- Rate limiting is significant without a token; even with a token, the API limit of 1000 results/query still applies.
- Cross-industry generic terms will introduce some noise, but ranking prioritizes high-precision channels and stars.
- The community directory SkillHub is an independent site and has no official affiliation with DeepSeek or High-Flyer; the DSH ecosystem philosophy is “everything is a plugin,” and this plugin is one of 121212165’s dsh plugin family.
Conclusion¶
dsh-plugin-deep-scan integrates GitHub multi-channel search, topic term-mining iteration, and marginal stop-loss into a single /deep-scan pipeline. It outputs a ranking annotated with channels and matched terms, facilitating sector-level repository discovery within agent conversations. Installation commands and patch merging methods are subject to the repository README; for further details and issues, see GitHub: 121212165/dsh-plugin-deep-scan, and for the directory entry, see the SkillHub Plugin Page.