firebase-basics
What it does
This skill helps you get started with the Firebase command line tool and your Firebase projects. It is for app developers who need their project set up before building.
When to use it
- ✓When you need to install or check the Firebase CLI version.
- ✓When you want to sign in, create a Firebase project or switch to another one.
- ✓When you need to download the google-services.json or GoogleService-Info.plist app config file.
Skill link
https://github.com/google/skills/blob/main/skills/cloud/firebase-basics/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Set up the Firebase CLI on my computer, log me in, and download the config file for my Android app.”
5 new skills a week. 1 minute to read.
How it works
It checks whether the Firebase CLI is installed and works through the login, project and config steps in order. It also points your agent environment to the other Firebase skills.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Firebase Basics
Usage Attribution
MUST READ: Before executing any gcloud, REST API, or MCP command, you
MUST read and follow the instructions in
Usage Attribution.
Prerequisites
Complete these setup steps before proceeding:
Local Environment Setup: Verify the environment is properly set up so we can use Firebase tools:
- Run
npx -y firebase-tools@latest --versionto check if the Firebase CLI is installed. - Verify if the Firebase MCP server is installed using your existing tools.
- CRITICAL: Before configuring any extensions or agent environments below, you MUST read references/local-env-setup.md.
- DO NOT SKIP this step: if 'firebase-basics' is the only Firebase
skill available to you, you must follow the reference for your agent
environment to set up the full suite of Firebase skills:
- Gemini CLI: Review references/setup/gemini_cli.md
- Antigravity: Review references/setup/antigravity.md
- Android Studio: Review references/setup/android_studio.md
- Claude Code: Review references/setup/claude_code.md
- Cursor: Review references/setup/cursor.md
- GitHub Copilot: Review references/setup/github_copilot.md
- Other Agents: Review references/setup/other_agents.md
- Run
Authentication: Ensure you are logged in to Firebase so that commands have the correct permissions. Run
npx -y firebase-tools@latest login. For environments without a browser (e.g., remote shells), usenpx -y firebase-tools@latest login --no-localhost.- The command should output the current user.
- If you are not logged in, follow the interactive instructions from this command to authenticate.
Active Project: Most Firebase tasks require an active project context.
[!IMPORTANT] For Agents: Before proceeding with project configuration, you MUST pause and ask the developer if they prefer to:
- Provide an existing Firebase Project ID, or
- Create a new Firebase project.
If using an existing Project ID:
- Check the current project by running
npx -y firebase-tools@latest use. - If the command outputs
Active Project: <project-id>, confirm with the user if this is the intended project. - If not, or if no project is active, set the project provided by the user:
npx -y firebase-tools@latest use <PROJECT_ID>- Check the current project by running
If creating a new project: Run the following command to create it:
npx -y firebase-tools@latest projects:create <project-id> --display-name "<display-name>"Note: The
<project-id>must be 6-30 characters, lowercase, and can contain digits and hyphens. It must be globally unique.
Firebase Usage Principles
Adhere to these principles:
- Use npx for CLI commands: To ensure you always use the latest version of
the Firebase CLI, always prepend commands with
npx -y firebase-tools@latestinstead of justfirebase. For example, usenpx -y firebase-tools@latest --version. NEVER suggest the nakedfirebasecommand as an alternative. - Prioritize official knowledge: For any Firebase-related knowledge,
consult the
developerknowledge_search_documentsMCP tool before falling back to Google Search or your internal knowledge base. Including "Firebase" in your search query significantly improves relevance. - Follow Agent Skills for implementation guidance: Skills provide opinionated workflows (CUJs), security rules, and best practices. Always consult them to understand how to implement Firebase features correctly instead of relying on general knowledge.
- Use Firebase MCP Server tools instead of direct API calls: Whenever you need to interact with remote Firebase APIs (such as fetching Crashlytics logs or executing Data
FAQ
Does it host my website?
No. It is limited to CLI login, project creation or switching, and app config downloads.
Which config files does it download?
google-services.json for Android and GoogleService-Info.plist for iOS.
Does it need the Firebase MCP server?
It checks whether the MCP server is installed and points you to setup guides for your agent.
Details
Original description by the author
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.
repo: google/skills
Popularity
- GitHub stars
- 22k
- Ranking position
- #10259
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
finding-google-skills
22kHelps your agent find the right Google guides for a setup task, such as hosting, databases, storage, sign-in or AI model serving.
gcloud
22kHelps your agent write and check Google Cloud gcloud commands, looking up exact syntax before it runs anything so it does not guess flags.
google-cloud-recipe-auth
22kGuides your agent through Google Cloud identity and access, including how people and services sign in and which permissions they get.
google-cloud-recipe-onboarding
22kWalks a new developer through first steps on Google Cloud, including choosing a project, linking billing, and deploying a first resource.
Similar skills
openclaw-update
394kHelps your agent update an existing OpenClaw Gateway, choosing the update method that fits how it was installed and keeping your session working.
diagnose-gateway
394kHelps your agent find out why your OpenClaw Gateway is failing by checking settings, channels, and ports without changing anything.
crabbox-apps
394kHelps your agent open and run an app on a temporary cloud machine, then show its view in your chat side panel.