glider9999/dsh-plugin-take: Read-only access to take.hk in DSH

Preface

DSH’s philosophy is “everything is a plugin.” For those writing DSH plugins or agent workflows, common pain points are: external site content is either solved by the browser, or requires writing scraping scripts, configuring API keys, and handling rate limits. The plugin glider9999/dsh-plugin-take takes the third path: moving a static content site entirely into Harness, turning it into a set of read-only tools.

It is maintained by glider9999 and categorized as “Online Tools.” The problem solved is specific: letting Agents open the browser, not needing an API Key, to search and read 1400+ selected AI image news and daily AI image reports (including today) and 30 topic archives. The plugin is read-only, sends anonymous requests to the site, and does not write local user data.

One-line Positioning

Search and read the entire take.hk directly in DeepSeek Harness, 5 read-only tools, no API Key.

Five Read-only Tools

Tool Purpose
take_latest Latest AI image daily report (including today) or latest selected news; news can add category filter. kind: daily \| news, limit 1–20
take_search Full site full-text search: 1400+ selected news, all daily reports, 30 topic libraries; can add category to search only a specific category
take_read Read any page full text: take.hk URL, path (/daily/2026-11-03, /topics/google, /items/<id>), pure id, date or today; items include original text/source link
take_topics List 30 topic archives
take_links Main entry points of the site: Home/Daily/Hot/Topic/Case/Canvas/Agent Access Page/RSS

Tools return plain text to the model to read, do not execute page scripts.

Installation and Enablement

Method 1, Graphical Interface:

  1. Harness → Plugin Manager → Add Plugin
  2. Enter dsh-plugin-take → Install
  3. Completely restart Harness

Method 2, Command Line:

dsh plugin --profile <your profile> add dsh-plugin-take
# Desktop profile is usually desktop, Web profile is usually web

Install source is npm official package: https://www.npmjs.com/package/dsh-plugin-take . Package version currently 0.12.0, license MIT.

Web Interface

The plugin comes with a built-in read-only browser (marked as new in README v0.8.0). After installation, a Take icon appears in the “Plugins” group of the left sidebar (you need to refresh the page once):

  1. Magazine-style layout, today’s daily report big card plus cover card grid; gradient placeholder used when cover image cannot be obtained.
  2. “Daily Report / Selected / Topic” three tabs; the Selected page has 7 category filter chips.
  3. Top search box does full site search, results presented as cards.
  4. Click any item to enter reading view: big title, cover, body, original/source link, can jump directly to take.hk.
  5. Daily report/Topic pages are structured entry cards, extracted from site snapshot, arranged by “Date + Category + Title + Summary + Cover Thumbnail”.
  6. Animation and theme: cards fade in with hover lift, skeleton screen, dark/light follows theme variables.

