Firebase agent skills

Firebase agent skills (GitHub) are portable, self-contained modules of Firebase-specific knowledge, instructions, and workflows. They're designed to help AI assistants understand Firebase best practices and execute complex tasks with higher accuracy and lower token cost. For a full list of the Firebase agent skills, see Available skills.

Get started

Firebase agent skills work with any AI assistant that supports skills, including Antigravity, Claude Code, Codex, and Cursor.

Install Firebase agent skills

Select your AI coding agent to learn how to install Firebase agent skills:

Antigravity

Use either of the following options to install Firebase agent skills in Antigravity:

  • Option 1: Install the Firebase plugin (recommended)

    Install the official Firebase plugin to make Firebase agent skills available across all your projects. Use any of the following options:

    • Antigravity Marketplace: Click Customizations, select the Marketplace tab, and then click + on the Firebase plugin card.

    • Antigravity CLI: In an interactive session, run /plugin install firebase@antigravity-plugins-official (or run /plugin, and then install Firebase from the Discover tab). Plugins installed in Antigravity sync automatically to Antigravity CLI.

    • During onboarding: Select the Firebase plugin on the Build with Google screen.

  • Option 2: Install project-level agent skills

    To install Firebase agent skills for a single project, run the following command in your project directory:

    npx skills add firebase/agent-skills --agent=antigravity

Claude Code

Use either of the following options to install Firebase agent skills in Claude Code:

  • Option 1: Install the Firebase plugin (recommended)

    Install the official Firebase plugin to get both Firebase agent skills and the Firebase MCP server:

    1. Add the Firebase marketplace:

      claude plugin marketplace add firebase/agent-skills
    2. Install the Firebase plugin:

      claude plugin install firebase@firebase
    3. (Optional) Verify the installation:

      claude plugin list
  • Option 2: Install agent skills only

    To install only Firebase agent skills (without the Firebase MCP server), run the following command in your project directory:

    npx skills add firebase/agent-skills --agent=claude-code

Codex

Use either of the following options to install Firebase agent skills in Codex:

  • Option 1: Install the Firebase plugin (recommended)

    Install the official Firebase plugin to get both Firebase agent skills and the Firebase MCP server. Use either of the following options:

    • Codex CLI:

      1. Add the Firebase marketplace:

        codex plugin marketplace add firebase/agent-skills
      2. Install the Firebase plugin:

        codex plugin add firebase@firebase
    • Codex app:

      1. Add the Firebase marketplace:

        codex plugin marketplace add firebase/agent-skills
      2. Fully restart the Codex app.

      3. Open Plugins, select the Firebase marketplace, open Firebase, and then click + Install.

      4. Start a new task, and then type @Firebase to select the plugin (or ask Codex to perform a Firebase task).

  • Option 2: Install agent skills only

    To install only Firebase agent skills (without the Firebase MCP server), run the following command in your project directory:

    npx skills add firebase/agent-skills --agent=codex

Cursor

Use either of the following options to install Firebase agent skills in Cursor:

  • Option 1: Install the Firebase plugin (recommended)

    Install the official Firebase plugin from the Cursor Marketplace to get both Firebase agent skills and the Firebase MCP server.

  • Option 2: Install agent skills only

    To install only Firebase agent skills (without the Firebase MCP server), run the following command in your project directory:

    npx skills add firebase/agent-skills --agent=cursor

Other agents

To install Firebase agent skills for other compatible AI coding agents, run the following command in your project directory:

npx skills add firebase/agent-skills

Update Firebase agent skills

Select your AI coding agent to learn how to update Firebase agent skills:

Antigravity

  • If you installed the Firebase plugin:

    • Plugins installed from the Antigravity Marketplace (or enabled during onboarding) are managed and updated automatically by Antigravity.

    • If you use Antigravity CLI standalone, update the plugin:

      agy plugin install firebase@antigravity-plugins-official
  • If you installed project-level agent skills: Run the following command in your project directory:

    npx skills update

Claude Code

  • If you installed the Firebase plugin:

    1. Update the Firebase marketplace:

      claude plugin marketplace update firebase
    2. Update the plugin:

      claude plugin update firebase@firebase
    3. Apply the update by restarting Claude Code (or run /reload-plugins in an active session).

  • If you installed agent skills only: Run the following command in your project directory:

    npx skills update

Codex

  • If you installed the Firebase plugin:

    1. Refresh the Firebase marketplace:

      codex plugin marketplace upgrade firebase
    2. If the refreshed version isn't picked up, remove and then reinstall the plugin:

      codex plugin remove firebase@firebase
      codex plugin add firebase@firebase
  • If you installed agent skills only: Run the following command in your project directory:

    npx skills update

