CommunityImagengithub.com

diagram-from-description

Dibuja un diagrama limpio (diagrama de flujo, de secuencia, de arquitectura, mapa mental, línea de tiempo u organigrama) como PNG a partir de una descripción en lenguaje natural, notas de reunión o una foto de pizarra. Úsalo cuando el usuario pida dibujar, diagramar, esquematizar, mapear o visualizar un proceso, sistema, flujo o estructura.

¿Qué es diagram-from-description?

Esta habilidad permite a un agente de IA convertir descripciones en lenguaje natural en diagramas profesionales en formato PNG utilizando el servidor MCP de morigraph. El agente determina automáticamente el tipo de diagrama más adecuado (diagrama de flujo, secuencia, arquitectura, mapa mental, línea de tiempo u organigrama), genera código Mermaid, y llama a la herramienta `morigraph:diagram` para renderizar la imagen. La habilidad está diseñada para plataformas como Claude Code, Codex y Cursor, y requiere conectar el servidor MCP en `https://morigraph.com/mcp`. No requiere cuenta ni tokens: funciona en modo invitado (10 llamadas diarias) sin inicio de sesión, o con inicio de sesión opcional para guardar y editar diagramas. Sigue reglas estrictas: solo dibuja lo que el usuario describe, no inventa elementos faltantes, y ofrece una ronda de cambios. Si la entrada es una foto o ilustración, rechaza la tarea porque solo admite diagramas estructurados.

Compatible con✓Claude Code✓Codex CLI✓Cursor
npx skills add https://github.com/JovenSoh/morigraph-skills/tree/HEAD/skills/diagram-from-description

Installed? Explore more Imagen skills: steipete/songsee, affaan-m/frontend-design, mattpocock/improve-codebase-architecture · View all 6 →

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Documentación

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.

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

Skills relacionados