Skip to content
mcp/skillhub

Agent Skill

Firebase Data Connect skill

firebase-data-connectfirebase/agent-skillsskills/firebase-data-connect-basics/SKILL.md

Builds and deploys Firebase SQL Connect (aka Firebase Data Connect) backends with PostgreSQL securely. Use when designing schemas with tables and relations, writing authorized queries and mutations, configuring real-time data updates, or generating type-safe SDKs. Use when you need a relational database with Firebase, or when the user mentions SQL Connect or Data Connect.

479Apache-2.0

always on

73 tokname + description

once used

1,946 tokSKILL.md body

bundled files

16114 KB

installs

167kskills.sh

Install the Firebase Data Connect skill

Skills CLI (Claude Code, Codex, Cursor and others)

npx skills add https://github.com/firebase/agent-skills --skill firebase-data-connect

Claude Code, by hand (all projects)

git clone --depth 1 https://github.com/firebase/agent-skills.git /tmp/agent-skills
mkdir -p ~/.claude/skills
cp -R /tmp/agent-skills/skills/firebase-data-connect-basics ~/.claude/skills/firebase-data-connect

For one project only, copy the folder into .claude/skills/ in that project instead. The agent picks it up when a task matches its description.

What it costs your context

Agent Skills load in three steps. Tokens counted with the o200k tokenizer; your model's count will differ a little.

WhenWhat loadsCost
Every sessionName and description73 tok
When the agent uses itThe SKILL.md instructions1,946 tok
Only if opened16 bundled files (114 KB)varies

Until it is used, firebase-data-connect costs about 19× less than the median MCP server we measured (1,362 tokens on every turn). Installing all 13 skills from firebase/agent-skills would load 1,052 tokens of descriptions. Skills vs MCP study

Checks

  • The name doesn't match its folder name, as the specification requires.

Checked 2026-10-22 · method

What's inside

The headings of its SKILL.md. Read the full file on GitHub.

  • Firebase SQL Connect
  • Project Structure
  • Key Tools for Validation
  • Operation Strategies: GraphQL vs. Native SQL
  • Development Workflow
  • 1. Define Data Model (schema/schema.gql)
  • 2. Define Authorized Operations (connector/queries.gql, connector/mutations.gql)
  • 3. Use type-safe SDK in your apps
  • Feature Capability Map
  • Deployment & CLI
  • How to initialize SQL Connect in a Firebase project
  • How to build apps using SQL Connect locally
  • How to deploy SQL Connect to Cloud SQL
  • Examples

More skills from firebase/agent-skills

All skills in this repo
  1. firebase-basicsfirebase/agent-skills

    Provides foundational Firebase CLI setup, CLI installation, version checks (`firebase-tools@latest --version`), CLI login (including --no-localhost), project creation, project selection (`firebase use`), and app config file downloads (`google-services.json`, `GoogleService-Info.plist`). Use ONLY for CLI login, project creation/switching, or downloading app config files. Don't use for Firebase Hosting deploy, Firestore, Auth, App Hosting, Data Connect, Crashlytics, or Remote Config.

    174k105 tok idle · 1,605 in use
  2. firebase-auth-basicsfirebase/agent-skills

    Guide for setting up and using Firebase Authentication. Use this skill when the user's app requires user sign-in, user management, or secure data access using auth rules.

    173k37 tok idle · 982 in use
  3. firebase-hosting-basicsfirebase/agent-skills

    Deploys and configures classic Firebase Hosting for static websites, single-page apps (SPAs), and microservices. Use when deploying static sites/SPAs, setting up custom domains, configuring firebase.json hosting settings (redirects, rewrites, headers, multi-site), or managing preview channels. Don't use for Firebase App Hosting (Next.js/SSR), Auth, Firestore queries/rules, Data Connect, or Crashlytics.

    168k92 tok idle · 415 in use
  4. firebase-app-hosting-basicsfirebase/agent-skills

    Deploys and manages full-stack web applications (Next.js, Angular) with Server-Side Rendering (SSR) using Firebase App Hosting. Use when deploying Next.js/Angular apps, configuring apphosting.yaml or firebase.json apphosting blocks, managing secrets, setting up GitHub CI/CD, or configuring Blaze billing requirements. Don't use for classic static web hosting, Auth, Firestore, Crashlytics, or Xcode.

    168k91 tok idle · 651 in use
  5. firebase-security-rules-auditorfirebase/agent-skills

    Audits Firebase (Firestore, Cloud Storage) security rules for vulnerabilities, privilege escalation, role bypasses, create vs update inconsistencies, resource exhaustion, type safety, size limits, and hasOnly ownership checks. Use when auditing/reviewing rules, running red-team rule assessments, or scoring against auditor checklists. Don't use for Firebase CLI (login, deploy), Auth, Crashlytics, Remote Config, or database queries.

    137k94 tok idle · 780 in use
  6. firebase-ai-logic-basicsfirebase/agent-skills

    Integrates Firebase AI Logic (formerly Vertex AI for Firebase) into mobile and web apps (Android, iOS, Web, and Flutter) to call Gemini models from client code. Use when provisioning or initializing Firebase AI Logic, or adding Gemini features to an app: text generation, multimodal input, chat, streaming, structured output, hybrid on-device inference, App Check protection, or switching models with Remote Config.

    134k90 tok idle · 2,563 in use
  7. firebase-firestorefirebase/agent-skills

    Sets up, manages, queries, and configures Cloud Firestore databases (Standard/Enterprise edition), including data modeling, security rules, indexes, and SDK integrations (Web, Python, iOS, Android, Flutter). Use when creating/listing Firestore databases, defining data models/indexes, writing SDK queries, or integrating Firestore SDKs. For authoring or modifying Firestore Security Rules (firestore.rules), delegate to the firestore-rules-author subagent if subagent delegation is available, or use firestore-rules-creation otherwise. Don't use for Firebase Hosting, Data Connect, Auth, Storage/GCS, Crashlytics, Functions, or BigQuery.

    133k138 tok idle · 897 in use
  8. firebase-crashlyticsfirebase/agent-skills

    Comprehensive guide for Firebase Crashlytics, including provisioning and SDK usage. Use this skill when the user needs help setting up Crashlytics, adding crash reporting, or using the Crashlytics SDK in their application.

    130k49 tok idle · 283 in use