Skip to content
Skill

Building models and dashboards

Turns raw ingested data into dbt staging models and Rill dashboards in tycoon projects

Building models and dashboards is an open-source agent skill for analytics and data. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
8
Last commit
License
MIT
Listing updated

Similar skills

About Building models and dashboards

This skill guides an agent through the dbt side of a tycoon project. It covers bootstrapping a new dbt project through the tycoon CLI, or attaching an existing dbt project and its profiles.yml, and explains how tycoon resolves the profile, target and profiles directory when it runs dbt.

For raw tables, the agent can scaffold staging models with tycoon data analyze, optionally building them with dbt or generating Rill source, metrics and explore YAML. Generated files start with a sentinel line that controls whether tycoon may overwrite them, so the skill explains how to take ownership of a file by removing that line and when --force is needed.

The workflow expects the tycoon CLI installed in a project containing tycoon.yml. Runs go through tycoon's own dbt wrappers so run history is recorded, and dashboards are served with tycoon start and stopped with tycoon stop.

When your agent uses it

Use when turning ingested raw data into dbt models or Rill dashboards in a tycoon project: bootstrapping dbt from scratch, attaching an existing dbt project or profiles.yml, generating staging models for a source, running dbt through tycoon, or when previously generated model files refuse to regenerate.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (3 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the tycoon plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add Database-Tycoon/tycoon-cli
/plugin install tycoon@tycoon-skills

Or copy only this skill to ~/.claude/skills/building-models-and-dashboards:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Database-Tycoon/tycoon-cli.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/building-models-and-dashboards &&
cp -R "$tmp/plugins/users/skills/building-models-and-dashboards" ~/.claude/skills/building-models-and-dashboards &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/building-models-and-dashboards inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/building-models-and-dashboards to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Database-Tycoon/tycoon-cli.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/building-models-and-dashboards &&
cp -R "$tmp/plugins/users/skills/building-models-and-dashboards" ~/.agents/skills/building-models-and-dashboards &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/building-models-and-dashboards inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/building-models-and-dashboards to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Database-Tycoon/tycoon-cli.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/building-models-and-dashboards &&
cp -R "$tmp/plugins/users/skills/building-models-and-dashboards" ~/.cursor/skills/building-models-and-dashboards &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/building-models-and-dashboards inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/Database-Tycoon/tycoon-cli.git --path plugins/users/skills/building-models-and-dashboards

Or copy the folder to ~/.gemini/skills/building-models-and-dashboards yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/building-models-and-dashboards:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Database-Tycoon/tycoon-cli.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/building-models-and-dashboards &&
cp -R "$tmp/plugins/users/skills/building-models-and-dashboards" ~/.copilot/skills/building-models-and-dashboards &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/building-models-and-dashboards inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/Database-Tycoon/tycoon-cli.git

Then copy tycoon-cli/plugins/users/skills/building-models-and-dashboards into your agent's skills folder as building-models-and-dashboards. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Bootstrap dbt project
Creates a new dbt project beside or inside the tycoon project for DuckDB or MotherDuck warehouses.
Attach existing dbt
Registers a hand-written dbt project along with its profile and target settings.
Staging model scaffolding
Generates staging models for each source table, with optional build and Rill output.
Rill dashboard export
Exports raw tables to Parquet and generates Rill source, metrics and explore YAML.
Sentinel-based regeneration
Explains which generated files tycoon will overwrite and how to claim a file as hand-authored.
Wrapped dbt commands
Runs dbt run, test, build and docs through tycoon so execution history is recorded.

Good for

  • Create a dbt project for my tycoon warehouse
  • Generate staging models for my raw source tables
  • Connect an existing dbt project and profiles.yml to tycoon
  • Build a Rill dashboard on top of my raw data
  • Fix staging model files that will not regenerate

Building models and dashboards FAQ

What do I need before using Building models and dashboards?

The tycoon CLI installed (pip install database-tycoon) and a project containing tycoon.yml.

Does --create work with every warehouse?

No. It only supports DuckDB and MotherDuck. For Snowflake or BigQuery, the project has to be written by hand and then registered.

Why won't my generated model files regenerate?

Tycoon only overwrites files whose first-line sentinel is intact. If the sentinel was removed, the file is treated as hand-written and skipped unless --force is used.

Why export Parquet for Rill instead of reading DuckDB directly?

Rill reading the DuckDB files directly would conflict with tycoon's locks, so --rill exports each raw table to Parquet first.

How do I install Building models and dashboards in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/building-models-and-dashboards to use it in all your projects, or to .claude/skills/building-models-and-dashboards in one project. Or install the tycoon plugin, which includes it: /plugin marketplace add Database-Tycoon/tycoon-cli, then /plugin install tycoon@tycoon-skills.

Does Building models and dashboards run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Building models and dashboards?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Building models and dashboards?

The closest alternatives to Building models and dashboards are Operating pipelines, Adding data sources, Dbt dag modeling, Data workflow and Data scientist.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from Database-Tycoon/tycoon-cli

  1. Guides agents through branch targeting, PR steps and changelog updates for tycoon-cli

    • Open source
    • 8 GitHub stars
    • Developer tools
  2. Guides testing of tycoon-cli changes, from unit tests to subprocess and snapshot checks

    • Open source
    • 8 GitHub stars
    • Developer tools
  3. Walks maintainers through cutting a tycoon-cli release, from changelog to PyPI publish

    • Open source
    • 8 GitHub stars
    • Developer tools
  4. Registers, configures and runs data source ingestion in a tycoon project

    • Open source
    • 8 GitHub stars
    • Analytics and data
  5. Diagnoses broken tycoon projects: failing commands, dbt profile and DuckDB lock errors

    • Open source
    • 8 GitHub stars
    • Developer tools
  6. Runs tycoon data pipelines unattended with schedules, alerts and local snapshots

    • Open source
    • 8 GitHub stars
    • Analytics and data