Skip to content
Skill

Reading project state

Lets an agent read tycoon project pipeline status, run history and table freshness

Reading project state is an open-source agent skill for developer tools. 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 Reading project state

This skill teaches the agent which tycoon CLI commands report on a project's pipelines: source and layer status with freshness, recent dlt ingestion and dbt run history, single run details with per-table row counts, and table and file sizes. It separates the human-readable views from the programmatic route, since no tycoon command offers JSON output. Scripts and CI jobs are directed to query the observability DuckDB file at .tycoon/metadata.duckdb through tycoon data query, and the skill lists the metadata tables and shows an example join across run and row-count data.

The skill also covers reaching warehouse and raw schemas through the same query command, including per-source schemas. It explains that local DuckDB files open read-only, while MotherDuck connections are read-write and should be treated as able to change data. It also notes that warehouse queries route through Quack while tycoon start is running. For dashboards, it describes scaffolding dbt staging models over the metadata database, and it warns that clean --all keeps run history unless the metadata flag is passed.

It expects a project initialized with tycoon.yml and the tycoon CLI installed from pip as database-tycoon.

When your agent uses it

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

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

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

For one project only, put the folder in .claude/skills/reading-project-state inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/reading-project-state 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/reading-project-state &&
cp -R "$tmp/plugins/users/skills/reading-project-state" ~/.agents/skills/reading-project-state &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/reading-project-state inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/reading-project-state 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/reading-project-state &&
cp -R "$tmp/plugins/users/skills/reading-project-state" ~/.cursor/skills/reading-project-state &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/reading-project-state 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/reading-project-state

Or copy the folder to ~/.gemini/skills/reading-project-state yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/reading-project-state:

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

For one project only, put the folder in .github/skills/reading-project-state 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/reading-project-state into your agent's skills folder as reading-project-state. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Pipeline status overview
Shows layered source, staging, intermediate and marts status with freshness.
Run history inspection
Lists recent dlt and dbt runs and details of a single run with row counts.
Machine-readable metadata queries
Explains querying the observability DuckDB tables for scripts and CI since no JSON flag exists.
Warehouse and raw queries
Runs SQL against warehouse, raw and per-source schemas through tycoon data query.
Dbt observability models
Scaffolds dbt staging models over the metadata database for pipeline health dashboards.
Cleanup safety notes
Notes that clean --all preserves run history unless the metadata option is given.

Good for

  • Check whether a tycoon project's sources and tables are fresh
  • Review the last dlt or dbt runs and their error messages
  • Export recent run status and row counts from a CI job
  • Count rows in a warehouse mart from the command line
  • Build dashboards showing pipeline health from run metadata

Reading project state FAQ

What does the skill need to run?

It requires the tycoon CLI installed with pip as database-tycoon and a project containing a tycoon.yml file.

Does any tycoon command output JSON?

No. The skill states there is no --json flag, so scripts should query the metadata DuckDB file with tycoon data query.

Can querying a MotherDuck database change data?

The skill says MotherDuck connections are read-write and the token scope decides what can change, so such queries should be treated as able to write.

Does cleaning the project delete run history?

By default tycoon data clean --all keeps .tycoon/metadata.duckdb; run history is removed only when the metadata flag is also passed.

How do I install Reading project state in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/reading-project-state to use it in all your projects, or to .claude/skills/reading-project-state 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 Reading project state 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 Reading project state?

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 Reading project state?

The closest alternatives to Reading project state are Diagnosing projects, Operating pipelines, Project status report, Pipelines build summary and Tdpilot brain explorer.

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. Turns raw ingested data into dbt staging models and Rill dashboards in tycoon projects

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

    • Open source
    • 8 GitHub stars
    • Developer tools