firebase-tools: Skill for Claude Code

.agent/skills/developing-firebase-tools/SKILL.md

developing-firebase-tools is a skill for Claude Code, Codex from firebase/firebase-tools. It costs 35 tokens per session (1,156 once invoked), scanned A, original, MIT.

A repository workflow guide for developing Firebase Tools, a command-line toolkit for Firebase services.

In plain words
What is it for?
It helps with branches, Git worktrees, dependency setup, testing, bug fixes, and pull requests in the firebase-tools repository.
Why use it?
It gives developers a consistent way to isolate changes, install dependencies, run checks, and prepare contributions without damaging their main checkout.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is firebase/firebase-tools's own configuration. It tells Claude Code and Codex how to work on firebase-tools itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything firebase-tools configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is git worktree add -b {branch_name} ../firebase-tools-worktrees/{branch_name} origin/main.

About the project

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.

firebase/firebase-tools · 4,484 stars · on GitHub

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/firebase/firebase-tools/main/.agent/skills/developing-firebase-tools/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/firebase/firebase-tools

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for developing-firebase-tools

README.md
[![agentmods](https://agentmods.dev/badge/skills/firebase/firebase-tools/developing-firebase-tools/github.svg)](https://agentmods.dev/skills/firebase/firebase-tools/developing-firebase-tools)
Your own site
<a href="https://agentmods.dev/skills/firebase/firebase-tools/developing-firebase-tools"><img src="https://agentmods.dev/badge/skills/firebase/firebase-tools/developing-firebase-tools/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.

agentmods 80×15 button for developing-firebase-tools

Your own site · 80×15
<a href="https://agentmods.dev/skills/firebase/firebase-tools/developing-firebase-tools"><img src="https://agentmods.dev/badge/skills/firebase/firebase-tools/developing-firebase-tools.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,156 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00035 $0.01156
Opus 5.5 $0.00014 $0.00462
Sonnet 5.5 $0.00007 $0.00231
Haiku 4.5 $0.00003 $0.00116

Measured 1mo ago against content hash 032656588238, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

developing-firebase-tools 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 1mo 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.

.agent/skills/developing-firebase-tools/SKILL.md · 116 lines

How it starts

The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Developing Firebase Tools

This skill guides you through setting up branches or git worktrees, managing dependencies, testing changes, and submitting PRs for the firebase-tools repository.

Repository Setup & Workspace Management

When working on a feature or bug fix, you can work either in a dedicated Git branch in your current repository clone, or use Git worktrees to isolate multiple tasks or parallel changes.

  • Option A: Direct Branch (Single task)

    git checkout main
    git pull origin main
    git checkout -b {branch_name}
    
  • Option B: Git Worktree (Recommended for isolating parallel tasks or agent workflows) Create a worktree outside or sibling to the repository:

    git fetch origin main
    git worktree add -b {branch_name} ../firebase-tools-worktrees/{branch_name} origin/main
    cd ../firebase-tools-worktrees/{branch_name}
    

    Tip: For small changes in a new worktree, you can avoid a full npm install by symlinking the primary clone's dependencies:

    ln -sfn ../firebase-tools/node_modules node_modules
    

Environment & Dependency Notes

  • Node.js Versions:
    • The CLI supports Node 20+.
    • When updating dependencies or modifying package.json, synchronize npm-shrinkwrap.json using Node 24 (nvm use 24 && npm install --package-lock-only or npm install --package-lock-only under Node 24) and commit the diff to ensure the CI check-package-lock (24) check passes.
  • Code Formatting & Linting:
    • The repository enforces Prettier formatting in CI. Run Prettier on changed files (including .yaml and .json) before committing/pushing:
      npm run format
      # or to verify without writing:
      npx prettier --check path/to/changed/files
      
    • Verify lint checks:
      npm run lint
      
  • ESM vs CommonJS Dependencies:
    • The Firebase CLI compiles to CommonJS, and the standalone binary bundles Node 20.x (which lacks unflagged require(esm) support). CI tests both Node 20 and Node 24.
    • If a dependency is ESM-only ("type": "module", no require export), do not import it statically at the top level of files that are loaded eagerly during CLI initialization.
    • Instead, load ESM-only dependencies lazily using dynamic import() (see src/streamJson.ts for an example using new Function("url", "return import(url)") to avoid ts-node rewriting import() to require() in Mocha tests).

Read the full file on GitHub · 116 lines

Changes

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.

  1. 1mo ago First seen · 116 lines · 35 tokens per session scan A 032656588238

Subscribe to this mod's changes

developing-firebase-tools is a skill published in the GitHub repository firebase/firebase-tools (4,484 stars, last pushed today), licensed MIT. It adds 35 tokens to every session and 1,156 once invoked, about $0.0001 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-09-29.