deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:sunwindy91/spa-api-extract
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
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.
?t=xxxx).WebFetch timed out or returned scripts instead of readable content.-sS -m always).fetch() / /api/ endpoints, <script src>, and BASE-path derivation.GET).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.
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.
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):
npm install @sunwindy91/dsh-spa-api-extract
# then apply the Cordis patch shipped at ./cordis.patch.yml
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.jsreads it from there. The provider/candidate/definition shapes and frontmatter parsing match the official dsh skill providers.
GET is used; write/mutate endpoints require explicit user authorization.HOST / PATH / TOKEN).MIT © 2026 sunwindy91 — see LICENSE.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: agent-skill、skill。