Firebase Tools is a command-line toolkit for testing, managing, and deploying Firebase projects, with an official MCP server for agent-based access. It is for developers working with Firebase Hosting, databases, Authentication, and other project resources, while the catalogue add-ons support agent workflows around these tools.
Borrowing it
Nothing to install: this file belongs to firebase/firebase-tools. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/firebase/firebase-tools/main/.agent/skills/update-pubsub-emulator/SKILL.mdgit clone --depth 1 https://github.com/firebase/firebase-toolsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/firebase/firebase-tools/update-pubsub-emulator)<a href="https://agentmods.dev/skills/firebase/firebase-tools/update-pubsub-emulator"><img src="https://agentmods.dev/badge/skills/firebase/firebase-tools/update-pubsub-emulator/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/firebase/firebase-tools/update-pubsub-emulator"><img src="https://agentmods.dev/badge/skills/firebase/firebase-tools/update-pubsub-emulator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00012 | $0.00677 |
| Opus 5.5 | $0.00005 | $0.00271 |
| Sonnet 5.5 | $0.00002 | $0.00135 |
| Haiku 4.5 | $0.00001 | $0.00068 |
Grade A, and why
Update Pub/Sub Emulator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Update Pub/Sub Emulator
-
Update Local Emulator Run the following command to make sure you have the latest version of the pubsub emulator installed via gcloud:
gcloud components update pubsub-emulator -
Locate Emulator Directory The emulator represents a directory likely located at
<gcloud-install-path>/platform/pubsub-emulator. You can find the exact path by running the emulator and checking the output, or by inspecting wheregcloudis installed (e.g.which gcloudusually points to a bin directory, and the platform directory is a sibling ofbin). Verify the version by running the emulator or checking theVERSIONfile if it exists. -
Package the Emulator Zip the directory found in the previous step. Name it
pubsub-emulator-<version>.zip. Ensure the zip structure is such that the top-level directory inside the zip ispubsub-emulator. Note: The existing code expects the binary atpubsub-emulator-<version>/pubsub-emulator/bin/cloud-pubsub-emulatorinside the cache, which usually means the zip contains a root folderpubsub-emulator. -
Upload to Storage Upload the zip file to the Firebase preview bucket:
gcloud storage cp pubsub-emulator-<version>.zip gs://firebase-preview-drop/emulator/Make the file publicly readable if necessary (usually the bucket permissions handle this, or use
gcloud storage objects update ... --add-acl-grant=entity=allUsers,role=READER).Note: For the version 0.8.27 update, this step was already done.
-
Calculate Metadata Calculate the file size in bytes, MD5 checksum, and SHA256 checksum of the zip file.
# Size ls -l pubsub-emulator-<version>.zip # MD5 (macOS: `md5`, Linux: `md5sum`) md5 pubsub-emulator-<version>.zip # SHA256 (macOS: `shasum -a 256`, Linux: `sha256sum`) shasum -a 256 pubsub-emulator-<version>.zip -
Update Configuration Edit
src/emulator/downloadableEmulatorInfo.json:- Update
pubsub.versionto the new version. - Update
pubsub.expectedSize. - Update
pubsub.expectedChecksum(MD5). - Update
pubsub.expectedChecksumSHA256. - Update
pubsub.remoteUrlandpubsub.downloadPathRelativeToCacheDir.
- Update
-
Verify Run the emulators to ensure the new version is downloaded and starts correctly.
firebase emulators:start --only pubsub -
Add a Changelog Entry Add a changelog entry to
CHANGELOG.mdlike '- Updated Pub/Sub emulator to version '
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 62 lines · 12 tokens per session scan A 2b72c89c7397
Update Pub/Sub Emulator is a skill published in the GitHub repository firebase/firebase-tools (4,484 stars, last pushed today), licensed MIT. It adds 12 tokens to every session and 677 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…
insight-error-page
Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…