Data goes through local /take/api/* read-only interface (public site snapshot), no cross-domain, no extra key needed. The page is just another view of the same snapshot, completely consistent with the take_* tools used by the Agent.

Typical Usage

The documentation provides an actual output in Harness, you can see the default state of take_latest:

AI 影像日报 · 显示最新 2 期(共 15 期,最新 2026-11-03)

1. 2026-11-03 · AI 影像日报 2026-11-03:11 月 3 日 · 9 条动态
   快手公告:可灵 198.02 亿元增资交割完成,投后估值约 180 亿美元
   全文:take_read target=/daily/2026-11-03 | https://take.hk/#/daily/2026-11-03
2. 2026-11-02 · AI 影像日报 2026-11-02:11 月 2 日 · 9 条动态
   高斯泼溅写实人物探索:自研游戏角色试制
   全文:take_read target=/daily/2026-11-02 | https://take.hk/#/daily/2026-11-02

To do a retrieval in a workflow, you can use take_search by category, then use take_read to deep read a single entry. For example:

take_search query=<keyword> category=<category>
take_read target=/daily/2026-11-03

Coverage: 1400+ selected news, all daily reports, 30 topic archives. Categories come from the site’s own ?category= list page, covering the latest approx 120 entries per category; older entries without category tags can still be searched/read normally.

Data Source and Performance

take.hk is a static snapshot site, whole site content generated in https://take.hk/data-1.txt … data-10.txt.

  1. When the plugin is called for the first time, a snapshot is taken (approx 10 MB), decompressed in process to approx 11 MB plain text, cached for 15 minutes.
  2. At the same time, public site content is compressed and cached locally (approx 2 MB), can be reused directly after restarting Harness, opens in seconds.
  3. Single page reading prioritizes the static HTML of that page (approx 40 KB).
  4. Daily report falls back to public RSS https://take.hk/feed.xml when snapshot is unavailable.

Performance and Freshness: Cold start approx 2.3 seconds, memory approx 350 MB; Hot start approx 0.8 seconds, memory approx 170 MB, and first sends an If-Modified-Since conditional request, site returns 304 zero traffic renewal if not updated. Freshness default 5 minutes, aligned with site withdrawal window; concurrent calls share the same in-flight request (single flight lock), no duplicate download. Snapshot rebuilds with the site itself (multiple times a day), not real-time per second; Weekly/Monthly reports site hasn’t published the first issue yet. Upgrade via plugin manager or dsh plugin add dsh-plugin-take@latest, uninstall via dsh plugin remove dsh-plugin-take.

Configuration

In the profile’s cordis.patch.yml, add config to the take-plugin line (defaults used if not configured):

- id: take-plugin
  name: dsh-plugin-take
  config:
    diskCache: true          # Whether to cache public site snapshot locally (default true)
    ttlMinutes: 5            # Snapshot freshness period, 1–1440 minutes (default 5, aligned with withdrawal window)
    maxOutputChars: 40000    # Single tool output limit (default 40000, truncated if exceeded)
    requestTimeoutMs: 20000  # Single request timeout (default 20000)

Strict “zero write” usage: set diskCache: false, the plugin only does anonymous requests, does not write to disk. Configuration is read when plugin loads, needs restart Harness to take effect.

Security Statement

  • Only sends anonymous GET to take.hk (snapshot chunks, single page HTML, RSS), no keys, no login, no user data sent.
  • Does not read local files, does not run commands, does not read any local data.
  • The only local write is the cache of public site content, located at ~/.dsh/cache/dsh-plugin-take/snapshot-v1.json.gz (approx 2 MB, valid for the day, max 6 hours, can be deleted anytime), does not contain user data. Can use environment variable DSH_PLUGIN_TAKE_CACHE_DIR to change cache directory, or use diskCache: false in config to completely turn off.

Applicable Scenarios and Notes

Suitable for Agents that want to do AI image news retrieval, daily report aggregation, and topic archive browsing in DSH, especially developers who need stable JSON/text input but don’t want to introduce scraping and key management complexity.

A few points to note:

  1. The plugin runs with the current DSH process’s permissions. Before installing, you should check if the source code and license (MIT) meet your environment requirements.
  2. Compatible versions: README states tested and passed on DeepSeek Harness 0.2.1-rc.5 (macOS desktop). DSH is still in developer preview, the plugin will follow up with releases when official interfaces change.
  3. The snapshot is not a real-time stream, the latest entries depend on the site’s own rebuild rhythm; external links in the body still need to go to the original text to view.
  4. The plugin directory page comes from an independent community site, with no official affiliation with DeepSeek / Horizons.

Summary

The value of this plugin lies in folding a content site into 5 read-only tools plus a built-in web view. Snapshot caching makes cold start within an acceptable range. Configuration items cover caching, freshness period, output limit, and timeout. For scenarios where you want to add a layer of news retrieval to an Agent without wanting to introduce keys and scraping complexity, it is a ready-to-install read-only solution.

Directory Page: https://www.skillhub.cn/plugins/glider9999/dsh-plugin-take
GitHub: https://github.com/glider9999/dsh-plugin-take
npm: https://www.npmjs.com/package/dsh-plugin-take

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye