Skip to content
Skillpedia
Databases56k · #3279

tinybird

What it does

This skill gives an AI agent Tinybird's rules for writing its project files and SQL. It is for developers building analytics data pipelines in Tinybird.

When to use it

  • ✓When you create or change a Tinybird datasource, pipe, or endpoint file.
  • ✓When you write or speed up a SQL query for Tinybird.
  • ✓When you set up materialized views or remove duplicate data in Tinybird.

Skill link

https://github.com/TryGhost/Ghost/blob/main/.agents/skills/tinybird/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/TryGhost/Ghost/blob/main/.agents/skills/tinybird/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“I want to write a Tinybird endpoint that returns daily signups, and keep the query fast.”

5 new skills a week. 1 minute to read.

How it works

The agent follows the file format rules and SQL limits in the skill, then adds the patterns that help speed and data handling. It treats the local project files as the source of truth.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Tinybird Best Practices

Guidance for Tinybird file formats, SQL rules, optimization patterns, and data modeling. Use this skill when creating or editing Tinybird datafiles.

When to Apply

  • Creating or updating Tinybird resources (.datasource, .pipe, .connection)
  • Writing or optimizing SQL queries
  • Designing endpoint schemas and data models
  • Organizing project structure and data layers
  • Working with materialized views or copy pipes
  • Implementing deduplication patterns
  • Reviewing or refactoring Tinybird project files

Rule Files

  • rules/project-files.md
  • rules/build-deploy.md
  • rules/datasource-files.md
  • rules/pipe-files.md
  • rules/endpoint-files.md
  • rules/materialized-files.md
  • rules/materialized-join-prefilter.md
  • rules/sink-files.md
  • rules/copy-files.md
  • rules/connection-files.md
  • rules/sql.md
  • rules/endpoint-optimization.md
  • rules/tests.md
  • rules/deduplication-patterns.md

Quick Reference

  • Project local files are the source of truth.
  • Build target comes from tinybird.config.json dev_mode (local or branch).
  • tb deploy targets Tinybird Cloud production.
  • Commands like tb sql and tb logs default to local unless --cloud or --branch=<branch-name> is set.
  • SQL is SELECT-only with Tinybird templating rules and strict parameter handling.
  • Use MergeTree by default; AggregatingMergeTree for materialized targets.
  • Filter early, select only needed columns, push complex work later in the pipeline.
FAQ

Can Tinybird SQL change data?

The skill says Tinybird SQL is SELECT-only, so queries only read data.

Which storage engine does it suggest?

The skill says to use MergeTree by default and sets out when AggregatingMergeTree fits better.

Does it cover testing?

Yes. The skill includes rules for Tinybird tests.

Details

Original description by the author

Tinybird file formats, SQL rules, optimization patterns, and best practices for datasources, pipes, endpoints, and materialized views.

repo: TryGhost/Ghost

Popularity

GitHub stars
56k
Ranking position
#3279
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills