Skip to content
Agentmart
Submit a tool

reading-project-state

Use when checking what state a tycoon project is in (pipeline/source status, recent ingestion or dbt run history, row counts, table freshness) and especially…

Skill by database-tycoon

IndexedMIT★ 8
Write a review

Chalk Labs

Need help deploying reading-project-state?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

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-reading-project-state

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

Use when checking what state a tycoon project is in (pipeline/source status, recent ingestion or dbt run history, row counts, table freshness) and especially when a script or CI job needs machine-readable output (no tycoon command has a --json flag).

Use cases: devops, data

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

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/reading-project-state

What's inside

Skill name
reading-project-state
Description
Use when checking what state a tycoon project is in (pipeline/source status, recent ingestion or dbt run history, row counts, table freshness) and especially when a script or CI job needs machine-readable output (no tycoon command has a --json flag).
License
MIT
Compatibility
Requires the tycoon CLI (pip install database-tycoon) inside a tycoon project (tycoon.yml present)
Metadata
tier: users · author: database-tycoon
Instructions
59 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Reading project state

## For humans (Rich tables, not parseable)

| Command | Shows |
|---|---|
| `tycoon data status` | Layered view: Sources → Staging → Intermediate → Marts, with freshness |
| `tycoon data history [-t dlt\|dbt] [-n N] [-s SOURCE]` | Recent runs (default 20) |
| `tycoon data history show <RUN_ID>` | One run: status, duration, error, per-table row counts (short id prefix OK) |
| `tycoon data schema` | Tables, row counts, file sizes across raw + warehouse (no arguments) |

Marts panels appear only after a dbt manifest exists (run dbt at least once).

## For scripts (machine-readable)

**There is no `--json` flag anywhere.** The programmatic surface is the
observability database at `.tycoon/metadata.duckdb`, queried through tycoon
(which handles locks):

```bash
tycoon data query --db .tycoon/metadata.duckdb \
  "SELECT r.source_schema, r.load_id, r.status, r.inserted_at,
          sum(t.rows_loaded) AS rows_loaded
   FROM dlt_runs r LEFT JOIN dlt_rows_by_table t USING (source_schema, load_id)
   GROUP BY r.source_schema, r.load_id, r.status, r.inserted_at
   ORDER BY r.inserted_at DESC LIMIT 20"
```

Tables: `dlt_runs`, `dlt_rows_by_table`, `dbt_runs`, `dbt_nodes`,
`dbt_manifest_snapshots`, `dbt_schema_changes`, `fivetran_connectors`.
Discover columns with `DESCRIBE <table>`.

`tycoon data query` also reaches the other databases:

```bash
tycoon data query "SELECT count(*) FROM marts.my_table"   # warehouse
tycoon data query --raw "SELECT * FROM raw_pokeapi.pokemon LIMIT 5"
tycoon data query -s pokeapi "SHOW TABLES"                # one source's schema
```

A local DuckDB file opens read-only. A MotherDuck connection does not: it is
read-write, and the token's scope decides what it may change, so treat
`tycoon data query` against `md:` as able to write. Warehouse queries route
through Quack automatically while `tycoon start` is running, so they work even
when the local file is locked.

## Modeling state inside dbt

`tycoon data observability scaffold` generates `models/_tycoon/` staging
models over the metadata DB and ATTACHes it as `tycoon_meta` in profiles.yml.
Use this when dashboards should show pipeline health.

## Cleanup gotcha

`tycoon data clean --all` deletes the raw and warehouse files but
**preserves** `.tycoon/metadata.duckdb` (run history) unless `--metadata` is
passed too.

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 (7 days ago)
Last release
Oct 24, 2026 (7 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

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get reading-project-state running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying reading-project-state?

CallGet help
Cite this page

reading-project-state skill. Agent Mart. https://agentmart.dev/skills/database-tycoon-reading-project-state (last updated 2026-10-24)