Wps doc scraper

From daymade/claude-code-skills · View interactive version

Wps doc scraper is an AI agent skill from the GitHub repository daymade/claude-code-skills. Faithfully archive public WPS/KDocs/金山文档 links, especially embedded ProcessOn .pof mind maps and canvases, as raw source data, original SVG/PNG, and Markdown. Use when a user gives a kdocs.cn or wps.processon.com link and asks to scrape, save, download, 扒下来, 归档, or 转 Markdown without logging in or s

How to use this skill

Skill file

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

  1. Identify the URL type.
  1. For ProcessOn .pof mind maps or canvases, run the API extractor:

```bash

python3 /path/to/wps-doc-scraper/scripts/wps_processon_extract.py \

--url "https://www.kdocs.cn/view/l/..." \

--output-dir "/path/to/archive-dir"

```

Expected outputs: processon-api.json, processon-definition.json, capture-manifest.json, and <title>.md.

  1. Capture the original image.

```bash

python3 /path/to/wps-doc-scraper/scripts/render_svg_tiles.py \

--svg "/path/to/<title>-全画布.svg" \

--output "/path/to/<title>-全画布.png"

```

  1. Validate the archive.

Hard Rules

Bundled Resources

scripts/

references/

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.