Agent skill

Import Export

by AHS12 in AHS12/thoth-blueprint

Change SQL, SQLite worker, DBML, JSON, Mermaid, SVG, or database export/import flows while preserving diagram semantics and round trips.

GPL-3.0Auto-check passedDatabases

Install Import Export

skills CLI
$ npx skills add AHS12/thoth-blueprint --skill import-export -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install AHS12/thoth-blueprint import-export --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/AHS12/thoth-blueprint.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/import-export .claude/skills/import-export && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
import-export
GitHub stars
626
Token cost
~499 tokens
SKILL.md length
216 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
GPL-3.0

At a glance

Change SQL, SQLite worker, DBML, JSON, Mermaid, SVG, or database export/import flows while preserving diagram semantics and round trips.

  • Works in 7 steps: Select the parser from the declared… → Preserve table and column IDs,… → Treat custom SQL parsers as… → …
  • Adding dialect support
  • SKILL.md covers Read First, Change Rules and Verification Matrix
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Import Export is an agent skill from AHS12/thoth-blueprint. Change SQL, SQLite worker, DBML, JSON, Mermaid, SVG, or database export/import flows while preserving diagram semantics and round trips. Use when adding dialect support or changing parser/exporter behavior.

Its SKILL.md is about 500 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Databases, covering Diagrams and SQL. It works with SQL, SQLite and Mermaid. The repository describes itself as: Design databases the way you think. Create unlimited schemas, import existing designs, visualize relationships, export to multiple formats, and generate framework migrations… The licence is GPL-3.0.

When your agent uses it

  • Adding dialect support
  • Changing parser/exporter behavior

Example prompts

  • “/import-export”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Select the parser from the declared database dialect and keep progress/diagnostic behavior intact.
  2. Preserve table and column IDs, positions, colors, locks, notes, zones, viewport, and relationship metadata when the format supports them.
  3. Treat custom SQL parsers as dialect-specific state machines. Do not assume MySQL, PostgreSQL, and SQLite syntax coverage is interchangeable.
  4. Keep SQLite parsing in the worker and handle worker errors without leaving a half-imported diagram.
  5. JSON imports require safe validation before entering the store. Never trust arbitrary node, edge, or date data merely because the…
  6. DBML save synchronization uses heuristic matching; test similarly named and structurally similar tables, IDs, positions, and repeated save…
  7. Generated SQL, DBML, Mermaid, SVG, and migrations are output artifacts. Review quoting, composite keys, comments, notes/zones, and…

What it can do on your machine

Read from SKILL.md and the folder at commit 075e0e3. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Import Export loads about 499 tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 216 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~55
When it runs · the whole SKILL.md, loaded when a task matches
~499

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from AHS12/thoth-blueprint at commit 075e0e3, republished under its GPL-3.0 licence (© AHS12). 216 words, ~499 tokens.

