DOWNLOADABLE AI SKILL · CREATED BY DANIEL DOGBEY
Data Model Explorer
An AI skill that guides your assistant through turning schemas or datasets into an interactive HTML explorer. Understand table connections, test joins, and read metric definitions with their SQL, Python, and R calculations.
Requires an AI assistant with file access and Python 3 or Node.js execution. Generated explorers open in a browser.
Actual generated explorer · Illustrative retail schema and demonstration definitions · Schema only
Give your model
an interface.
The skill combines reusable instructions, templates, and builders. Your assistant reads the inputs, prepares a structured model, and generates a portable explorer with an editable JSON specification.
- Inspect tables, columns, keys, and declared relationships.
- Build visual SQL joins and follow which rows each join preserves.
- Read dimension definitions and metric calculations in SQL, Python, and R.
- Import SQL, DBML, or Explorer JSON within the generated explorer.
- Export schema JSON and table diagrams as PNG, SVG, or PDF.
- Request the optional “Build an analysis” view when you need it.
Use the skill with your files.
Download the package.
Save the ZIP above. It includes SKILL.md, the templates, scripts, examples, and reference files.
Give your assistant the skill and inputs.
Attach the ZIP in a chat that supports files and code execution, or unzip it into your coding workspace. Add your schema, dataset, or table descriptions, plus any definitions you want included.
Ask it to build your explorer.
Use this prompt with the attached package and your files.
Read data-model-explorer/SKILL.md and use the Data Model Explorer AI skill on these files. Create the standalone HTML explorer and editable model JSON.Open and refine.
Open the HTML in your browser. Keep the JSON to revise the model, add confirmed definitions, or generate a new version with your assistant.
An attached ZIP supplies the workflow for that conversation. For persistent installation, follow your assistant’s skill setup process. The generated HTML works offline. Schema-only input lets you share the structure without including records.
Run the included example with Python
Unzip the package, open a terminal inside its data-model-explorer folder, and run the command below. Then open explorer.html.
python scripts/build-standalone.py assets/schema-only-example.sql explorer.html --definitions assets/schema-only-definitions.json