firebase-hosting-basics

firebase-hosting-basics is a skill for Claude Code from firebase/agent-skills. It costs 92 tokens per session (530 once invoked), scanned A, original, Apache-2.0.

A guide for deploying static websites, single-page applications (SPAs), and microservices with classic Firebase Hosting. A SPA is a web app that updates its page without loading a new document each time.

In plain words
What is it for?
Use it to deploy HTML/CSS/JavaScript sites and SPAs, serve dynamic services through Cloud Functions or Cloud Run, configure multiple sites, or manage preview channels and GitHub Actions.
Why use it?
It helps configure delivery, secure connections, custom domains, redirects, rewrites, headers, preview versions, and automated deployments.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the firebase plugin — 14 skills, 1 agent, 1 MCP server shipped together

Good fit Use it to deploy HTML/CSS/JavaScript sites and SPAs, serve dynamic services through Cloud Functions or Cloud Run, configure multiple sites, or manage preview channels and GitHub Actions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/firebase/agent-skills/firebase-hosting-basics
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add firebase/agent-skills --skill firebase-hosting-basics
Clone the repo
git clone --depth 1 https://github.com/firebase/agent-skills

Made for: Claude Code.

Or install firebase, the plugin that ships this one along with the rest of its 14 skills, 1 agent, 1 MCP server.

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 firebase-hosting-basics

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/firebase/agent-skills/firebase-hosting-basics"><img src="https://agentmods.dev/badge/skills/firebase/agent-skills/firebase-hosting-basics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 530 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. Third-party audits
  • Socket pass 5 Oct 2026
  • Snyk pass 6 Oct 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 64
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
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.00092 $0.00530
Opus 5.5 $0.00037 $0.00212
Sonnet 5.5 $0.00018 $0.00106
Haiku 4.5 $0.00009 $0.00053

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

Security

Grade A, and why

firebase-hosting-basics 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/firebase-hosting-basics/SKILL.md · 69 lines

What it actually says

hosting-basics

This skill provides instructions and references for working with Firebase Hosting, a fast and secure hosting service for your web app, static and dynamic content, and microservices.

Overview

Firebase Hosting provides production-grade web content hosting for developers. With a single command, you can deploy web apps and serve both static and dynamic content to a global CDN (content delivery network).

Key Features:

  • Fast Content Delivery: Files are cached on SSDs at CDN edges around the world.
  • Secure by Default: Zero-configuration SSL is built-in.
  • Preview Channels: View and test changes on temporary preview URLs before deploying live.
  • GitHub Integration: Automate previews and deploys with GitHub Actions.
  • Dynamic Content: Serve dynamic content and microservices using Cloud Functions or Cloud Run.

Hosting vs App Hosting

Choose Firebase Hosting if:

  • You are deploying a static site (HTML/CSS/JS).
  • You are deploying a simple SPA (React, Vue, etc. without SSR).
  • You want full control over the build and deploy process via CLI.

Choose Firebase App Hosting if:

  • You are using a supported full-stack framework like Next.js or Angular.
  • You need Server-Side Rendering (SSR) or ISR.
  • You want an automated "git push to deploy" workflow with zero configuration.

Instructions

1. Configuration (firebase.json)

For details on configuring Hosting behavior, including public directories, redirects, rewrites, and headers, see configuration.md.

2. Deploying

For instructions on deploying your site, using preview channels, and managing releases, see deploying.md.

3. Emulation

To test your app locally:

npx -y firebase-tools@latest emulators:start --only hosting

This serves your app at http://localhost:5000 by default.

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 Changed · +1 lines bb7b6c45f02e
  2. 3mo ago First seen · 68 lines · 92 tokens per session scan A bcd0e291ba74

Subscribe to this mod's changes

firebase-hosting-basics is a skill published in the GitHub repository firebase/agent-skills (533 stars, last pushed 21d ago), licensed Apache-2.0. It adds 92 tokens to every session and 530 once invoked, about $0.0004 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.

Related

firebase-hosting-basics compared with skills from other repositories

firebase-hosting-basics next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
firebase-hosting-basicsfirebase/agent-skillsSkill53321d agoApache-2.0A92Claude Code
gke-compute-classesgoogle/skillsSkill25ktodayApache-2.0A83Claude Code, Codex
cloud-operator-admin-setupgoogle/skillsSkill25ktodayApache-2.0A115Claude Code, Codex
gke-reliabilitygoogle/skillsSkill25ktodayApache-2.0A85Claude Code, Codex
gke-workload-securitygoogle/skillsSkill25ktodayApache-2.0A171Claude Code, Codex
nemo-automodel-launcher-configNVIDIA/skillsSkill4.2ktodayApache-2.0A30Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3kyesterdayMITA78Claude Code