Introduction¶
DeepSeek Harness (DSH) supports plugin-based extensibility, but the default search page is often cluttered with pay-per-click (PPC) ads, which is not ideal for agent development scenarios that require “clean results.” Below we introduce the dsh-clean-search plugin by perfectnym, which provides DSH with an ad-free search homepage, consolidating official-site-first results, market quotes, weather, special phone numbers, and image-based search into a single search page.
What It Is¶
dsh-clean-search is an ad-free search homepage plugin designed for DeepSeek Harness (0.2.x). Maintained by perfectnym, it is categorized under web tools. It performs searches via the DeepSeek Search API, with a built-in ad-domain library and marketing copy heuristics to demote and tag PPC, training, and medical ads. It also integrates weather, market charts, special numbers, and image-based search into the same search page, reducing the time cost of switching between multiple tools.
Core Features¶
Below is an overview of the verified capabilities.
Ad-Free Search¶
- Uses the DeepSeek Search API, with results ranked by “official exam sources > brand/authoritative official sites > others.”
- Built-in ad-domain library and marketing copy heuristics to demote and tag PPC ads, training ads, and medical ads.
- Search history and suggestions (↑↓ / Tab).
- 6-hour result cache and URL normalization/deduplication.
- Falls back to DSH’s
ctx.websearch on failure. - Dark mode auto-adaptation.
Company Official Site Pinned + Market Data¶
- When searching for companies with stock quotes (A-shares / HK stocks / US stocks), the company’s official website is pinned as the first result, followed by K-line/intraday charts, with news and other content ranked below.
- Any A-share company can have its official website automatically resolved via East Money’s public company data (e.g., “Yili Group” → yili.com).
Brand and Regional Aliases¶
- Built-in 116 brand/service official-site mappings (Cai Bai, Google, Zhipu, CNKI, Zhihu, 12306, etc.).
- Supports regional site aliases (e.g., “JP Amazon” / “Japan Amazon” →
amazon.co.jp).
Market Data Direct Access¶
- Real-time quotes for stocks / forex / futures / indices + daily K-line + intraday.
- Automatic recognition of Chinese company names (e.g., “Tencent Holdings” → HK 00700).
- Pure-numeric queries only recognize full 6-digit A-share codes (000002 → Vanke A).
- US stocks have daily K-line only; A-shares and HK stocks have intraday data.
Special Phone Numbers¶
- 36 common numbers (110 / 119 / 120 / 114 / 12306 / 12345 / 12315 / 95588 / 10086 / SF Express, etc.).
- Supports three recognition modes: “pure number,” “number + customer service,” and “brand + customer service phone.”
- Number cards include an official-site link or a dial button.
Weather¶
- Uses the Open-Meteo API (no key required).
- Provides air quality, dressing index, and a 15-day forecast.
- Supports city switching and locally remembers the last selected city.
Image-Based Search¶
- DeepSeek web image search + multi-engine fallback links.
- Automatic compression of large images before upload.
- Recognition results formatted in Markdown: similar images in a grid, source web pages in a list.
Installation & Activation¶
Before installing, make sure DeepSeek Harness (0.2.x) is already installed.
Local directory installation (for development):
dsh plugin --profile desktop add link:<path-to-this-repo>
You can also select this directory via DSH’s “Plugins → Add Plugin” menu, or install it through plugin_manager.
After installation, fully quit DSH and relaunch it. “Clean Search” will appear in the left sidebar.
Configuration¶
The plugin is configured via the config field in cordis.patch.yml:
| Field | Default | Description |
|---|---|---|
city |
Shanghai | Default city on the homepage |
count |
10 | Default number of search results |
cacheSeconds |
21600 | Search result cache duration (seconds) |
officialOverrides |
{} |
Custom “name → official site” mapping, e.g., { "SomePlatform": "example.com" }, to supplement sites not in the built-in brand table |
Credentials¶
Search and image-based search reuse DSH’s credential service (DEEPSEEK_API_KEY); no additional API key configuration is needed.
Use Cases & Caveats¶
- Suited for agent development scenarios requiring “clean results,” such as academic research lookups, market monitoring, phone number queries, and weather checks.
- The plugin runs with the permissions of the current DSH process. It is recommended to review the source code and license (MIT) before installing.
- Market data and weather come from public APIs and may be unstable depending on network conditions.
Conclusion¶
dsh-clean-search integrates ad-free search, market data, weather, special phone numbers, and image-based search into DSH’s unified search page, reducing tool-switching overhead. Full source code and documentation are available on the directory page and the GitHub repository.
- Directory page: https://www.skillhub.cn/plugins/perfectnym/dsh-clean-search
- GitHub: https://github.com/perfectnym/dsh-clean-search