firebase-basics

Configures Firebase CLI authentication, project selection, and app config file downloads.

Updated May 11, 2026
One-click install
npx skills add https://github.com/alon3153/upe-social-publisher --skill firebase-basics-alon3153
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: firebase-basics
Source: https://github.com/alon3153/upe-social-publisher/tree/main/.agents/skills/firebase-basics
Command: npx skills add https://github.com/alon3153/upe-social-publisher --skill firebase-basics-alon3153

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires firebase-tools, and includes references (resource) components.

What problem does it solve? Setting up Firebase for a new app involves repetitive CLI steps—installing firebase-tools, logging in, creating or selecting a project, and downloading config files like google-services.json. This Skill guides an AI agent through that foundational setup correctly and consistently. ## Core Features & Use Cases - CLI Setup & Authentication: Verifies Node.js and firebase-tools installation, and handles login including headless environments via login --no-localhost. - Project Management: Creates new Firebase projects or switches the active project context with firebase use. - Automated Config Retrieval: Downloads google-services.json (Android) and GoogleService-Info.plist (iOS) programmatically via apps:sdkconfig instead of manual console downloads. - Agent Environment Setup: Provides per-agent installation guides (Gemini CLI, Claude Code, Cursor, Copilot, Android Studio, Antigravity) for Firebase skills and the MCP server. - Use Case: Ask your agent to set up Firebase for a new Android app—it will verify the CLI, authenticate, create or select a project, register the app, and save the config file automatically. ## Quick Start Ask the agent to set up Firebase for my project, log in to the Firebase CLI, and download the Android google-services.json config file.

Frequently Asked Questions about firebase-basics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I log in to the Firebase CLI without a browser?▼

Run `npx -y firebase-tools@latest login --no-localhost` in remote or headless environments. The command outputs a URL to open manually and a code to paste back, completing authentication without launching a local browser.

How do I download google-services.json using the Firebase CLI?▼

Use `npx -y firebase-tools@latest apps:sdkconfig ANDROID <APP_ID> --project <PROJECT_ID>` and save the output as app/google-services.json. This avoids manually downloading the file from the Firebase Console.

How do I create a new Firebase project from the command line?▼

Run `npx -y firebase-tools@latest projects:create <project-id> --display-name "<display-name>"`. The project ID must be 6-30 lowercase characters, may contain digits and hyphens, and must be globally unique.

What Node.js version does the Firebase CLI require?▼

The setup requires Node.js version 20 or higher, verified with `node --version`. The recommended installation path is a version manager like nvm on macOS/Linux or nvm-windows on Windows.

When should I not use the firebase-basics skill?▼

This skill covers only CLI login, project creation or switching, and config file downloads. For Firebase Hosting deploys, Firestore, Auth, App Hosting, Data Connect, Crashlytics, or Remote Config, use the dedicated Firebase skills for those services.