---
title: "Introducing Firebase agent skills for Google Analytics"
description: "Developers can equip coding agents with specialized Firebase skills to seamlessly initialize Google Analytics and instrument screenviews across modern UI frameworks."
published: "2026-11-10"
last_updated: "2026-11-10"
authors:
  - "Don Kahn (Product Manager)"
  - "Charlotte Liang (Product Manager)"
categories:
  - "Google Analytics"
  - "Agent Skills"
canonical_url: "https://firebase.blog/posts/2026/11/firebase-skills-for-google-analytics"
---

# Introducing Firebase agent skills for Google Analytics

*Published November 10, 2026 by Don Kahn (Product Manager), Charlotte Liang (Product Manager)*

---
Agent skills help your AI coding agents get you set up more easily and write better code with fewer tokens (see our [blog about eval-driven development](https://firebase.blog/posts/2026/08/eval-driven-development-agent-skills/)). Earlier this year, we introduced [Firebase agent skills](https://firebase.google.com/docs/ai-assistance/agent-skills) to give AI coding agents deep, domain-specific context and instructions for working with Firebase, and we’ve now added **agent skills for Google Analytics for Firebase**.

They help you with two critical challenges for analytics: getting started and adding screenview instrumentation. Logging information about screenviews helps you understand user engagement or user behavior per screen of your mobile app.

### Set up Google Analytics with a single prompt

When your AI coding agent is equipped with agent skills, you can **ask your agent: "Help me set up my app to use Google Analytics for Firebase."**

From there, your agent will connect your app to Firebase (if it's not already) and set up Google Analytics in your Firebase project. Your agent can then add all the required dependencies and initialization code into your actual app.

Importantly, **skills help your agent not miss the finicky bits!** For example, if you need to do any special setup (like creating a Google Analytics account), your agent will walk you through the details. Also, setting up Analytics in your codebase sometimes has platform-specific requirements, like [remembering to include the `-ObjC` linker flag](https://firebase.google.com/docs/analytics/ios/get-started) for your iOS app, or ensuring you’re [declaring the SDK correctly in your Gradle file](https://firebase.google.com/docs/analytics/android/get-started#add-sdk) for your Android app. Your agent will also handle project-specific context (such as your app's directory structure or how you manage multiple app build variants), which could cause unexpected failures during build time.

### Make screenview logging more accurate

One of the foundational use cases for Google Analytics is to understand user engagement via the app screens they view. The Google Analytics for Firebase SDK supports [*automatic* logging of screenview events](https://firebase.google.com/docs/analytics/screenviews), lightening your development load, with full flexibility to opt out whenever needed.

For many apps, this automatic logging of screenview events reliably helps you understand user behavior. However, with the shift toward declarative UI via modern frameworks (like Jetpack Compose or SwiftUI and cross-platform frameworks like Flutter or React Native), it's **increasingly necessary for you to *manually* log screenview events**.

For these situations, you can now utilize Google Analytics agent skills. Your AI coding agent can now do the work for you to instrument your apps that use modern declarative UIs so that you're accurately logging screenviews. You can just **prompt your agent to "Help me instrument my app to log screenviews using Google Analytics for Firebase."**

### How to get agent skills

You can [install Firebase agent skills](https://firebase.google.com/docs/ai-assistance/agent-skills#install-skills), which now include the new Google Analytics skills, into most AI coding agents (like Antigravity, Claude Code, Codex, or Cursor agents). If you already have Firebase agent skills installed, make sure to [update your agent skills](https://firebase.google.com/docs/ai-assistance/agent-skills#update-skills) to pull in all the new skills.

Here are some **quick instructions for installing Firebase agent skills**. For detailed instructions and other options, check out our [Firebase agent skills documentation](https://firebase.google.com/docs/ai-assistance/agent-skills).

| AI coding agent | How to install agent skills |
| :--- | :--- |
| Antigravity | Available in the [Antigravity Marketplace](https://antigravity.google/docs/marketplace) |
| Claude Code | Run these commands:
`claude plugin marketplace add firebase/agent-skills`
`claude plugin install firebase@firebase` |
| Codex | Available in the [Codex Plugin Directory](https://chatgpt.com/plugins/plugins_6a8ddf314ab88191864c208fda197798?search=firebase) |
| Cursor | Available in the [Cursor Marketplace](https://cursor.com/marketplace/firebase) |
| Any agent | Run this command:
`npx skills add firebase/agent-skills` |

As we build support for more development workflows, we’d love to hear your feedback, as well as your requests for additional agentic tooling for your most important development tasks! Join us in the discussion on [GitHub](https://github.com/firebase/agent-skills) and [Firebase UserVoice](https://firebase.uservoice.com/forums/948424-general?category_id=525325).
