# tinybird-python-sdk-guidelines

Teaches coding assistants how to model Tinybird data resources using the tinybird-sdk package in Python. Useful when building pipes and ingestion jobs.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 615 installs · ★ 22
- Author: tinybirdco
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/tinybirdco/tinybird-agent-skills/tree/HEAD/skills/tinybird-python-sdk-guidelines/SKILL.md
- Updated: 2026-07-29
- HTML: https://affpapa.org/en/nevibecode/skills/tinybird-python-sdk-guidelines

## What it does

This skill guides agents through structuring analytics workloads via the `tinybird-sdk` Python package. It covers setting up data sources and API endpoints directly in code instead of maintaining legacy `.datasource` and `.pipe` files.

The guidelines explain client setup, materialized views, and connections to Kafka or Amazon S3. They also outline CLI routines for branch testing via `tinybird dev` alongside production releases with `tinybird deploy`.

All generated credentials belong strictly on backend servers. Never expose credentials in browser code.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add tinybirdco/tinybird-agent-skills --skill tinybird-python-sdk-guidelines -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/tinybird-python-sdk-guidelines/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/tinybird-python-sdk-guidelines/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add tinybirdco/tinybird-agent-skills --skill tinybird-python-sdk-guidelines -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/tinybird-python-sdk-guidelines/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add tinybirdco/tinybird-agent-skills --skill tinybird-python-sdk-guidelines -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/tinybird-python-sdk-guidelines/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install tinybirdco/tinybird-agent-skills tinybird-python-sdk-guidelines
```

2. **Manually: put the files in place**
- File: `.github/skills/tinybird-python-sdk-guidelines/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add tinybirdco/tinybird-agent-skills --skill tinybird-python-sdk-guidelines -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/tinybirdco/tinybird-agent-skills --path skills/tinybird-python-sdk-guidelines
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/tinybird-python-sdk-guidelines/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add tinybirdco/tinybird-agent-skills --skill tinybird-python-sdk-guidelines -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/tinybirdco/tinybird-agent-skills/tree/HEAD/skills/tinybird-python-sdk-guidelines/SKILL.md

## When to use it
- define Tinybird datasources and analytical endpoints in Python
- convert vintage `.datasource` and `.pipe` assets into Python modules
- connect streaming ingestion from Kafka or cloud storage buckets in S3
- configure CI preview checks and production deployments with the Tinybird CLI

## Example prompts
- Convert the legacy `events.pipe` file into Python code using the `tinybird-sdk`.
- Create a materialized view connected to an S3 datasource in Python.
- Set up a deployment workflow running `tinybird preview` before going to production.

## Similar
- [xlsx](https://affpapa.org/en/nevibecode/skills/xlsx.md) — skill · 187223 installs
- [google-agents-cli-observability](https://affpapa.org/en/nevibecode/skills/google-agents-cli-observability.md) — skill · 511300 installs
- [caveman-evidence-review](https://affpapa.org/en/nevibecode/skills/caveman-evidence-review.md) — skill · 104500 installs
- [migration](https://affpapa.org/en/nevibecode/skills/migration.md) — skill · 103900 installs
- [performance-optimization](https://affpapa.org/en/nevibecode/skills/performance-optimization.md) — skill · 65200 installs
- [supabase](https://affpapa.org/en/nevibecode/skills/supabase.md) — skill · 8 installs

From the same set: [tinybirdco/tinybird-agent-skills](https://affpapa.org/en/nevibecode/by/tinybirdco/tinybird-agent-skills.md) — 4 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
