installskill

Skills / firebase/agent-skills

firebase-ai-logic-basics

Adds Firebase AI Logic to Android, iOS, Web and Flutter apps to call Gemini models from client code.

Pinned commit
99954a30898bCommitted 2026-11-09
Files
663 KB
License
Apache-2.0
Snapshot taken
2026-11-28
Description from the skill
Integrates 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.

This is the text your agent reads to decide when to use the skill.

Install

Choose your agent. Pinned commands install exactly the commit this page describes.

Skill directory .claude/skills/Claude Code · Official docs

Does not read the shared .agents/skills directory. A skill must land in .claude/skills, or arrive inside a plugin.

GitHub CLIpinned

$ gh skill install firebase/agent-skills skills/firebase-ai-logic-basics --agent claude-code --pin 99954a30898bb5ddc8152ee10e124dc3b4106bf7

gh picks the directory for the agent, names the folder after the source directory (firebase-ai-logic-basics), and writes source metadata into the SKILL.md frontmatter, so the content hash below will not match. Check the github-tree-sha it records instead: it should read 2f45dc17630ad5045139fa0fa63a680879b11980.

skills CLIpinned

$ npx skills add firebase/agent-skills@99954a30898bb5ddc8152ee10e124dc3b4106bf7 --skill firebase-ai-logic-basics -a claude-code --copy

Downloads and runs the skills package from npm. --copy writes real files instead of symlinks. The CLI sends anonymous telemetry unless DISABLE_TELEMETRY=1 is set, and that setting also turns off its audit lookups.

Claude Code pluginnot pinnedrun inside the agent

> /plugin marketplace add firebase/agent-skills
> /plugin install firebase@firebase

Not pinned: installs whatever the marketplace currently serves. The plugin bundles 13 other skills with this one. It also installs things this page does not cover: subagents, MCP server configuration. Plugin scope is chosen in the /plugin dialog.

Plain gitpinned

$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/firebase/agent-skills.git "$tmp"
$ git -C "$tmp" checkout --quiet 99954a30898bb5ddc8152ee10e124dc3b4106bf7
$ mkdir -p .claude/skills
$ cp -R "$tmp/skills/firebase-ai-logic-basics" .claude/skills/firebase-ai-logic-basics

No extra tooling. Files land byte for byte as published in .claude/skills/firebase-ai-logic-basics, so the content hash below can be checked directly.

Check what landed

Run this after installing. It prints one SHA-256 for the whole directory. If your installer reported a different directory, cd there instead.

$ cd .claude/skills/firebase-ai-logic-basics && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256

Expected36f74d98b6445ec72eef894d98329c56f8af5b3c9492ea9231db91fe26e69c84

It matches only when the files are byte for byte as published. A difference means something changed: by the installer, by you, or upstream.

What is inside

Pattern matches in the files, each linked to its line. A match is a place to read, not a verdict, and no match is not proof of absence.

Docs · 5SKILL.md · 1

Runs commands4

Code that spawns other processes, or shell code blocks in the instructions.

0 in scripts · 4 in docs and other text files

Network accessNo match

Calls that fetch from or send to a remote host.

Installs packages8

Commands that pull and run third-party packages at use time.

0 in scripts · 8 in docs and other text files

Reads env or credentials18

References to environment variables, tokens, keys or credential files.

0 in scripts · 18 in docs and other text files

Privileged or destructive1

sudo, recursive deletes, permission changes and similar commands.

0 in scripts · 1 in docs and other text files

Dynamic or encoded code1

eval, exec, base64 decoding and remote-script piping, which hide what runs.

0 in scripts · 1 in docs and other text files

Outside hosts mentioned

Hostnames of every URL in the text files.

  • firebase.google.com×24

Entries worth a second look

No symlinks, submodules, hidden files, archives, compiled files or unscanned files.

File manifest

Every file in the skill directory at the pinned commit.

Content hash
36f74d98b6445ec72eef894d98329c56f8af5b3c9492ea9231db91fe26e69c84
Git tree SHA
2f45dc17630ad5045139fa0fa63a680879b11980
PathKindSizeSHA-256
SKILL.mdSKILL.md12 KB44680ac433e46a3c…
references/flutter_setup.mdDocs5.0 KBb5c42d58646626b6…
references/ios_setup.mdDocs8.1 KBb5b3ef44d171a85c…
references/tts_generation.mdDocs22 KB41ce05a3d2fa29ba…
references/usage_patterns_android.mdDocs7.2 KB8a9b231f0002a9b6…
references/usage_patterns_web.mdDocs8.6 KBb4f179961291ab28…

Spec and portability

Checked against the Agent Skills specification.

Frontmatter
Parses as YAML
Name matches directory
Yes
Name uses lowercase letters, digits and hyphens
Yes
Description length
415limit 1,024 characters
SKILL.md body
287 linesthe spec suggests under 500 lines
Fields outside the spec
versionAgents that do not know these fields ignore them, and uploading to claude.ai or the Skills API can fail on them.
License field
None declared
License file
None declared
Repository license
LICENSE (Apache-2.0)
Claude Code plugin
firebase@firebase

Change history

No changes recorded since the first snapshot on 2026-11-28.

Follow changes to this skill in a feed reader: Atom feed · all skills

Get an email when this skill changes

Email alerts are not built yet. Leave your address and we will write to you once, when they are. The feed above works today.

We store your address, the name of this skill and the date. It is used for nothing else.