firebase-data-connect

firebase-data-connect is a skill for Claude Code from pleaseai/claude-code-plugins. It costs 74 tokens per session (2,039 once invoked), scanned A, a copy of firebase-data-connect, MIT.

A guide to Firebase SQL Connect, a backend service built on Cloud SQL for PostgreSQL. It uses GraphQL, a way to describe data requests, to define tables and relationships, create queries and changes, and generate typed app libraries.

In plain words
What is it for?
Design PostgreSQL tables and relationships, write authorized GraphQL queries and mutations, configure live data updates, generate type-safe SDKs, and compile-check the service.
Why use it?
It provides a documented path for building a relational backend while keeping schemas, operations, and generated code aligned. It also helps validate the schema before deployment.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument; installed under .agents/ (shared by several agents).

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is outputDir: "../web-app/src/lib/dataconnect".

Part of the firebase plugin — 13 skills shipped together

Good fit Design PostgreSQL tables and relationships, write authorized GraphQL queries and mutations, configure live data updates, generate type-safe SDKs, and compile-check the service.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/pleaseai/claude-code-plugins
agentmods
npx agentmods add skills/pleaseai/claude-code-plugins/firebase-data-connect

Made for: Claude Code.

Or install firebase, the plugin that ships this one along with the rest of its 13 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for firebase-data-connect

README.md
[![agentmods](https://agentmods.dev/badge/skills/pleaseai/claude-code-plugins/firebase-data-connect/github.svg)](https://agentmods.dev/skills/pleaseai/claude-code-plugins/firebase-data-connect)
Your own site
<a href="https://agentmods.dev/skills/pleaseai/claude-code-plugins/firebase-data-connect"><img src="https://agentmods.dev/badge/skills/pleaseai/claude-code-plugins/firebase-data-connect/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for firebase-data-connect

Your own site · 80×15
<a href="https://agentmods.dev/skills/pleaseai/claude-code-plugins/firebase-data-connect"><img src="https://agentmods.dev/badge/skills/pleaseai/claude-code-plugins/firebase-data-connect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,039 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00074 $0.02039
Opus 5.5 $0.00030 $0.00816
Sonnet 5.5 $0.00015 $0.00408
Haiku 4.5 $0.00007 $0.00204

Measured 1mo ago against content hash e4aa0e21bca5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

firebase-data-connect scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to firebase-data-connect — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/firebase/.agents/skills/firebase-data-connect/SKILL.md · 196 lines

How it starts

The opening of the file, as written. The whole thing — 196 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Firebase SQL Connect

Firebase SQL Connect is a relational database service using Cloud SQL for PostgreSQL with GraphQL schema, auto-generated queries/mutations, and type-safe SDKs.

[!NOTE] Product Rename: Firebase Data Connect was renamed to Firebase SQL Connect. All instructions, references, and examples in this skill repository referring to "Data Connect" or "Firebase Data Connect" apply to "SQL Connect" and "Firebase SQL Connect" as well.

Project Structure

dataconnect/
├── dataconnect.yaml      # Service configuration
├── seed_data.gql         # LOCAL ONLY — prototype/test data
├── schema/
│   └── schema.gql        # Data model (types with @table)
└── connector/
    ├── connector.yaml    # Connector config + SDK generation
    ├── queries.gql       # Queries
    └── mutations.gql     # Mutations

Key Tools for Validation

Rely on these two mechanisms to ensure project correctness:

  1. Review GraphQL Schema: Both user-defined and generated extensions (in .dataconnect/schema/main/).
  2. Validate Operations: Run npx -y firebase-tools@latest dataconnect:compile against the schema.

Operation Strategies: GraphQL vs. Native SQL

Always default to Native GraphQL. Native SQL lacks type safety and bypasses schema-enforced structures. Only use Native SQL when the user explicitly requests it or when the task requires advanced database features.

Strategy When to use Implementation
Native GraphQL (Default) Almost all use cases. Standard CRUD, basic filtering/sorting, simple relational joins. Requires full type safety. Auto-generated fields (movie_insert, movies). Strong typing and schema enforcement.
Native SQL (Advanced) PostgreSQL extensions (e.g., PostGIS), window functions (RANK()), complex aggregations, or highly tuned sub-queries. Raw SQL string literals via _select, _execute, etc. Requires strict positional parameters ($1). No type safety.

Read the full file on GitHub · 196 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +1 lines e4aa0e21bca5
  2. 2mo ago Changed · +1 lines abe888f834b2
  3. 2mo ago First seen · 194 lines · 74 tokens per session scan A 861d849c6213

Subscribe to this mod's changes

firebase-data-connect is a skill published in the GitHub repository pleaseai/claude-code-plugins (17 stars, last pushed yesterday), licensed MIT. It adds 74 tokens to every session and 2,039 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to firebase-data-connect, differing in 0 lines, and is treated as a copy.

Related

firebase-data-connect compared with skills from other repositories

firebase-data-connect next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
firebase-data-connectpleaseai/claude-code-pluginsSkill17yesterdayMITA74Claude Code
azure-postgres-tsmicrosoft/skillsSkill3.3kyesterdayMITA94Claude Code
supabasesupabase/agent-skillsSkill3.2k18d agoMITA185Claude Code, Codex
butterbasebutterbase-ai/butterbaseSkill3.0kyesterdayApache-2.0A34Claude Code, Codex
supabase-clifcakyon/claude-codex-settingsSkill1.2ktodayApache-2.0A60Claude Code
supabase-jsfcakyon/claude-codex-settingsSkill1.2ktodayApache-2.0A64Claude Code
supabase-nodealinaqi/maggySkill7134d agoMITA14Claude Code