Install
$ agentstack add skill-kajitiluna-erd-designer-erd-designer ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README — it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming — see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps — measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
ERD Designer CLI
Edit .erd files directly with the bundled CLI. No MCP server, VSCode or running app is required. Requires Node.js 20+.
The CLI ships with this skill at scripts/erd-cli.cjs, relative to the directory containing this SKILL.md. This skill is self-contained (Agent Skills format), so it works from any agent that supports skills — e.g. Claude Code and GitHub Copilot CLI. In the examples below, $CLI stands for the resolved path:
CLI=/scripts/erd-cli.cjs
Workflow
- Discover tools (names and one-line summaries):
`` node $CLI list-tools ``
- Inspect a tool before first use (full description + JSON schema of its arguments):
`` node $CLI describe ``
- Run a tool against a
.erdfile:
`` node $CLI run --file --args '' `` The result is printed as JSON on stdout. Mutating tools save the file in place.
- Validate a
.erdfile (e.g. after external changes):
`` node $CLI validate --file ``
Rules
- Do NOT edit
.erdJSON by hand; always go through the CLI so referential integrity
(column/share/relation IDs) and the canvas layout stay consistent.
- Omit
documentIdin--args; the CLI injects it from--fileautomatically. - Only load the schemas you need via
describe; do not dump all schemas at once. - Files are saved as 4-space-indented JSON, the same format the ERD Designer app writes.
- The VSCode extension reflects CLI edits automatically while the file is open; no reload is
needed. The browser app (IndexedDB) does not — re-import the file after CLI edits. The Google Drive app reflects CLI edits automatically too, but only when the user has enabled its "Sync Google Drive" toggle (see below).
- Creating a brand-new
.erdfile is done in the ERD Designer app (it configures the target
database type). The CLI edits existing files.
Typical recipes
- Add a table with columns:
run add-table, thenrun add-columns-to-tablewith the
returned tableId.
- Relate two tables: look up ids via
run list-tables, thenrun create-relation. - Review a design:
run list-tables(summaries) orrun find-table(full detail). - Generate SQL:
run export-ddl.
.erd format (background only)
A .erd file is a single JSON document containing tableViewModels (tables + canvas positions), columnModels / columnShareModels (columns; shares hold the type definition and can be reused by multiple columns), relationViewModels, memos and database settings. IDs cross-reference between these arrays, which is why manual edits are unsafe.
Google Drive / browser users
- Files stored in Google Drive can be edited locally through Google Drive for Desktop:
point --file at the synced local path. Tell the user to enable "Sync Google Drive" in the gear menu: with it on, they can keep the ERD Designer tab open while you edit, and your changes appear on the canvas within about 10 seconds. If the toggle is left off, fall back to the old workflow — tell the user to close the tab before you edit, and to reopen the file afterwards.
- The browser app (IndexedDB) is not reachable from the CLI; export the
.erdfile first,
edit it, then import it back.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: kajitiluna
- Source: kajitiluna/erd-designer
- License: Apache-2.0
- Homepage: https://kajitiluna.github.io/erd-designer
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.