by dineug
ERD Editor: design database schemas visually, import SQL DDL, GraphQL, DBML and AML, export DDL and code for 22 languages. Web app, Google Drive, VS Code, IntelliJ, Obsidian, a custom element, and an MCP server that lets coding agents edit diagrams live.
# Add to your Claude Code skills
git clone https://github.com/dineug/erd-editorLast scanned: 10/11/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-10-11T10:38:13.679Z",
"npmAuditRan": false,
"pipAuditRan": true,
"promptInjectionRan": true
}See how erd-editor compares with popular alternatives.
erd-editor is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by dineug. ERD Editor: design database schemas visually, import SQL DDL, GraphQL, DBML and AML, export DDL and code for 22 languages. Web app, Google Drive, VS Code, IntelliJ, Obsidian, a custom element, and an MCP server that lets coding agents edit diagrams live. It has 1,723 GitHub stars.
Yes. erd-editor passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/dineug/erd-editor" and add it to your Claude Code skills directory (see the Installation section above).
erd-editor is primarily written in TypeScript. It is open-source under dineug on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh erd-editor against similar tools.
No comments yet. Be the first to share your thoughts!
Based on votes and bookmarks from developers who liked this skill
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Entity-Relationship Diagram Editor

Design a database schema visually, bring in one you already have from SQL DDL, GraphQL SDL, DBML or AML, and take it out as DDL or as generated code. ERD Editor is one editor and one file format on erd-editor.io, in Google Drive, VS Code, IntelliJ-based IDEs and Obsidian, and in your own page as a custom element, and a coding agent edits the same diagrams through its MCP server.
| Install | ||
|---|---|---|
| Web app | erd-editor.io | Installable PWA that launches offline, real-time collaboration |
| Google Drive | Google Workspace Marketplace | Adds ERD Editor to Drive's Open with and New menus, saving back to the same file |
| VS Code | Marketplace | Opens .erd.json files in a custom editor |
| IntelliJ | JetBrains Marketplace | Same, for IntelliJ-based IDEs |
| Obsidian | Community plugins | Opens .erd and .erd.json files in a vault tab, desktop only |
| Your app | npm install @dineug/erd-editor |
The framework-free <erd-editor> custom element |
| Coding agents | @dineug/erd-editor-mcp |
An MCP server for Claude Code, Codex or another client, live in VS Code, a JetBrains IDE or Obsidian, or on the file |
To try it in an IDE, create an empty file with a .erd.json extension and open it. In Obsidian,
run ERD Editor: Create new diagram from Obsidian's command palette. In Google Drive, choose
New → More → ERD Editor.
Alt+N adds a table and Alt+Enter a column, Alt+K toggles the primary
key on the focused column, or on every selected column when it is one of them, and Delete or
Backspace removes the selection, each in one undo step; the Shortcuts page of the editor's
Settings tab lists every keyuser_id for user's id), and
Map Columns in a relationship's right-click menu changes its columns laterD:C U:R, and View Option's Referential
Actions hides the labels. SQL, DBML and AML import read them, and the DDL export and the code
generators that have a place for them write the ones the target supportsAK1.1, AK1.2, and SQL import reads a UNIQUE over several columns as one
such indexTableGroupsAlt while dragging to duplicate them, and
color a table, memo or table group from its right-click menu.sql dump from any of the eight vendors below. The parser reads
CREATE TABLE, CREATE INDEX, ALTER TABLE constraints and table and column comments
(COMMENT ON, SQL Server's sp_addextendedproperty), and skips what it does not recognize, so an
awkward dump imports partially rather than failing outright.dbml file written for dbdiagram.io or dbdocs.io, or emitted by
sql2dbml or prisma-dbml-generator. Tables, columns, indexes, enums, header colors, every Ref
spelling and each TableGroup arrive; a Project or a sticky Note is skipped rather than
refused.aml file written for Azimutt, in either the
v2 or the legacy v1 spelling. Entities, attributes, indexes, enums, colors and every relation
arrow arrive; a check and a struct type are skipped rather than refused, and a view arrives as a
table.sql, GraphQL, DBML, AML or .erd.json file to the diagram instead of replacing it: its tables
arrive below everything already there, laid out the same way (an .erd.json file keeps its own
placement), selected, and one undo takes them away. A table whose name is already taken arrives as
a second table rather than merging, and a foreign key to a table outside the file is dropped.sql file or copies itUSE or CREATE + USE header, each where the
database has it, and the tables by table group, and keeps SQL of your own to write before and
after the tables. The statements, header and tables stay with this editor until you close it and
never reach the file; the scripts are saved in the document.erd.json, .sql, and a .png or .svg from a dialog with a preview: transparent
background, light or dark, the PNG at 1x to 3x or copied to the clipboard insteadCtrl/Cmd+K opens the command palette to run editor commands (new table,
import, export, Auto Layout, tabs, theme, language and more), or to jump to a table after #, a
column after @, and a comment or memo after :; Korean also matches by its initial consonants
(ㅅㅇㅈ finds 사용자)Ctrl/Cmd+F searches table and column names, comments and memos, with
match case, whole word and regular expressions, and one undo takes back a Replace AllAlt+F does for the
selection, and neither view writes its layout into the file.json file from the canvas menuCtrl/Cmd+Z and Ctrl/Cmd+Shift+Z,
in the editor's own history