Cursor

  • If you installed the Firebase plugin: Plugins installed from the Cursor Marketplace update automatically when you restart Cursor or refocus a window.

  • If you installed agent skills only: Run the following command in your project directory:

    npx skills update

Other agents

To update Firebase agent skills, run the following command in your project directory:

npx skills update

Use Firebase agent skills

AI assistants are designed to use skills automatically whenever they detect that a skill's description matches your current request. However, skills can also be manually invoked. This is often done by typing / in the agent chat and searching for the skill name.

Core components of a skill

Each agent skill is a specialized package centered around a SKILL.md definition that provides the AI assistant with the following components:

  • Specialized instructions: Detailed guidance on achieving specific tasks, such as implementing Firebase Authentication or provisioning a Cloud Firestore database.
  • Best practices: Built-in security and performance patterns to ensure your app follows Firebase recommendations from the start.
  • Automation scripts: Executable code that allows your AI agent to perform local environment setup or configuration automatically.

Benefits to using skills

Using agent skills reduces the manual effort of searching documentation while improving the efficiency of your AI interactions.

Reduced token costs

Conventional AI integrations often load massive amounts of documentation upfront, which consumes significant tokens and increases session costs. Agent skills use progressive disclosure to minimize this overhead:

  • The agent initially only "scans" brief metadata to see if a skill is relevant.
  • Detailed instructions and resources are only loaded when the agent determines they're necessary for your specific task.

AI-guided implementation

Instead of manually searching through documentation, you can describe your intent in natural language. Skills guide your AI assistant to perform tasks such as the following:

  • Add a sign-in screen to my web app.
  • Save my to-do list items to a database.
  • Help me deploy my new web app.

For a full list of the Firebase agent skills, see Available skills.

Use skills alongside the Firebase MCP server

Firebase agent skills are designed to complement the Firebase MCP server. While many agent skills use the Firebase CLI for setup and deployment tasks, you'll have the best experience if you also connect to the Firebase MCP server. In fact, the MCP server is required to search official Firebase documentation or for features that access live project data directly (such as debugging Firebase Crashlytics issues or querying Cloud Firestore).

  • Firebase MCP server: Provides programmatic tools for real-time project inspection, live data operations, and official documentation search. These tools let AI assistants query and update Cloud Firestore data, debug Firebase Crashlytics issues, manage Firebase Authentication users, inspect logs, and pull official Firebase documentation into context.

  • Firebase agent skills: Provide specialized instructions, workflows, and recommended practices through token-efficient progressive disclosure. Skills teach the agent when and how to use tools like the Firebase CLI and the Firebase MCP server with higher accuracy and lower token cost.

Available skills

Firebase provides a suite of skills for core products. Skills for additional Firebase products and features are coming soon!

Skill Description
firebase-ai-logic-basics Helps integrate Firebase AI Logic (Gemini API) into web applications. Covers setup, multimodal inference, structured output, and security.
firebase-analytics Assists with getting started and measuring screenviews for Google Analytics in iOS and Android apps.
firebase-app-hosting-basics Streamlines the process of deploying and managing modern web frameworks like Next.js and Angular that require backend support using Firebase App Hosting.
firebase-auth-basics Helps you implement secure sign-in with Firebase Authentication, manage your user base, and protect your data using authentication-based Security Rules.
firebase-basics Assists with adding Firebase to your app for the first time, and learning general platform workflows.
firebase-crashlytics Assists with setting up, instrumenting, and validating Firebase Crashlytics in iOS, Android, and web apps.
firebase-local-env-setup Assists with setting up your local environment, including the Firebase CLI and Firebase Local Emulator Suite, for Firebase development.
firebase-data-connect-basics Helps implement and manage Firebase SQL Connect to build type-safe, PostgreSQL-backed applications using GraphQL.
firebase-firestore-standard Covers the essentials of Cloud Firestore, including database provisioning, writing Security Rules, and performing data operations with the SDK.
firebase-firestore-enterprise-native-mode Covers the essentials of Cloud Firestore in Enterprise edition Native mode, including database provisioning, writing Security Rules, and performing data operations with the SDK.
firebase-hosting-basics Assists with deploying static websites, Single Page Apps (SPAs), and simple microservices to Firebase Hosting.
firestore-security-rules-auditor Assists with auditing Cloud Firestore Security Rules for common vulnerabilities and best practices.
firebase-remote-config-basics Assists with Remote Config template management, including setting up Remote Config, managing feature flags, SDK usage, and updating app behavior dynamically.

Next steps