wps-doc-scraper
Installation
SKILL.md
WPS Doc Scraper
Overview
Archive WPS/KDocs public documents with source fidelity. Prefer unauthenticated data APIs, keep the raw payloads, capture the original visual artifact when the document is a canvas or mind map, and generate Markdown only as a structured representation of the source.
This is an extraction skill, not a writing skill. Do not use an LLM to rewrite, summarize, smooth, or infer missing document content unless the user explicitly asks for a separate analysis after the archive is complete.
Workflow Decision Tree
-
Identify the URL type.
kdocs.cn/view/l/<share_id>orkdocs.cn/l/<share_id>: read public link metadata first.wps.processon.com/diagrams/view?...: extractfile_idandgroup_id, then use the ProcessOn data API.wps.processon.com/wpsapi/diagrams/view/api?...: treat as the source API directly.- Other WPS/KDocs pages: collect public metadata, try official public export/download only when available, then use browser DOM capture as a fallback.
-
For ProcessOn
.pofmind maps or canvases, run the API extractor: