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
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.
About
Use cases: devops, data
Reviews
Write a reviewNo 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
- 0.628score
repository-writing-style
Database-Tycoon
Apply the repository's writing style whenever creating or substantially editing Markdown documentation, GitHub issues, pull request descriptions, review…
SkillAFreshness: A★ 8Claude Code +9 - 0.619score
threejs-3d-visualizer
Database-Tycoon
Best practices for Three.js 3D rendering, mesh instantiation, procedural building generation, road masks, particle systems, and canvas interaction in Pipeline…
SkillAFreshness: A★ 8Claude Code +9 - 0.619score
dbt-dag-modeling
Database-Tycoon
Best practices for dbt manifest parsing, model materialization, lineage DAG derivation, test coverage analysis, source freshness SLAs, and OSI semantic models.
SkillAFreshness: A★ 8Claude Code +9 - 0.619score
playwright-e2e-testing
Database-Tycoon
Guidelines for running and writing Playwright End-to-End (E2E) tests for Pipeline City frontend components, HUD interactions, and role lenses.
SkillAFreshness: A★ 8Claude Code +9 - 0.593score
testing-cli-changes
database-tycoon
Use when writing or fixing tests in the tycoon-cli repo, when a CLI-surface bug slipped past in-process tests (PATH resolution, Rich rendering, console-script…
SkillAFreshness: A★ 8Claude Code +9 - 0.342score
diagnosing-projects
Database-Tycoon
No description from the publisher yet.
SkillAFreshness: A★ 8Claude Code +9 - 0.342score
contributing-changes
Database-Tycoon
No description from the publisher yet.
SkillAFreshness: A★ 8Claude Code +9 - 0.342score
operating-pipelines
Database-Tycoon
No description from the publisher yet.
SkillAFreshness: A★ 8Claude Code +9 - 0.342score
cutting-a-release
Database-Tycoon
No description from the publisher yet.
SkillAFreshness: A★ 8Claude Code +9 - 0.342score
adding-data-sources
Database-Tycoon
No description from the publisher yet.
SkillAFreshness: A★ 8Claude Code +9 - 0.342score
building-models-and-dashboards
Database-Tycoon
No description from the publisher yet.
SkillAFreshness: A★ 8Claude Code +9
Signals
- Stars
- 8
- Forks
- 0
- Open issues
- 158
- Last commit (this folder)
- Oct 23, 2026 (5 days ago)
- Last release
- Oct 24, 2026 (4 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Database-Tycoon/tycoon-cli
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from database-tycoon
Cite this page
reading-project-state skill. Agent Mart. https://agentmart.dev/skills/database-tycoon-reading-project-state (last updated 2026-10-24)