Introduction¶
After reading an ebook or a long document, you often have the structure in your head but find it difficult to quickly turn it into a shareable tree view. Manually typing nodes into mind mapping software requires you to break down chapters and define hierarchies yourself, which is particularly time-consuming for long materials. If you want an Agent to read the material first, extract an outline, and then produce an HTML mind map that can be expanded and collapsed in a browser (with image export capabilities), you can install the “Mind Map Generator” into the Skills directory of your current environment and trigger the entire pipeline using natural language.
What is this¶
“Mind Map Generator” is a community Skill on SkillHub, identified as @user_966d65df/mindmapgenerator. The current version is 1.0.2, categorized under knowledge-management, and published by user_966d65df. The page indicates requires_api_key=false, meaning it does not rely on additional API Key configuration.
It is designed for scenarios where “files already exist and require structured presentation”: based on a directory path provided by the user or a document uploaded during the conversation, it automatically extracts text, generates a structured outline, and creates an interactive HTML mind map based on that outline, with support for image export.
Core Functions¶
The following capabilities are derived from the official SkillHub description and page details. After installation, the Agent will execute them according to the conventions defined in the Skill’s SKILL.md.
- Multi-format Input: Supports reading content from directory paths or uploaded documents in formats including epub, pdf, docx, md, txt, etc.
- Outline Generation: After extracting text, it generates a structured outline to serve as the basis for the mind map node hierarchy.
- HTML Mind Map: Generates an interactive HTML mind map based on the outline, facilitating viewing and interaction within a browser.
- Image Export: Supports exporting the HTML mind map as an image file, making it easy to insert into notes or share.
- Trigger Phrase Matching: The Agent should select this Skill when the user expresses intents such as “generate a mind map,” “draw a mind map,” “create an outline and map based on this book/document,” or “organize this material into a tree-structured map.”
Installation and Enablement¶
The SkillHub page requires that you first prepare the skillhub CLI according to the SkillHub Installation Guide, and then install this Skill into the skills directory actually used by the current Agent. If --dir is not specified, it defaults to installing to ./skills/, which the current Agent may not be able to load.
1. Check or Install skillhub CLI¶
command -v skillhub && skillhub --version
If it is not installed, you can use the official script (full installation includes CLI and default Skills):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
To install only the CLI:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
2. Install this Skill¶
Install @user_966d65df/mindmapgenerator to the corresponding directory. Taking Cursor as an example, the skills directory is generally ~/.cursor/skills/:
skillhub install @user_966d65df/mindmapgenerator --dir ~/.cursor/skills/
Other common client paths (excerpted from SkillHub installation docs, choose one based on your actual environment):
- Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project - Gemini CLI:
~/.gemini/skills/
After installation is complete, follow the instructions for your specific Agent to refresh or restart so the new Skill is recognized.
Typical Usage¶
This Skill is conversation-driven and has no separate CLI subcommands. The examples below align with the trigger scenarios in the official description for easy reproduction.
Example 1: Specify Local Path
In the Agent conversation, specify the location of the material and explicitly request a mind map, for example:
Please generate a mind map based on the materials in the
/path/to/my-bookdirectory; first produce an outline and then create an interactive HTML.
Example 2: Upload Document
In a conversation that supports attachments, upload a file such as pdf, docx, or md, then explain:
Organize this material into a tree-structured mind map; I need an HTML version to facilitate image export.
Example 3: Colloquial Triggers
Simply use one of the phrases listed by the official source. The Agent will follow the Skill workflow to extract text, generate an outline, and output the HTML mind map:
- “Create an outline and map based on this document”
- “Draw a mind map”
- “Generate a mind map”
Specific output paths, filenames, and image export formats are subject to the instructions within the Skill package and the Agent’s execution results. If a fixed storage location is required, you can specify it in the conversation.
Use Cases and Notes¶
Who is it for
- People who need to quickly turn long texts like ebooks, technical documentation, or course lecture notes into hierarchical views.
- Those working in environments supporting Skills (like Cursor, Claude Code) who want to minimize manual mind map layout work.
Things to note
- Input quality depends on whether the source file can be parsed correctly; for scanned PDFs or docx files with complex layouts, extraction results may be unstable. The official description does not promise OCR or layout restoration.
- The outline and node division are determined jointly by the model and the Skill logic. It is recommended to manually verify important materials before sharing them externally.
- The rating shown on the SkillHub page is 100000, with 6631 downloads (statistics are based on SkillHub and may change over time).
Conclusion¶
“Mind Map Generator” strings together the process of “Read File -> Outline -> Interactive HTML Map -> Image Export” into a pipeline triggered by the Agent, making it suitable for knowledge organization and quick overviews of long texts. For installation and details, visit SkillHub:
- Page: https://www.skillhub.cn/skills/user_966d65df/mindmapgenerator
- API Entry: https://api.skillhub.cn/user_966d65df/mindmapgenerator