SkillsReviewed · daymade

WPS Doc Scraper

WPS Doc Scraper is an assistant skill for people saving public WPS/KDocs mind maps, but preserving the original picture requires extra steps. It combines a Python extractor for ProcessOn source JSON and structural Markdown with browser capture guidance and a macOS-dependent PNG renderer. Live compatibility and output fidelity are unverified.

Researched 16 Nov 2026

In short.

WPS Doc Scraper is an assistant skill for researchers and developers archiving public WPS/KDocs documents, but a complete visual archive requires additional work. Its strongest automation covers ProcessOn mind-map data: resolving public links, saving source JSON and converting tree structure into Markdown without model-generated rewriting. Browser SVG capture is separate, and the bundled PNG renderer requires macOS Quick Look and ImageMagick. The code has gaps in empty-document detection, comment handling and failure recording. Nothing was executed; extraction success, rendering quality and current service compatibility remain unverified.

Researched and written by an AI model and checked by a second AI model. How it works

Scope covers all eight supplied files in wps-doc-scraper: SKILL.md, agents/openai.yaml, four reference documents and two Python scripts, together with the repository-level MIT LICENSE, at revision 4b12449444a6bc7a514fad8d534c4235d5987d3a. Other repository skills, external service implementations and actual WPS/KDocs document contents are outside scope. No extraction, browser capture, rendering, installation or runtime validation was performed; live behavior and output fidelity remain unverified.

The overview

Identity

