Preface¶
When writing papers or creating structured PPTs, mechanism diagrams and framework diagrams often require repeated layout revisions: how to arrange boxes, how to connect arrows, and whether text will overflow. Manually arranging coordinates in general-purpose drawing software, or asking a model to output only Mermaid code and then fixing the graph yourself, is time-consuming. Below, we introduce the community Skill on SkillHub: “[Drawing Skill] Framework Diagram + Mechanism Diagram” (ID @user_1aa73166/diagram-drawing-plus). This allows an Agent to generate mechanism diagrams, framework diagrams, and other schematic diagrams based on your logical descriptions, targeting paper illustrations and structured presentation materials.
What is this¶
One-sentence positioning: Draws framework diagrams, mechanism diagrams, and similar structured schematic diagrams based on structures/logic found in documents or natural language.
- Publisher & Maintenance: Released by the SkillHub community; publisher
user_1aa73166; sourcecommunity; categorydesign-media; current version 1.0.0. - Problem Solved: Translates intents such as “research frameworks, causal chains, hierarchical structures” into images that can be inserted into manuscripts or slides, rather than ordinary statistical charts (line charts, bar charts, etc. should use other data visualization Skills, such as
python-datavizmentioned in the task description). - Tags: Displays
requires_api_key=false; works according to the Skill agreement after installation without needing an additional API Key.
Official Introduction (SkillHub): Can draw framework diagrams, mechanism diagrams, etc., based on document content, for use as illustrations in papers and structured PPTs.
Core Features¶
The following capabilities align with the public Skill description, focusing on “structural schematic diagrams” rather than data plotting.
- Diagram Types Covered: Mechanism diagrams, framework diagrams, flowcharts, architecture diagrams, mind maps, as well as causal diagrams, concept/research frameworks, system diagrams, ecosystem diagrams, flywheel diagrams, loop diagrams, etc. (See “Typical Usage” below for trigger words in Chinese and English).
- Mechanism Diagram Forms: Supports common academic mechanism expressions such as causal chain types, circular types, and network types.
- Framework Diagram Forms: Supports layouts such as hierarchical nesting, matrices, triangles, and multidimensional juxtaposition.
- Output Method: According to the Skill description, it uses pure SVG to generate the diagram and exports high-definition PNG via CairoSVG (
scale=3, width approx. 5280px); includes automatic coordinate verification and text escaping to reduce manual retouching.
Installation & Activation¶
First, perform an environment check, then install the Skill to the skills directory recognizable by your current Agent; installing it in the wrong directory will cause the Agent to fail to read the Skill.
1. Install SkillHub CLI (if not already installed)¶
command -v skillhub && skillhub --version
If not installed, you can execute the full installation (CLI + 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
For installation steps and directory descriptions, see the official documentation: https://skillhub.cn/install/skillhub.md
2. Install this Skill¶
Install the Skill to the skills directory of your current environment. Taking Cursor as an example, the common path is ~/.cursor/skills/; for Claude Code, it is ~/.claude/skills/; for Codex, it is ~/.codex/skills/ or .agents/skills/ under the project. This depends specifically on the client you are using.
skillhub install @user_1aa73166/diagram-drawing-plus --dir ~/.cursor/skills/
You can also let the AI execute it according to the prompts on the SkillHub page: Install @user_1aa73166/diagram-drawing-plus based on https://skillhub.cn/install/skillhub.md.
After installation, restart or refresh the Agent as required by your client to ensure SKILL.md is loaded.
Typical Usage¶
The Skill is triggered via natural language. Simply explain the structure, nodes, and relationships you want to draw in the conversation; you can also paste a paragraph of a paper or an outline to let the Agent extract the framework from the document.
Chinese Trigger Examples: 画机制图 (draw mechanism diagram), 画框架图 (draw framework diagram), 画流程图 (draw flowchart), 绘制因果图 (draw causal diagram), 架构图 (architecture diagram), 思维导图 (mind map), 组织结构图 (org chart), 概念框架 (conceptual framework), 研究框架图 (research framework diagram), 系统图 (system diagram), 生态图 (ecosystem diagram), 飞轮图 (flywheel diagram), 回路图 (loop diagram).
English Trigger Examples: mechanism diagram, framework diagram, causal loop.
Reproducible Conversation Paradigm (schematic, replace content according to your project):
- Explain the diagram type and purpose: e.g., “Based on the following three paragraphs of methodology text, draw a research framework diagram for Figure 2 in the paper.”
- List nodes and hierarchies or causal relationships: e.g., “The top level is ‘Digital Transformation’, divided into three dimensions: Technology, Organization, and Environment. Each dimension has 2-3 constructs. Use arrows to indicate the direction of influence.”
- Specify output requirements: e.g., “Need high-definition PNG, text in Chinese, style leaning towards academic papers.”
The Agent generates the SVG and exports the PNG under the guidance of the Skill; you only need to check if the semantics match the original text and supplement or delete nodes if necessary.
Scenarios & Notes¶
Who is it for
- Scientific and engineering writers who need “mechanism diagrams / theoretical framework diagrams” in papers, reports, or bid documents.
- Practitioners creating structured PPTs and presentation materials who want to get layout-unified schematic diagrams directly from text.
Limitations & Notes
- Not for ordinary data charts (line charts, bar charts, etc.); such needs should choose data visualization Skills.
- Community Skill (
community), behavior is subject toSKILL.mdand generation results; for complex layouts, manual final review of semantics and citation standards is still recommended. - When installing, you must use
--dirto point to the current Agent’s skills directory; otherwise, it defaults to./skills/and may not be recognized.
SkillHub Page Metadata (at time of scraping): Rating 100000, Downloads 6102, Category design-media.
Conclusion¶
“[Drawing Skill] Framework Diagram + Mechanism Diagram” hands over the “how to draw the structure” to the generation and export process within the Skill; you mainly provide the logic and copy. If you often manually create framework diagrams for papers or PPTs, you can install @user_1aa73166/diagram-drawing-plus according to the above text and give it a try.
- SkillHub Page: https://www.skillhub.cn/skills/user_1aa73166/diagram-drawing-plus
- API Entry: https://api.skillhub.cn/user_1aa73166/diagram-drawing-plus