Download SKILL.mdSave it as .claude/skills/import-export/SKILL.md (or your agent's skills folder).
name
import-export
description
Change SQL, SQLite worker, DBML, JSON, Mermaid, SVG, or database export/import flows while preserving diagram semantics and round trips. Use when adding dialect support or changing parser/exporter behavior.

Import and Export

Read First

  • src/components/ImportDialog.tsx and src/components/ExportDialog.tsx for UI dispatch.
  • src/lib/importer.ts and src/lib/importer/ for parser contracts.
  • src/workers/sqlite-ddl.worker.ts for SQLite worker boundaries.
  • src/lib/exporter/, src/lib/mermaid.ts, and src/lib/types.ts for output and model semantics.

Change Rules

  1. Select the parser from the declared database dialect and keep progress/diagnostic behavior intact.
  2. Preserve table and column IDs, positions, colors, locks, notes, zones, viewport, and relationship metadata when the format supports them.
  3. Treat custom SQL parsers as dialect-specific state machines. Do not assume MySQL, PostgreSQL, and SQLite syntax coverage is interchangeable.
  4. Keep SQLite parsing in the worker and handle worker errors without leaving a half-imported diagram.
  5. JSON imports require safe validation before entering the store. Never trust arbitrary node, edge, or date data merely because the top-level arrays exist.
  6. DBML save synchronization uses heuristic matching; test similarly named and structurally similar tables, IDs, positions, and repeated save cycles.
  7. Generated SQL, DBML, Mermaid, SVG, and migrations are output artifacts. Review quoting, composite keys, comments, notes/zones, and unsupported features explicitly.

Verification Matrix

  • Import valid and invalid MySQL, PostgreSQL, SQLite, DBML, and application JSON.
  • Export and re-import each supported round-trip format where applicable.
  • Include composite relationships, indexes, comments, nullable/default/generated columns, notes, zones, and locked diagrams when relevant.
  • Confirm diagnostics are visible and failures do not mutate the active diagram.

© AHS12, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/import-export of AHS12/thoth-blueprint.

Open the folder on GitHubat commit 075e0e3

Compare with similar skills

Import Export next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Import Export compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Import Export this skillAHS12/thoth-blueprint626—~499Automated safety check: PassGPL-3.0
Database Scoutzebbern/claude-code-guide4.6k—~1.1kAutomated safety check: PassMIT
Database Inspectorrongxinzy/RongxinAI154—~835Automated safety check: PassMIT
SQL Database Support for pRESTprest/prest4.6k—~1.6kAutomated safety check: PassMIT
Cursor BYOK Database Schemaleookun/cursor-byok3.2k—~1.3kAutomated safety check: PassMIT
Sql2erystemsrx/sql_to_ER188—~1.1kAutomated safety check: PassAGPL-3.0

Similar skills

  • Database Scout

    zebbern/claude-code-guide

    Explore SQLite and PostgreSQL databases: list tables, inspect schemas (columns/types/constraints), preview data, generate Mermaid ER diagrams, and run safe read-only queries.

    4.6k GitHub stars~1.1k tokensUpdated yesterday
    DatabasesAuto-check passed
  • Database Inspector

    rongxinzy/RongxinAI

    探索 SQLite 或 PostgreSQL 数据库,执行安全只读查询,提供表列表、详细表结构(列/类型/约束/索引)、数据预览,并生成 Mermaid ER 图。当用户需要查看数据库架构、探索表关系、预览数据、执行只读查询,或提及 schema、ER 图、SQL 查询、数据预览、describe table、数据库探索等关键词时触发。

    154 GitHub stars~835 tokensUpdated today
    DatabasesAuto-check passed
  • Guides classifying, gap-analyzing and scaffolding support for a new SQL database in pREST, from Postgres-compatible variants to entirely new dialects.

    4.6k GitHub stars~1.6k tokensUpdated 2 days ago
    DatabasesAuto-check passed
  • Cursor BYOK Database Schema

    leookun/cursor-byok

    Guides SQLite schema changes in the Cursor BYOK server, keeping SQLx migrations, the Rust store, API contracts and fixtures aligned.

    3.2k GitHub stars~1.3k tokensUpdated 9 days ago
    DatabasesAuto-check passed
  • Sql2er

    ystemsrx/sql_to_ER

    A skill your agent uses when the user wants a Chen-model ER diagram from SQL CREATE TABLE statements or DBML, wants to rearrange or clean up an existing sql2er state, wants a skeleton-only overview…

    188 GitHub stars~1.1k tokensUpdated 7 days ago
    DatabasesAuto-check passed
  • Squix

    eduardofuncao/squix

    Run SQL queries across databases (Postgres, MySQL, SQLite, etc.) via the squix CLI.

    273 GitHub stars~784 tokensUpdated 15 days ago
    DatabasesAuto-check passed

More from AHS12/thoth-blueprint

  • AI Assistant

    AHS12/thoth-blueprint

    Safely change the schema AI assistant, cloud or local providers, credentials, context construction, streamed patches, retries, validation, or atomic diagram application.

    626 GitHub stars~534 tokensUpdated 1 mo ago
    Auto-check passed
  • Diagram Editor

    AHS12/thoth-blueprint

    Safely change the React Flow database diagram editor, including table, note, zone, relationship, selection, locking, layout, keyboard, and viewport behavior.

    626 GitHub stars~506 tokensUpdated 1 mo ago
    Auto-check passed
  • Persistence

    AHS12/thoth-blueprint

    Safely change browser-local persistence, Dexie schemas, store synchronization, backups, trash, restore, or checkpoints.

    626 GitHub stars~463 tokensUpdated 1 mo ago
    Auto-check passed
  • Pwa Release

    AHS12/thoth-blueprint

    Safely change Vite, service-worker, offline fallback, cache, Docker, Vercel, or release-distribution behavior.

    626 GitHub stars~505 tokensUpdated 1 mo ago
    Auto-check passed
  • Migration Codegen

    AHS12/thoth-blueprint

    Change Laravel, TypeORM, or Django migration generation and generated SQL parsing.

    626 GitHub stars~425 tokensUpdated 1 mo ago
    Auto-check passed

Categories

Questions about Import Export

What does Import Export do?

Change SQL, SQLite worker, DBML, JSON, Mermaid, SVG, or database export/import flows while preserving diagram semantics and round trips. Import Export is an agent skill from AHS12/thoth-blueprint. Change SQL, SQLite worker, DBML, JSON, Mermaid, SVG, or database export/import flows while preserving diagram semantics and round trips.

When should I use Import Export?

Import Export fits situations like: adding dialect support; changing parser/exporter behavior.

How do I install Import Export in Claude Code?

Run `npx skills add AHS12/thoth-blueprint --skill import-export -a claude-code`. Or copy the skill folder (.agents/skills/import-export in AHS12/thoth-blueprint) into .claude/skills/import-export in your project. Claude Code loads it when a task matches its description.

How do I install Import Export in Codex?

Run `npx skills add AHS12/thoth-blueprint --skill import-export -a codex`. Or copy the skill folder (.agents/skills/import-export in AHS12/thoth-blueprint) into .agents/skills/import-export in your project. Codex loads it when a task matches its description.

Can I use Import Export in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add AHS12/thoth-blueprint --skill import-export -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/import-export, .gemini/skills/import-export, .github/skills/import-export and .opencode/skills/import-export in your project.

What does Import Export need to run?

SKILL.md names no scripts, command-line tools or credentials: Import Export is instructions for the agent only.

Does Import Export access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Import Export safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Import Export use?

Import Export is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Import Export use?

About 499 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Import Export?

Skills that share tags, products or a category with Import Export: Database Scout (zebbern/claude-code-guide, 4.6k stars), Database Inspector (rongxinzy/RongxinAI, 154 stars), SQL Database Support for pREST (prest/prest, 4.6k stars) and Cursor BYOK Database Schema (leookun/cursor-byok, 3.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Import Export?

AHS12 (a GitHub user) maintains it in AHS12/thoth-blueprint, which has 626 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on August 12, 2026.

Source: AHS12/thoth-blueprint on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.