DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Spa Api Extract — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
S

@sunwindy91/dsh-spa-api-extract

Spa Api Extract

DeepSeek Harness (dsh) 技能插件:当页面获取超时或仅返回经过混淆/打包的 JS 时,从 JavaScript 单页应用中提取结构化数据。在 ctx.skills 上注册 spa-api-extract 技能。流程:curl 原始 HTML  grep 查找 fetch()/api 端点和 script src  请求

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:sunwindy91/spa-api-extract#cbc6f15d7692a6f7a5152c767164fbc257c451fc
README兼容性版本

说明

DeepSeek Harness (dsh) 技能插件:当页面获取超时或仅返回经过混淆/打包的 JS 时,从 JavaScript 单页应用中提取结构化数据。在 ctx.skills 上注册 spa-api-extract 技能。流程:curl 原始 HTML  grep 查找 fetch()/api 端点和 script src  请求 JSON API(携带 token 查询参数) 使用 Python 解析为 UTF-8 文件。默认仅执行读取操作;不包含遥测。

兼容性与来源证明

Spa Api Extract 以 @sunwindy91/dsh-spa-api-extract 发布,当前版本为 0.1.2。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
github
Registry 更新时间
2026/10/15

版本

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

相关插件

正在加载相关插件…

最新版
0.1.2
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/10/15
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 search-research 分类下经过校验的插件。

Free Searchdsh-free-searchDeepSeek Harness 的免费网页搜索:24 个引擎(Bing/DuckDuckGo/AnySearch/SearXNG/Exa/Tavily/Keenable/Firecrawl/Parallel 无需密钥;通过 MCP 使用 Zhihu 全局/站内搜索,以及 Perplexity/SerpBase/DeepSeek/You.com/Baidu/Kimi/Aliyun/Doubao,需密钥;OpenAI/Gemini/ClaudeDejadsh-dejaDeepSeek Harness 的 deja-vu 记忆:其他 40 个编码代理的会话历史,可搜索,并在每个步骤前调用——本地索引,无需 LLM。Builtin Browserdsh-builtin-browser适用于 DeepSeek Harness 的共享真实浏览器插件:安装即用——可由人类接管的可见原生浏览器,并由代理通过 CDP 驱动。DOM 级交互(兼容 React/Vue)、按任务隔离会话、Cookie 持久化(dsh_browser_auth)、CBladebrobladebro面向 AI 智能体的隐蔽高效代理式浏览器驱动。工具少、控制全面、真正隐匿,并最大限度提高令牌效率。

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 解析器, 不会因为缺依赖而加载失败。