firebase/firebase-remote-config-basics
>- Manages Firebase Remote Config templates, feature flags, loading strategies, and SDKs (Android, iOS). Use when downloading/deploying remoteconfig JSON templates, managing version history/feature flags, setting in-app defaults, fetchAndActivate(), real-time listeners, or SDK setup. Don't use for Firebase Hosting, Auth, Firestore, Data Connect, Crashlytics, or App Hosting.
npx skills add https://github.com/firebase/agent-skills --skill firebase-remote-config-basics
This skill provides a complete guide for getting started with Remote Config on
Android or iOS. Remote Config allows you to change the behavior and appearance
of your app without publishing an app update by maintaining a cloud-based
configuration template.
Provisioning Remote Config requires both a Firebase project and a Firebase app,
either Android or iOS. To manage the Remote Config template and conditions via
the command line, use the Firebase CLI. See the firebase-basics skill for
references on project initialization.
If npx -y firebase-tools@latest fails due to registry permissions (403 error):
due to a registry error."
firebase command directly if theuser confirms it is installed globally (npm install -g firebase-tools).
If a command fails because "no active project is selected":
npx -y firebase-tools@latest login:list."Please provide your Firebase Project ID to proceed."
--project <PROJECT_ID> to every subsequent command.To learn how to set up Remote Config in your application code, choose your
platform:
Follow these guidelines and use the associated CLI tools to ensure efficient and
safe use of Remote Config.
To optimize app performance and user experience, follow these recommended
patterns (see
activate previously fetched values immediately on startup and fetch new values
in the background to be used next time. This minimizes user wait time.
instantly without a refresh when server-side configuration changes.
Use the following commands to manage your Remote Config template and version
history through the terminal:
Use the following commands to manage your Remote Config template and version
history through the terminal:
auditing or modification.
npx -y firebase-tools@latest remoteconfig:get -o remote_config.json
remote_config.jsondirectly. Determine the correct signal (e.g., device.country or percent) and
update the "conditions" array and "parameters" map accordingly.
your changes before proceeding to deployment.
Please review the file for accuracy. Once you are satisfied, tell me to
'deploy' to make the changes live."
environment is configured for deployment.
local JSON to the Remote Config service:
{ "remoteconfig": { "template": "remote_config.json" } }
npx -y firebase-tools@latest deploy --only remoteconfig
history.
npx -y firebase-tools@latest remoteconfig:versions:list
The SDK provides a number of features to make your application dynamic and
responsive to user segments.
offline or before the first fetch.
them to the local UI/Logic.
deploy your config JSON files.
Take firebase/firebase-remote-config-basics from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference npm, npx.
Without those the skill loads but fails at the first command.