Skip to content
Agentmart
Submit a tool

building-models-and-dashboards

Skill by Database-Tycoon

IndexedMIT★ 8
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/database-tycoon-building-models-and-dashboards

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

The publisher has not written a description yet.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions: not checked yet.

What's inside

Skill name
building-models-and-dashboards
Description
None
License
MIT
Instructions
64 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • invalid YAML frontmatter: Nested mappings are not allowed in compact mappings at line 2, column 14:
  • name: missing
  • description: missing

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Building models and dashboards

## Getting a dbt project

```bash
tycoon register dbt --create              # bootstrap a sibling repo ../<name>-dbt
tycoon register dbt --create ./dbt_project  # or bootstrap in-project
tycoon register dbt ../existing-dbt --profile my_profile --target dev  # BYO
```

- `--create` refuses if `dbt_project.yml` already exists at the target, and
  only supports DuckDB/MotherDuck warehouses (Snowflake/BigQuery: hand-author
  the project, then register it).
- Registering ATTACHes the observability DB as `tycoon_meta` in profiles.yml
  and generates `models/_tycoon/` unless `--no-attach-metadata`.
- If the dbt profile targets a different database than `tycoon.yml`, expect a
  warehouse-alignment prompt.

Profile resolution order for `data transform *`: `--profiles-dir` →
`tycoon.yml dbt_profiles_dir` → the dbt project dir → `$DBT_PROFILES_DIR` →
`~/.dbt`. Profile name: `--profile` → `tycoon.yml dbt_profile` →
`dbt_project.yml`. Target: `--target` → `tycoon.yml dbt_target` → profile
default → `dev`.

## Generating staging models

```bash
tycoon data analyze <source>            # scaffold stg_<source>__<table> models
tycoon data analyze <source> --build    # + dbt build --select staging
tycoon data analyze <source> --rill     # + Rill source/metrics/explore YAML
tycoon data analyze --all               # every source, but silently SKIPS --rill/--build
```

Models land in `models/staging/<source>/stg_<source>__<table>.sql`.

## Sentinel ownership: why regeneration refuses

Every generated file's first line is a sentinel (`-- @generated by tycoon
analyze` / YAML equivalent). Regeneration only overwrites files whose
sentinel is intact. Deleting the sentinel line claims the file as
hand-authored, and tycoon then skips it forever unless `--force`. This is the
mechanism, not a bug; edit generated models by removing the sentinel.

## Running dbt

```bash
tycoon data transform run   [-s SELECTOR] [-t TARGET] [--full-refresh]
tycoon data transform test  [-s SELECTOR]
tycoon data transform build [-s SELECTOR]
tycoon data transform docs  [-p PORT]     # generate + serve
```

These use the venv-co-located dbt binary and record run history in the
observability DB. Prefer them over raw `dbt` calls so history stays complete.

## Rill dashboards

`--rill` exports each raw table to Parquet under `data/parquet/<schema>/` and
generates Rill source/metrics-view/explore YAML. The Parquet bridge is
deliberate: Rill reading the DuckDB files directly would conflict with
tycoon's locks. Start the dashboard with `tycoon start` (Rill + Quack;
`--only rill` to skip Quack), stop with `tycoon stop`.

From Database-Tycoon/tycoon-cli, MIT.

More from Database-Tycoon/tycoon-cli

Signals

Stars
8
Forks
0
Open issues
158
Last commit (this folder)
Oct 23, 2026 (6 days ago)
Last release
Oct 24, 2026 (4 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Database-Tycoon

Cite this page

building-models-and-dashboards skill. Agent Mart. https://agentmart.dev/skills/database-tycoon-building-models-and-dashboards (last updated 2026-10-24)