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). Earlier this year, we introduced Firebase 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 for your iOS app, or ensuring you’re declaring the SDK correctly in your Gradle file 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, 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, 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 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.
| AI coding agent | How to install agent skills |
|---|---|
| Antigravity | Available in the Antigravity Marketplace |
| Claude Code | Run these commands:claude plugin marketplace add firebase/agent-skillsclaude plugin install firebase@firebase |
| Codex | Available in the Codex Plugin Directory |
| Cursor | Available in the Cursor Marketplace |
| 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 and Firebase UserVoice.

