firebase-analytics · firebase — Claude Code skill: what it does, how to install
A skill for Claude Code that integrates Firebase Analytics into mobile apps. It automates SDK setup, event logging, and screen view tracking.
Apache-2.0 7,200 installs ★ 521 updated 2026-10-20
npx skills add firebase/agent-skills --skill firebase-analytics -a claude-codeWhat firebase-analytics does
This skill provides a guide for implementing Google Analytics for Firebase (GA4F) in Android and iOS projects. It covers base dependency configuration, placement of setup files, SDK initialization, and real-time event verification using DebugView.
A linked Google Analytics property within an active Firebase project is required for the tool to function. It assists in defining custom or recommended events and user properties, as well as tracking screen transitions according to platform-specific documentation.
What it helps with
- integrate Firebase Analytics into a mobile app
- implement logging for custom analytics events
- track user transitions between screens
- configure data collection and consent modes
Example prompts for the agent
- Help me set up Google Analytics in my Android app.
- Implement event tracking for iOS using
firebase-analytics. - Guide me through configuring screen view tracking.
How to install firebase-analytics
1Skills CLI (Vercel)
npx skills add firebase/agent-skills --skill firebase-analytics -a claude-code2Manually: put the files in place
~/.claude/skills/firebase-analytics/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/firebase-analytics/
1Skills CLI (Vercel)
npx skills add firebase/agent-skills --skill firebase-analytics -a codex2Manually: put the files in place
.agents/skills/firebase-analytics/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add firebase/agent-skills --skill firebase-analytics -a cursor2Manually: put the files in place
.cursor/skills/firebase-analytics/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install firebase/agent-skills skills/firebase-analytics2Manually: put the files in place
.github/skills/firebase-analytics/SKILL.md1Skills CLI (Vercel)
npx skills add firebase/agent-skills --skill firebase-analytics -a gemini-cli2Platform CLI
gemini skills install https://github.com/firebase/agent-skills --path skills/firebase-analyticsManually: put the files in place
.devin/skills/firebase-analytics/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add firebase/agent-skills --skill firebase-analytics -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about firebase-analytics
How to install firebase-analytics in Claude Code?
Run npx skills add firebase/agent-skills --skill firebase-analytics -a claude-code in your project terminal.
What does firebase-analytics do?
It acts as an integration guide for setting up Google Analytics in Android or iOS applications, facilitating data collection and event logging setup.
What is required to use firebase-analytics?
You need an active Firebase project linked to a Google Analytics property, and the appropriate configuration files (google-services.json or GoogleService-Info.plist) downloaded.
Source text
SKILL.md · Apache-2.0
---
name: firebase-analytics
description: >-
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.
compatibility: >-
This skill is best used with the Firebase CLI, but does not require it.
Firebase CLI can be accessed through `npx -y firebase-tools@latest`.
version: 1.0.0
metadata:
author: Google LLC
category: CloudObservabilityAndMonitoring
---
# Firebase Analytics
This skill provides a complete guide for getting started with Google Analytics
for Firebase (GA4F) on Android or iOS. It covers base dependency setup,
configuration file placement, initialization, screen tracking, and real-time
event verification.
## Prerequisites
An active Firebase project
[linked to a Google Analytics property](https://support.google.com/analytics/answer/9289234).
See the `firebase-basics` skill for references on project initialization, CLI
login, and downloading app configuration files (`google-services.json` or
`GoogleService-Info.plist`).
## SDK Setup
To learn how to set up Google Analytics for Firebase in your application code
and verify events in real time with DebugView, choose your platform:
* **Android**: [android_setup.md](references/android_setup.md)
* **iOS**: [ios_setup.md](references/ios_setup.md)
## SDK Usage
Google Analytics for Firebase automatically logs some events and user
properties; you can also define custom events and properties.
* [Log events (custom or recommended)](https://firebase.google.com/docs/analytics/events)
* [Set user properties](https://firebase.google.com/docs/analytics/user-properties)
* Track screens
* **Android**:
[android_screen_views.md](references/android_screen_views.md)
* **iOS**: [ios_screen_views.md](references/ios_screen_views.md)
* [Configure data collection and consent mode](https://firebase.google.com/docs/analytics/configure-data-collection)
To learn how to customize event logging and configure advanced behaviors,
consult the documentation for your platform.
* **Android**:
[Get started with Google Analytics for Android](https://firebase.google.com/docs/analytics/android/get-started)
* **iOS**:
[Get started with Google Analytics for iOS+](https://firebase.google.com/docs/analytics/ios/get-started)
© Google LLC · Apache-2.0 · firebase/agent-skills
Similar skills
All skills for Mobile →firebase-analytics by other authors comes first.