DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Spa Api Extract — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
S

@sunwindy91/dsh-spa-api-extract

Spa Api Extract

DeepSeek Harness (dsh) skill plugin: extract structured data from JavaScript single-page apps when a page fetch times out or returns only obfuscated/bundled JS. Registers the spa-api-extract skill on ctx.skills. Pipeline: curl raw HTML -> grep for fetch()/api endpoints and script src -> request the

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:sunwindy91/spa-api-extract#cbc6f15d7692a6f7a5152c767164fbc257c451fc
READMECompatibilityVersions

Description

DeepSeek Harness (dsh) skill plugin: extract structured data from JavaScript single-page apps when a page fetch times out or returns only obfuscated/bundled JS. Registers the spa-api-extract skill on ctx.skills. Pipeline: curl raw HTML -> grep for fetch()/api endpoints and script src -> request the JSON API (carrying the token query param) -> parse with Python to a UTF-8 file. Read-only by default; no telemetry.

Compatibility and provenance

Spa Api Extract is published as @sunwindy91/dsh-spa-api-extract and currently resolves to version 0.1.2. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
github
Registry updated
10/15/2026

Versions

0.1.2stable
10/15/2026
0.1.1stable
10/10/2026
0.1.0stable
9/22/2026

Related plugins

Loading related plugins…

Latest
0.1.2
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
any
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
10/15/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in search-research.

Free Searchdsh-free-searchFree web search for DeepSeek Harness: 24 engines (Bing/DuckDuckGo/AnySearch/SearXNG/Exa/Tavily/Keenable/Firecrawl/Parallel keyless; Zhihu global/site via MCP and Perplexity/SerpBase/DeepSeek/You.com/Baidu/Kimi/Aliyun/Doubao with key; OpenAI/Gemini/Claude Dejadsh-dejadeja-vu memory for DeepSeek Harness: the session history of forty other coding agents, searchable and recalled before each step — a local index, no LLM.Builtin Browserdsh-builtin-browserShared real browser plugin for DeepSeek Harness: install-and-use — a visible native browser the human can take over, driven by the agent over CDP. DOM-level interaction (React/Vue safe), per-task session isolation, cookie persistence (dsh_browser_auth), CBladebrobladebroStealthy and efficient agentic browser driver for AI agents. Few tools, full control, real stealth, max token efficiency.

README

spa-api-extract

An Agent Skill that extracts structured data from JavaScript single-page apps (SPAs) when a normal page fetch fails.

When WebFetch (or any HTML-to-markdown fetcher) times out, returns only obfuscated/bundled JS, or returns an empty client-rendered shell, this skill switches to a reliable CLI pipeline that finds and calls the JSON API the page uses internally.

When to use

  • The target page renders content client-side (React/Vue/Next/Nuxt SPA).
  • The real data lives behind a JSON API, not in the initial HTML.
  • The URL carries an auth token query param (e.g. ?t=xxxx).
  • WebFetch timed out or returned scripts instead of readable content.

The pipeline

  1. Confirm the failure signal — timeout / JS-only / empty shell → it's an SPA.
  2. curl-probe headers + raw HTML skeleton (-sS -m always).
  3. grep the HTML/JS for fetch() / /api/ endpoints, <script src>, and BASE-path derivation.
  4. Reconstruct & request the JSON API, carrying the token param (read-only GET).
  5. Parse with Python — inspect structure first, then extract to a UTF-8 file (avoids Windows GBK mojibake).
  6. Verify record count, field completeness, non-empty output.

See SKILL.md for the full step-by-step commands and reference.md for the grep-regex library, common SPA data patterns (REST / GraphQL / __NEXT_DATA__ / inline window.__* JSON), auth variants, and a troubleshooting table.

Install

Drop the directory into your agent's skills folder, e.g.:

~/.qwenworkcn/skills/spa-api-extract/

The skill is plain Markdown + standard curl/python and follows the open Agent Skills convention (SKILL.md + frontmatter), so it is portable across harnesses that support the format.

DeepSeek Harness (dsh) plugin

This repo is also packaged as a DeepSeek Harness (dsh) skill plugin — dsh's model is "everything is a plugin", built on the Cordis runtime.

Layout:

package.json          # dsh manifest: `dsh.bundle.patch` + `dsh-plugin` keywords
cordis.patch.yml      # Cordis patch that inserts this plugin into the runtime tree
index.js              # entry: inject = ['skills'], apply(ctx) -> registerSkills(ctx)
lib/skills.js         # registers the root SKILL.md as one ctx.skills provider
SKILL.md              # the skill bundle (at the package root)
reference.md          # deep-dive loaded on demand
.skill-metadata.yaml  # bilingual recommended queries

Install into a dsh deployment (after @deepseek-ai/dsh-base, which mounts the skill registry):

dsh plugin --profile web add github:sunwindy91/spa-api-extract
# (仓库自带 cordis.patch.yml,dsh 安装后会自动挂载;无需手工 patch)

The plugin registers knowledge only — it exposes no host tools and performs no network I/O at load time.

Note: the dsh ecosystem commonly nests skills under skills/<name>/SKILL.md. This plugin keeps the single bundle at the package root so the same tree also loads as a native QwenWork skill without duplicating the file; lib/skills.js reads it from there. The provider/candidate/definition shapes and frontmatter parsing match the official dsh skill providers.

Safety & compliance

  • Read-only by default. Only GET is used; write/mutate endpoints require explicit user authorization.
  • Tokens are secrets. Captured tokens must not be echoed into final output, committed logs, or shared files.
  • Respect the target. Only scrape sites/APIs you are authorized to access, and honor their Terms of Service, robots directives, and rate limits.
  • No telemetry. This skill contains no listener, no data collection, and no network callback — it is pure instruction text with placeholder examples (HOST / PATH / TOKEN).

License

MIT © 2026 sunwindy91 — see LICENSE.

安装提示(实测):这条命令会把参数转发给 profile 目录里的 pnpm,安装需要能访问 github.com。 若本机配了代理但代理没在运行,pnpm 会继承 git 的代理设置并报 ECONNREFUSED —— 此时确保代理在跑,或临时清掉代理配置(git config --global --unset http.proxy)。 依赖说明:yaml 是 peerDependency(宿主已自带);若环境里没有,插件会退化为内置的极简 frontmatter 解析器, 不会因为缺依赖而加载失败。