Skip to content
Skill

Adding data sources

Registers, configures and runs data source ingestion in a tycoon project

Adding data sources is an open-source agent skill for analytics and data. 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 Adding data sources

This skill teaches an agent to add data sources to a tycoon project using the tycoon CLI, which registers each source in tycoon.yml and runs it through dlt. Three native source types are covered: REST APIs, SQL databases and CSV or Parquet files. Other sources such as GitHub, Stripe, Slack, Notion, Google Sheets and HubSpot come from a built-in catalog and need a one-time install before they run.

The skill documents the main commands for listing the catalog, adding, listing, running, running all and removing sources, along with record caps per resource. It includes a scripted, non-interactive REST API example that ingests data, scaffolds dbt staging models and runs a transform. It also explains where ingested data lands in a per-project DuckDB file with one schema per source.

It expects the tycoon CLI installed in a project that has a tycoon.yml file. Credentials are stored as environment variable references, so the variables must be exported before a run. The guide also flags common pitfalls, such as error messages that suggest a catalog install subcommand that does not exist.

When your agent uses it

Use when adding, configuring, or running a data source in a tycoon project: REST APIs, SQL databases, files (CSV/Parquet), or catalog sources like GitHub, Stripe, Slack, Notion, Google Sheets; when an ingestion run must be scripted with no prompts (CI); when credentials or record caps are involved; or when a source run fails with "not installed" or missing-config errors.

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 (4 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/adding-data-sources:

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

For one project only, put the folder in .claude/skills/adding-data-sources inside it instead.

Claude Code docs on skills

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

For one repository only, put the folder in .agents/skills/adding-data-sources inside it instead.

Codex docs on skills

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

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

Or copy the folder to ~/.gemini/skills/adding-data-sources yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/adding-data-sources:

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

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

The SKILL.md format

What it does

Native source types
Covers adding REST API, SQL database and file-based sources with their required flags.
Catalog source installs
Explains how popular services like GitHub and Stripe are installed once and where their files are kept.
CI-safe scripting
Shows how to add and run sources without prompts using the no-prompt flags.
Credential handling
Describes how secrets are referenced through environment variables and how to diagnose failed authentication.
Data landing layout
Explains the per-project DuckDB file and the per-source schema naming convention.
Post-run scaffolding
Covers automatic dbt staging model generation after a successful run and how to opt out.

Good for

  • Connect a public REST API and load selected endpoints into a local warehouse
  • Script a nightly ingestion of a SQL database in CI without prompts
  • Load a folder of CSV or Parquet files into a tycoon project
  • Add a GitHub or Stripe source and run it with a capped record count
  • Troubleshoot a source run that fails with a missing install or config error

Adding data sources FAQ

What does the skill need before Adding data sources can be used?

The tycoon CLI installed (pip install database-tycoon) inside a project that has a tycoon.yml file.

Where is the ingested data stored?

In one data/raw.duckdb file per project, with one DuckDB schema per source named raw_ followed by the source name, with hyphens turned into underscores.

How are API keys handled for catalog sources?

Credential fields default to environment variable references stored in tycoon.yml, so the secret is not written to the file. The variable must be exported before running.

Can sources be added without interactive prompts?

Yes. The source type is passed positionally with the required key flag, and --no-prompt skips questions and installs catalog sources automatically.

Does running a source change the dbt project?

After a successful run, dbt staging models are scaffolded for the source if a dbt project exists and nothing references it yet. This can be turned off per call or in tycoon.yml.

How do I install Adding data sources in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/adding-data-sources to use it in all your projects, or to .claude/skills/adding-data-sources 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 Adding data sources 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 Adding data sources?

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 Adding data sources?

The closest alternatives to Adding data sources are Operating pipelines, Building models and dashboards, Dbt dag modeling, Data pipeline work and Timescaledb hyperfunctions.

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

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

    • Open source
    • 8 GitHub stars
    • Developer tools
  6. Runs tycoon data pipelines unattended with schedules, alerts and local snapshots

    • Open source
    • 8 GitHub stars
    • Analytics and data