Document Mind Map Generator
Paste the following prompt into your AI chat to install this skill:
Please install @user_966d65df/mindmapgenerator according to https://skillhub.cn/install/skillhub.md.
About this skill
What It Solves
Use it when you have an .epub, .pdf, .docx, .md, or .txt file and need a readable, structured map instead of a raw document dump. It turns a long source into a reproducible pipeline: extract text, infer outline, render an interactive mind map. This avoids manually copying headings, reorganizing hierarchy, and hand-building an interactive diagram across formats.
Workflow And Capabilities
- Input handling: accepts a single file or a directory; for directories it lists candidate documents and asks for confirmation when multiple text files are present.
- Text extraction: uses
scripts/extract_text.py;.epubis parsed withzipfile,.txtand.mdare read directly, while.pdfand.docxrequire their Python libraries. - Outline generation: produces a Markdown outline from level 1 to level 4 headings, and converts lists, tables, and quote blocks into map nodes. The goal is to extract argument structure and actionable points, not just duplicate a table of contents.
- Mind map build:
scripts/build_mindmap.pyconverts the outline into nested data and injects it intoassets/mindmap_template.html, producing an offlineHTML + SVGfile. - Interaction: supports click collapse/expand, wheel zoom, drag panning, view reset, and PNG export at 2x clarity.
Usage Boundaries
Best for turning existing documents into readable structural maps, not for generating a new topic from scratch without source material. If PDF or DOCX extraction dependencies are missing, the skill asks for installation or plain text input. With multiple documents in a directory, confirm the target file first. On Windows with Chinese paths, prefer the hosted Python runtime and quote paths containing spaces.
Use Cases
- Extract text from an uploaded ebook, build a chapter outline and a collapsible HTML mind map for reviewing the book structure.
- Pick the main .md or .docx file from a folder and create a tree mind map to brief the team on key points.
- Turn a research PDF into a hierarchical outline and interactive mind map that highlights core arguments and actionable points.
- Convert project docs into an HTML mind map with PNG export for offline preview and meeting appendices.
Best For
- Editor compiling long documents: needs to break papers or manuals into chapter flow and highlight key points.
- Instructor preparing training materials: needs to convert lecture notes into a collapsible mind map for class.
- Product or operations docs owner: needs to turn requirements or SOPs into a tree map for cross-team alignment.
- Personal knowledge manager: wants to generate offline interactive mind maps from ebooks or document folders.
Related Skills
Use a book title and author to search reviews, contents, and reader feedback, then generate a structured breakdown of historical or decision-logic books with key claims, concepts, quotes, and reading notes in Obsidian.
Provides Bazi, Liu Yao, Qimen, Meihua, and date-selection guidance from classical references, with plain-language explanations and actionable suggestions.
A fast CLI for summarizing URLs, local files, and YouTube links with multi-model support, length control, and JSON output.
Automatically classifies ideas and saves them as tagged, structured Markdown notes in a desktop inspiration library.