Skip to content

Smart Drawio Next

Editable Draw.io diagrams for research and architecture: Next.js web app, Agent Skill, and local MCP server.

Install: npx skills add https://github.com/yunshenwuchuxun/smart-drawio-next/tree/tools-v0.1.0/skills/smart-drawio

Install

$npx skills add https://github.com/yunshenwuchuxun/smart-drawio-next/tree/tools-v0.1.0/skills/smart-drawio

Install command taken from the project's README or registry entry. Always review code before running it.

Smart Drawio Next

中文文档

Create editable Draw.io diagrams from natural language or reference images, for research, documentation, and presentations.

Skill & MCP 0.1.0: GitHub release · MCP on npm · Official MCP Registry

Live Demo

Gallery

Home Transformer
Home Transformer
Swin-Transformer CLIP
Swin-Transformer CLIP

ProSST

Overview

smart-drawio-next is a diagram generation tool built with Next.js 16, embedded Draw.io, and streaming LLM APIs. It helps you:

  • Generate structured diagrams from natural language prompts
  • Upload reference images and convert them into editable diagram content
  • Fine-tune XML / JSON in Monaco Editor
  • Sync output directly into an embedded Draw.io canvas
  • Use post-processing tools to improve layout, connectors, styles, and annotations

The project includes multi-model configuration, workspace recovery, generation history, and notifications. It can be deployed as a personal tool or an internal team service.

Core Features

  • Streaming generation with support for continuing truncated outputs
  • Multimodal input with both text and image-based workflows
  • Code + canvas workflow for editing XML and previewing the result side by side
  • Post-processing toolchain for structure, text, connector, and style refinement
  • Multi-provider config management for OpenAI / Anthropic-compatible APIs
  • Local history with replay support for recent generations

Agent Skill and MCP

Version 0.1.0 is published. Choose the entry point that fits your workflow:

Entry point What it does Distribution Model setup
Website Generate from text or images, then edit the diagram in the embedded Draw.io canvas Hosted app or self-hosted Next.js Configure your provider in the browser
smart-drawio Skill Guide an agent through creating, editing, checking and saving editable diagrams GitHub Skill and release ZIP Uses the agent's own model
Smart Drawio MCP Generate, validate, repair and style XML through local stdio tools npm package and Registry entry Only generate_drawio needs model API settings

Install the Skill

Install the fixed release:

npx skills add https://github.com/yunshenwuchuxun/smart-drawio-next/tree/tools-v0.1.0/skills/smart-drawio

Similar plugs

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local…

Why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.

Persistent Context Across Sessions for Every Agent, Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future…

Explore related