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.mdCopy 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
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
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.mdrules/build-deploy.mdrules/datasource-files.mdrules/pipe-files.mdrules/endpoint-files.mdrules/materialized-files.mdrules/materialized-join-prefilter.mdrules/sink-files.mdrules/copy-files.mdrules/connection-files.mdrules/sql.mdrules/endpoint-optimization.mdrules/tests.mdrules/deduplication-patterns.md
Quick Reference
- Project local files are the source of truth.
- Build target comes from
tinybird.config.jsondev_mode(localorbranch). tb deploytargets Tinybird Cloud production.- Commands like
tb sqlandtb logsdefault to local unless--cloudor--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
Comments
- …
More skills from this repository
tinybird-cli-guidelines
56kGuides your agent through Tinybird CLI commands for local development, branch work, building, deploying, and managing data.
build-ghost-app
56kHelps your agent build a Ghost app with Vite and React, connect it to Ghost Admin, and set up its manifest and install link.
build-ghost-app-ui
56kHelps your agent build the screens of a Ghost app with Shade, Ghost's design system, and points it to the right docs and skills.
shade-imports
56kHelps your agent import Shade components from the right layer paths and set up its stylesheet and ShadeApp correctly.
Similar skills
discrawl
394kLets your agent search and summarize a saved local archive of Discord messages, check how fresh it is, and read direct messages.
clickhouse-io
280kHelps your agent optimize queries and schemas in ClickHouse databases. It applies best practices for high-performance analytical workloads. Use when analytical queries are too slow.
scientific-db-pubmed-database
280kHelps your agent search for scientific articles in the biomedical field. It's useful for research needing specific medical information.