# Building models and dashboards

> Building models and dashboards is an open-source agent skill for analytics and data. Turns raw ingested data into dbt staging models and Rill dashboards in tycoon projects. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/Database-Tycoon/tycoon-cli/tree/main/plugins/users/skills/building-models-and-dashboards
- **Repository:** https://github.com/database-tycoon/tycoon-cli
- **GitHub stars:** 8
- **License:** MIT
- **Skill name:** building-models-and-dashboards
- **Collection:** https://github.com/Database-Tycoon/tycoon-cli
- **Categories:** [analytics and data](https://ai-powered.com/categories/analytics-and-data)
- **Listing updated:** 2026-12-03

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/Database-Tycoon/tycoon-cli/tree/HEAD/plugins/users/skills/building-models-and-dashboards)
- [License: MIT](https://github.com/Database-Tycoon/tycoon-cli/tree/HEAD/plugins/users/skills/building-models-and-dashboards)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Operating pipelines](https://ai-powered.com/skills/operating-pipelines): Operating pipelines is an open-source agent skill for analytics and data.
- [Adding data sources](https://ai-powered.com/skills/adding-data-sources): Adding data sources is an open-source agent skill for analytics and data.
- [Dbt dag modeling](https://ai-powered.com/skills/dbt-dag-modeling): Dbt dag modeling is an open-source agent skill for analytics and data.
- [Data workflow](https://ai-powered.com/skills/data-workflow): Data workflow is an open-source agent skill for analytics and data.
- [Data scientist](https://ai-powered.com/skills/data-scientist): Data scientist is an open-source agent skill for analytics and data.
- [Data analysis](https://ai-powered.com/skills/data-analysis-superhero-tech): Data analysis is an open-source agent skill for analytics and data.
- [Data pipeline work](https://ai-powered.com/skills/data-pipeline-work): Data pipeline work is an open-source agent skill for analytics and data.
- [Create dashboard](https://ai-powered.com/skills/create-dashboard): Create dashboard is an open-source agent skill for analytics and data.

---
Source: https://ai-powered.com/skills/building-models-and-dashboards
