/firebase:firebase-basicsfrom firebase
Handles Firebase CLI setup, authentication, project creation, project switching, and downloading app config files (google-services.json, GoogleService-Info.plist).
Ships in firebase. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Complete these setup steps before proceeding:
Local Environment Setup: Verify the environment is properly set up so we can use Firebase tools:
npx -y firebase-tools@latest --version to check if the Firebase CLI
is installed.Authentication: Ensure you are logged in to Firebase so that commands
have the correct permissions. Run npx -y firebase-tools@latest login:list
first; if not logged in, run npx -y firebase-tools@latest login. For
environments without a browser (e.g., remote shells), use
npx -y firebase-tools@latest login --no-localhost.
Active Project: Most Firebase tasks require an active project context.
[!IMPORTANT] For Agents: If no Project ID was provided, 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 with npx -y firebase-tools@latest use (if
firebase.json is missing at the project root, create {} first).
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>
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.
Adhere to these principles:
npx -y firebase-tools@latest
instead of just firebase. For example, use
npx -y firebase-tools@latest --version. NEVER suggest the naked firebase
command as an alternative.developerknowledge_search_documents MCP tool first. When the
MCP tool is unavailable, use your web-fetching or web-search tooling to read
the Firebase documentation index at https://firebase.google.com/docs/llms.txt
(or a product-specific index at
https://firebase.google.com/docs/{product}/llms.txt) and append .md
to any documentation page URL to retrieve clean Markdown before falling back
to general web search or your internal knowledge base. Including "Firebase"
in your search query significantly improves relevance.google-services.json
or GoogleService-Info.plist. Instead, use the Firebase CLI to fetch the
config programmatically:
npx -y firebase-tools@latest apps:sdkconfig ANDROID <APP_ID> --project <PROJECT_ID>npx -y firebase-tools@latest apps:sdkconfig IOS <APP_ID> --project <PROJECT_ID>
Save the output to the appropriate location (e.g.,
app/google-services.json for Android, or a path to be linked by
xcode-project-setup for iOS).llms.txt): Use your web-fetching tooling to read https://firebase.google.com/docs/llms.txt (or product-specific indexes at https://firebase.google.com/docs/{product}/llms.txt).*.md): Append .md to any documentation page URL to retrieve clean Markdown (for example, https://firebase.google.com/docs/web/setup.md).Login Issues: If the browser fails to open during the login step, use
npx -y firebase-tools@latest login --no-localhost instead.
Genkit: If using Genkit, install the skills:
npx skills add genkit-ai/skills
references/android_setup.md (opens in a new tab)references/firebase-cli-guide.md (opens in a new tab)references/firebase-service-init.md (opens in a new tab)references/flutter_setup.md (opens in a new tab)references/ios_setup.md (opens in a new tab)references/local-env-setup.md (opens in a new tab)references/refresh/android_studio.md (opens in a new tab)references/refresh/antigravity.md (opens in a new tab)references/refresh/claude.md (opens in a new tab)references/refresh/gemini-cli.md (opens in a new tab)references/refresh/other-agents.md (opens in a new tab)references/setup/android_studio.md (opens in a new tab)references/setup/antigravity.md (opens in a new tab)references/setup/claude_code.md (opens in a new tab)references/setup/cursor.md (opens in a new tab)references/setup/gemini_cli.md (opens in a new tab)references/setup/github_copilot.md (opens in a new tab)references/setup/other_agents.md (opens in a new tab)references/web_setup.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub firebase/agent-skills --plugin firebase15 skills in this plugin
/extension-to-functions-codebaseSkill for converting an installed Firebase Extension (or extension source) into a standalone Cloud Functions for Firebase codebase or publishable npm package, including V1 to V2 trigger upgrades, lifecycle hooks, and declarative security/firebase-ai-logic-basicsIntegrates Firebase AI Logic (formerly Vertex AI for Firebase) into mobile and web apps (Android, iOS, Web, and Flutter) to call Gemini models from client code. Use when provisioning or initializing Firebase AI Logic, or adding Gemini features to an app: text generation, multimodal input, chat, streaming, structured output, hybrid on-device inference, App Check protection, or switching models with Remote Config./Other plugins' skills for the same job