Skip to main content

Firebase agent skills

All 14 agent skills by Firebase, with their SKILL.md files. Browse each one or open it in Treq. Source: github.com/firebase/agent-skills

Google's Firebase team maintains firebase/agent-skills, 14 skills that teach coding agents to set up and build on Firebase. They cover CLI and project setup, Auth, Firestore and its security rules, SQL Connect, App Hosting, Remote Config, Crashlytics, Analytics, and AI Logic across web, Android, iOS, and Flutter. The repo packages them for six agent hosts and bundles the Firebase MCP server. Install it if you build on Firebase, and treat the security rules skills as its strongest part.

History

Anna Eilering made the initial commit in January 2026, and two days later Joe Hanley added the first skills with configs for Claude and Gemini CLI. A "launch cut" followed in February 2026, along with a Kiro power, a Cursor plugin, and a token counting script. From March to May 2026 a sync job imported Genkit skills from genkit-ai/skills through bot pull requests. In May a commit removed them with their sync workflow, and firebase-basics now points Genkit users to that repo.

Consolidation came in waves. Local environment setup merged into firebase-basics in March, Firestore Standard and Enterprise merged into one firebase-firestore skill with edition detection in April, and a Codex plugin arrived in June. September 2026 brought a firestore-rules-author subagent and six commits titled "Fix objectively incorrect" code snippets, CLI flags, or schemas. Cadence holds at 33 commits in the last 90 days.

Depth

The 14 SKILL.md files total 2,242 lines, with a median of 130. Behind them sit 79 supporting files, mostly per-platform setup guides in markdown. The only code is a small Swift package in xcode-project-setup that adds Firebase to an Xcode project. Seven skills carry a -basics suffix and read that way: firebase-auth-basics explains users and identity providers, then hands platform code to five references.

Depth is uneven. firestore-rules-creation is the largest skill at 600 lines and has no references. Its four phases scan the codebase for every collection and query, write default-deny rules with validator functions, attack them in a devil's advocate pass, and validate with a dry-run deploy.

The same skill tells the agent to present its rules as a prototype that needs review. firebase-security-rules-auditor complements it with a red-team checklist for update bypasses and user-supplied role fields. At the thin end, firebase-crashlytics is 48 lines plus three setup references. Most skills are procedures that drive npx -y firebase-tools@latest commands.

Tooling

Install through npx skills add, the Gemini CLI extension in gemini-extension.json, the Claude Code or Codex plugin marketplaces, Kimi Code, a Kiro power under kiro/, or a Cursor plugin. Most of these bundle the Firebase MCP server, which runs through npx firebase-tools mcp. The root .mcp.json pins it to version 15.32.1, while the Gemini extension uses latest.

The repo also ships an agent definition, agents/firestore-rules-author.md. firestore-rules-creation tells the agent to delegate to it when the host supports subagents and to author rules directly otherwise. The subagent's persona frames the work as a penetration test of the rules.

CI is thin. The single workflow, format.yml, runs mdformat in check mode over the markdown, and nothing validates frontmatter. One skill shows the gap: the folder firebase-data-connect-basics declares name: firebase-data-connect. Commit titles mention eval prompts and activation evals, but no eval files or tests exist in the public tree.

Community engagement

Signal Value
Repository firebase/agent-skills
Stars / forks 522 / 118
Open issues / PRs 13 / 55
Commits / contributors 114 / 21
First commit January 2026
Last 90 days 33 commits

As of November 2026 the repo has 522 stars and 118 forks, with 13 open issues and 55 open pull requests. Twenty-one people wrote the 82 human commits. Joe Hanley leads with 24 and Charlotte Liang has 16, so no single author dominates, and several contributors commit from google.com addresses.

The public log understates the work. Of the 114 commits, 27 come from copybara-service[bot], which imports changes made outside GitHub, and five from a Google sync bot. A CODEOWNERS file added in October 2026 maps each skill to product owners and technical writers, but its own comment says those reviews do not block merges. The 55 open pull requests outnumber the open issues four to one, so review is the bottleneck for anyone who contributes.

Utility for target workloads

This is for developers building on Firebase with an agent that can run npx firebase-tools. Concrete jobs include creating or selecting a project and fetching google-services.json through the CLI, and adding Firebase Auth to a web or Flutter app. Others are generating and then red-teaming Firestore security rules, building a SQL Connect schema with GraphQL queries and mutations, and calling Gemini through Firebase AI Logic with App Check.

Prerequisites are a Google account with a Firebase project, Node for npx, and the Firebase MCP server for Crashlytics and SQL Connect operations. The -basics skills explain concepts and defer code to per-platform references, so an agent reads several files per task. They also tell the agent to fetch app config files through the CLI and not to send the user to the Firebase Console.

Firebase overlaps Supabase as a backend platform, and SQL Connect on Cloud SQL for PostgreSQL puts it next to Neon. Each repo teaches only its own product, so pick by platform. For mobile clients built with Expo, Expo covers the app side and leaves the backend to you.

Verdict: install it on Firebase projects. firestore-rules-creation and firebase-security-rules-auditor justify the install on their own. Install the set together, since the other skills point back to firebase-basics for CLI setup and login.

Other

  • extension-to-functions-codebase

    Skill for converting an installed Firebase Extension (or extension source) into a standalone Cloud Functions for Firebase codebase or publishable npm package, including V1 to V2 trigger upgrades, lifecycle hooks, and declarative security

  • firebase-ai-logic-basics

    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.

  • firebase-analytics

    Comprehensive guide for Google Analytics for Firebase (GA4F), including base setup, SDK initialization, screen tracking, and event logging on Android and iOS. Use this skill when setting up Google Analytics, adding the SDK, or logging analytics events. Don't use for standalone CLI login or project/config file downloads without Analytics (use firebase-basics), or for Crashlytics, Remote Config, Auth, Firestore, Hosting, App Hosting, or Data Connect.

  • firebase-app-hosting-basics

    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.

  • firebase-auth-basics

    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.

  • firebase-basics

    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.

  • firebase-crashlytics

    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.

  • firebase-data-connect

    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.

  • firebase-firestore

    Sets up, manages, queries, and configures Cloud Firestore databases (Standard/Enterprise edition), including data modeling, security rules, indexes, and SDK integrations (Web, Admin, Python, iOS, Android, Flutter). Use when adding or migrating app databases, 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 Data Connect, BigQuery, or standalone Hosting, Auth, Storage/GCS, Crashlytics, or Functions tasks.

  • firebase-hosting-basics

    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.

  • firebase-remote-config-basics

    Manages Firebase Remote Config templates, feature flags, loading strategies, and SDKs (Android, iOS). Use when downloading/deploying remoteconfig JSON templates, managing version history/feature flags, setting in-app defaults, fetchAndActivate(), real-time listeners, or SDK setup. Don't use for Firebase Hosting, Auth, Firestore, Data Connect, Crashlytics, or App Hosting.

  • firebase-security-rules-auditor

    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.

  • firestore-rules-creation

    Designs, authors, refactors, and hardens production-grade Cloud Firestore Security Rules (firestore.rules). IMPORTANT: If subagent delegation AND the firestore-rules-author subagent are available in your environment, delegate authoring firestore.rules to the firestore-rules-author subagent. If subagent delegation is unavailable (e.g. not enabled in the IDE), firestore-rules-author is not installed, or you are running inside firestore-rules-author, follow this skill directly.

  • xcode-project-setup

    Safely modifies Xcode projects (.pbxproj) to add Swift Packages and link files. Use this skill whenever an iOS project needs dependencies installed (e.g. Firebase, Alamofire).