WPS Doc Scraper is the wps-doc-scraper skill folder in daymade/claude-code-skills. It contains SKILL.md, assistant display metadata in agents/openai.yaml, four reference documents and two Python command-line helpers. The original resource location is [https://github.com/daymade/claude-code-skills/tree/main/wps-doc-scraper].

The skill directs an assistant to archive accessible WPS/KDocs material as source data, a visual artifact and structural Markdown. The display metadata supplies the name WPS Doc Scraper and an invocation prompt; it does not establish compatibility with particular assistant versions.

Assessment

The resource offers a useful starting point when you need both editable text and the underlying data from a publicly accessible ProcessOn mind map. Keeping the API object, parsed definition and separate visual capture provides several representations to compare.

Its complete archive procedure depends on assistant or human follow-through. The extractor does not capture images, and its built-in checks do not establish that every source element reached Markdown or that the archive is complete. End-to-end reliability is unverified.

Users

It can suit researchers preserving shared reference maps, knowledge workers moving accessible outlines into local notes, and developers who want inspectable JSON alongside readable Markdown. It is particularly relevant when node hierarchy, summary annotations and comments matter.

Beginners will likely need an assistant or help with command-line tools and browser inspection. Developers can use the extraction helper directly or supply previously saved API JSON. People expecting one automatic conversion path for every WPS document type should expect additional work.

Capabilities

The extractor handles the documented KDocs share-link forms, ProcessOn view links and ProcessOn API links. It can also convert an existing API response through --api-json. Intended outputs include processon-api.json, processon-definition.json, capture-manifest.json and a title-based Markdown file. KDocs metadata is saved separately when available.

Markdown generation traverses nested children, includes summary annotations under the label 摘要 and attaches matching comments under 评论 with available author and time information. The manifest records identifiers, source locations, node and comment counts, output names and capture time.

The visual procedure describes finding the embedded ProcessOn frame and serializing a full-canvas SVG. A separate helper converts an existing SVG to PNG using square vertical tiles. Neither browser discovery nor SVG capture is implemented by the extraction script.

Using it

Requirements

Direct extraction requires a compatible Python 3 interpreter, a writable local output directory and network access to the relevant public endpoints. The extractor imports Python standard-library modules only. Supported Python minor versions are not declared. Local API JSON conversion can avoid network requests when no --url is supplied.

Capturing the original SVG requires a browser and access to the rendered document or frame. The supplied PNG renderer requires macOS qlmanage and ImageMagick, accepting either magick or convert. A saved SVG is its input; it does not fetch the document.

Using the folder as an assistant skill requires a host that can load its instructions and provide the necessary tools. Host-specific installation requirements and verified compatibility are unknown.

Mechanism

For a KDocs share link, the extractor requests public link metadata, obtains file and group identifiers, and builds a WPS-hosted ProcessOn data request. It accepts a definition supplied as either a JSON object or a JSON-encoded string, then walks the children tree to generate Markdown.

Text conversion replaces supported HTML line breaks, removes markup, decodes entities and normalizes whitespace. Comments are associated with nodes using the part of selectionId before the first underscore. These are deterministic transformations; the scripts contain no language-model calls.

The saved API JSON preserves the parsed response object through JSON serialization, rather than retaining the exact HTTP response bytes. Visual preservation follows another path: browser SVG serialization, followed by optional Quick Look rendering and ImageMagick cropping and stitching.

Setup

Obtain the complete skill folder, keeping its scripts and references together, and retain the accompanying MIT notice. The specific source revision is available at [https://github.com/daymade/claude-code-skills/tree/4b12449444a6bc7a514fad8d534c4235d5987d3a/wps-doc-scraper]. A verified assistant-specific installation procedure is not supplied.

The documented extraction command has this form: python3 /path/to/wps-doc-scraper/scripts/wps_processon_extract.py --url YOUR_PUBLIC_LINK --output-dir /path/to/archive. Replace the paths and YOUR_PUBLIC_LINK with your own values. Alternatively, use --api-json with an existing ProcessOn API response.

For a visual archive, capture the full-canvas SVG separately and use render_svg_tiles.py with --svg and --output on a Mac with the required tools. The extractor's --rendered-svg and --rendered-png arguments record paths in the manifest; they do not capture, copy or validate those images.

Example

An illustrative request is: Save this public KDocs mind map locally with its source JSON, original visual layout and structural Markdown, and identify anything that could not be captured.

For a hypothetical accessible map, the extractor is designed to save the API object and parsed definition, then represent nested nodes as nested Markdown entries with supported summaries and comments. A separate browser step would supply the full-canvas SVG, and the macOS helper could produce its PNG. These are intended outputs, not observed results.

Assessment & evidence

Limitations

Automated text extraction depends on the expected ProcessOn definition and children structure. Other WPS document types rely on documented export or browser fallback procedures rather than dedicated bundled converters. Endpoint availability and response shapes can affect extraction; current compatibility is unverified.

The implementation does not fully enforce its documented completeness rules. An empty definition object is accepted, and a definition without children can produce an ok result with zero nodes. The image-path arguments are not checked for existing files, and manifest notes do not automatically identify partial extraction.

Early failures can leave no saved response or failure manifest because source files are written only after definition parsing succeeds. Later text-validation failures occur after outputs have been written, without updating the manifest with the failure.

A comment with a nonempty selectionId prefix that matches no traversed node is counted as mapped but omitted from Markdown. It remains in the saved definition JSON. The PNG helper also needs visual inspection: its code checks SVG text for replacement characters but does not verify that the resulting image contains every label without clipping.

Reasoning

The design separates source structure, readable text and visual layout. This helps when each representation serves a different need: JSON supports inspection and later conversion, Markdown supports searching and editing, and SVG or PNG preserves the arrangement of the map.

That separation also explains the extra work. Markdown cannot establish visual fidelity, and text cleanup changes markup and spacing. For archival use, compare the converted text with the source data and rendered document rather than relying on file presence or reported counts alone.

Alternatives

An official public export or download is a documented alternative when it is available and permitted without saving the document into an account. Whether that route preserves more content or layout than this extractor is unknown.

Browser DOM and full-canvas SVG capture provide another documented route when the API path is unavailable. Screenshots alone may miss searchable text or offscreen content. For an existing API archive, local --api-json conversion avoids fetching the source again. Relative speed and completeness versus other archiving tools have not been assessed.

Evidence

The supplied material contains the skill instructions, assistant display configuration, all four referenced guides, both helper scripts and the repository license. The code supports specific findings about request handling, conversion, output generation and missing validation.

No sample archive, automated test suite, execution transcript or measured accuracy, speed or rendering results is included. Nothing was executed. Successful extraction from a real public link, completeness across document variants and image quality remain unverified.

Access & freshness

Costs

The supplied files state no purchase price or per-document charge. Total operating cost is unknown. Assistant usage, local computing, storage and any applicable WPS service charges or limits are not priced.

Neither Python helper contains a model API call or model billing configuration. Scripted conversion therefore has no model inference step in the supplied implementation, although an assistant used to coordinate the task may have separate costs.

Rights

The repository MIT License, copyright 2025 daymade, permits use, copying, modification, distribution, sublicensing and sale of the software and associated documentation. Copies or substantial portions must include the copyright and permission notice. The software is provided without warranty.

That software license does not establish rights to redistribute documents retrieved from WPS/KDocs. Public accessibility alone does not establish reuse permission; rights for any particular source document remain unknown. The skill also prohibits bypassing permission walls and requires explicit instruction before account-mutating actions.

Freshness

These findings apply to source revision 4b12449444a6bc7a514fad8d534c4235d5987d3a, captured on 2026-11-16 at 22:54:35.909 UTC. Later repository changes are unknown.

The supplied files do not establish current compatibility with WPS/KDocs endpoints, browser rendering, Quick Look or particular assistant hosts. The date inside the example capture manifest is a template value, not evidence of a successful capture or compatibility check.

Actions

For a first archive, use a document you are authorized to access and a separate output directory. Confirm that the page exposes real content rather than a login shell, then retain the API object, parsed definition, Markdown and manifest together. Stop at authentication or permission boundaries.

Compare the Markdown hierarchy, summaries and comments with the definition JSON and rendered document. Investigate zero-node results and comment identifiers that do not match a node. Record any missing content or failed step explicitly because the helper does not reliably add those notes itself.

For a visual document, save the full-canvas SVG and inspect any generated PNG for offscreen omissions, missing Chinese text and clipping. Confirm that manifest image paths resolve to actual files. Keep the software license with redistributed resource files and establish document-specific reuse rights before sharing archived content.

Evidence for this report

LICENSEnotice · checked 2026-11-16
wps-doc-scraper/SKILL.mdselected · checked 2026-11-16
wps-doc-scraper/agents/openai.yamlselected · checked 2026-11-16
wps-doc-scraper/scripts/render_svg_tiles.pyselected · checked 2026-11-16