360 Secure SkillHub
360 安全技能中心

Diagram from a description (morigraph)

通过远程 MCP 服务 morigraph,把流程、系统、时间线等文字描述先写成 Mermaid 源码,再绘制为 PNG 图表,支持流程图、时序图、架构图、思维导图、时间线和组织架构图。未登录时以游客模式每天可调用 10 次,登录后图表会保存并提供编辑链接。

分类:创作
jovensoh
jovensoh
热度 17.00
最近更新 2026-11-30 22:52:06

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add jovensoh/morigraph-diagram-from-description
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
diagram-from-description
description
Draws a clean diagram (flowchart, sequence, architecture, mind map, timeline or org chart) as a PNG from a plain-language description, meeting notes or a whiteboard photo. Use when the user asks to draw, diagram, chart, map or visualise a process, system, flow or structure.
license
MIT
compatibility
Needs network access and a host that can connect a remote MCP server (Claude Code, Codex, Cursor and others).
metadata
{"author":"morigraph","mcp-server":"https://morigraph.com/mcp"}

Diagram from a description

Connect morigraph first

This skill runs on the morigraph MCP server at https://morigraph.com/mcp. If its tools (for example morigraph:diagram) are not available, connect it, then continue. Tools are written here as morigraph:<tool>; your host may show them under a slightly different prefix.

  • Claude Code: claude mcp add --transport http --scope user morigraph https://morigraph.com/mcp
  • Codex: codex mcp add morigraph --url https://morigraph.com/mcp
  • Cursor: add {"mcpServers":{"morigraph":{"url":"https://morigraph.com/mcp"}}} to ~/.cursor/mcp.json
  • Any other host: add a remote (streamable HTTP) MCP server with that URL. Steps per app: https://morigraph.com/connect/?ref=skills

Only connect it when the user asks for this task or agrees. Never ask the user for a password or token: sign-in happens in their browser.

No account is needed for this skill. Without sign-in morigraph runs in guest mode (10 calls a day): the diagram is drawn and returned but not saved. Signed in, it is also saved to the user's Files with an edit link.

Steps

  1. Work out what kind of diagram fits: flowchart for a process, sequence for who-calls-whom over time, architecture for systems, mind map for ideas, timeline for dates, org chart for people.
  2. If the description leaves out something the diagram cannot be drawn without (the actors, the order, the direction), ask one short question. Otherwise proceed.
  3. Write Mermaid source for it. Keep labels short (a few words), one idea per node, and at most about 25 nodes; split bigger subjects into two diagrams.
  4. Call morigraph:diagram with source (the Mermaid text) and a short title.
  5. Show the returned image to the user. If it was saved, give the edit link too.
  6. Offer one round of changes ("rename, reorder, add a step?") and call morigraph:diagram again with the revised source.

Rules

  • Draw only what the user described. Do not invent steps, systems or people to fill gaps; ask or leave them out.
  • If morigraph:diagram returns an error, show the error and fix the Mermaid source; do not describe a diagram that was not drawn.
  • For photos or illustrations, this is the wrong skill: morigraph:diagram draws structured diagrams only.