From wps-doc-scraper
Archives public WPS/KDocs/金山文档 documents, especially ProcessOn mind maps and canvases, preserving raw data, original SVG/PNG images, and Markdown.
How this skill is triggered — by the user, by Claude, or both
Slash command
/wps-doc-scraper:wps-doc-scraperThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
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.
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.
Identify the URL type.
kdocs.cn/view/l/<share_id> or kdocs.cn/l/<share_id>: read public link metadata first.wps.processon.com/diagrams/view?...: extract file_id and group_id, then use the ProcessOn data API.wps.processon.com/wpsapi/diagrams/view/api?...: treat as the source API directly.For ProcessOn .pof mind maps or canvases, run the API extractor:
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.
Capture the original image.
<title>-全画布.svg.foreignObject, do not trust ImageMagick alone for text rendering. Use scripts/render_svg_tiles.py to make the PNG through macOS Quick Look square tiles.python3 /path/to/wps-doc-scraper/scripts/render_svg_tiles.py \
--svg "/path/to/<title>-全画布.svg" \
--output "/path/to/<title>-全画布.png"
Validate the archive.
�.用户未登录, empty definitions, and placeholder shells.wps_processon_extract.py: deterministic extractor for public WPS/KDocs ProcessOn .pof mind maps. It resolves KDocs share metadata, downloads the ProcessOn data API JSON, parses the embedded definition, and writes Markdown plus a manifest.render_svg_tiles.py: macOS Quick Look based SVG-to-PNG renderer for full-canvas SVGs with foreignObject text. It renders square vertical tiles and stitches them into one PNG.processon-mindmap-api.md: endpoint pattern and payload shape for WPS-hosted ProcessOn files.rendered-svg-capture.md: browser-side process for extracting the rendered full-canvas SVG and producing a PNG.capture-manifest.md: minimum manifest fields and acceptance checks.permission-and-failure-boundaries.md: login walls, forbidden escalation, and failure reporting rules.npx claudepluginhub p/daymade-wps-doc-scraper-wps-doc-scraperBatch imports local documents (Obsidian, Siyuan, WeChat, any directory) into WPS Notes. Supports HTML, Markdown, PDF, DOCX, PPTX, XLSX. Preserves images and rich text.
Creates, edits, and analyzes .docx files with text extraction, raw XML access, tracked changes, and redlining workflows for professional document processing.
Ingests content from Confluence, Google Docs, GitHub repos, remote URLs, or local files (DOCX, PDF, etc.) into Second Brain vault. Converts to Markdown via docling, runs graphify extraction, persists entities.