PlugWiki

firebase-hosting-basics Skill for Claude: Deploy Static Sites to Firebase Hosting

firebase-hosting-basics, from Google's Firebase team, guides your agent through deploying a static site or SPA to Firebase Hosting.

Installs
173.8K
on skills.sh
Stars
497
on GitHub
Files
2
besides SKILL.md
Updated
Oct 2026
last repo commit

firebase-hosting-basics covers classic Firebase Hosting: static HTML/CSS/JS and single-page apps without server rendering. It tells the agent how to configure firebase.json (public folder, ignore patterns, redirects, rewrites, headers), deploy, and use preview channels.

It also says when not to use it. Full-stack Next.js or Angular apps with server-side rendering belong to Firebase App Hosting, covered by firebase-app-hosting-basics. For local testing it runs the Hosting emulator.

The SKILL.md is short. Detail sits in two reference files, one for configuration and one for deploying.

Good for

  • Developers shipping a static site or single-page app
  • Teams that want preview URLs before going live
  • Anyone choosing between Hosting and App Hosting

Install firebase-hosting-basics

Claude Code

  1. 1

    Copy this prompt.

    Install the firebase-hosting-basics skill in Claude Code. Run this command:
    
    claude plugin marketplace add firebase/agent-skills
    claude plugin install firebase@firebase
    
    Then check that it loaded and tell me how to use it.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires Node.js 20+, Google account.

The plugin route is the one the Firebase skills recommend for Claude Code. It installs all 13 skills in the repo and a Firebase MCP server, which .mcp.json starts with npx -y firebase-tools@15.32.1 mcp --dir . (version at review time). Restart Claude Code afterwards. The skills CLI route installs only the skills named. Every route needs Node.js 20 or newer, and the skills run the Firebase CLI through npx, so you also sign in to Firebase with a Google account. The README writes the marketplace as firebase/skills; the repository is firebase/agent-skills, the name the vendor Claude Code setup guide uses.

From the vendor's docs. Source.

What's in the skill

When it loads

Deploys and configures classic Firebase Hosting for static websites, single-page apps (SPAs), and microservices. Use when deploying static sites/SPAs, setting up custom domains, configuring firebase.json hosting settings (redirects, rewrites, headers, multi-site), or managing preview channels. Don't use for Firebase App Hosting (Next.js/SSR), Auth, Firestore queries/rules, Data Connect, or Crashlytics.

Sections in SKILL.md

  1. Overview
  2. Hosting vs App Hosting
  3. Instructions
  4. 1. Configuration (firebase.json)
  5. 2. Deploying
  6. 3. Emulation

Key facts

Installs on skills.sh
173,765 as of 2026-11-02
GitHub stars (whole repo)
497 as of 2026-11-02
Last repo commit
2026-10-30
Category
Serverless

What it includes

  • Static sites and simple SPAs vs SSR frameworks

    Choose Hosting for static sites and SPAs without SSR when you want CLI control. Choose App Hosting for Next.js or Angular with SSR or ISR.

    Hosting vs App Hosting

  • public, ignore, redirects, rewrites, headers in firebase.json

    The configuration guide explains each hosting key, including rewrites to Cloud Functions or Cloud Run services.

    Configuration

  • deploy --only hosting, preview channels, clone to live

    Standard deploy goes to PROJECT_ID.web.app and .firebaseapp.com. Preview channels expire after 7 days by default. hosting:clone promotes a channel version to live without rebuilding.

    Runs code · Deploying

  • emulators:start --only hosting

    Serves your app locally, on port 5000 by default.

    Runs code · Emulation

From the official docs

Permissions

Medium risk

What it can do

  • Read your data
  • Create and change things
  • Delete things
  • Read-only mode

Watch out for

  • A deploy publishes to your live site

    deploy --only hosting updates PROJECT_ID.web.app, and hosting:clone can promote a preview version to live. Confirm the active project first. github.com

  • It runs the latest Firebase CLI through npx

    Commands use npx -y firebase-tools@latest, which downloads and runs the newest published package each time. You sign in to Firebase with your Google account. github.com

  • The plugin route adds a Firebase MCP server

    The Firebase plugin ships an .mcp.json that starts `npx -y firebase-tools@15.32.1 mcp --dir .` with IS_FIREBASE_MCP=true, so a Firebase MCP server runs in your project folder. The pinned version was 15.32.1 at review time. The skills CLI route does not add it. github.com

Technical details
Talks toFirebase and Google Cloud through the Firebase CLI
Scopes
  • Google account signed in to the Firebase CLI

Questions

What does firebase-hosting-basics do?

It guides your agent through configuring and deploying a static site or single-page app on Firebase Hosting, including preview channels and local testing.

How do I install firebase-hosting-basics in Claude Code?

Use the install box above. The plugin route installs every Firebase skill and the MCP server. The skills CLI route installs only this skill.

Hosting or App Hosting?

Hosting is for static sites and SPAs. App Hosting is for Next.js or Angular with server-side rendering and git-push deploys. The SKILL.md gives both rules; the other skill is firebase-app-hosting-basics.

Can I preview before going live?

Yes. A preview channel gives a temporary URL that expires after 7 days by default, and you can later clone it to live.

Does it need an API key?

No API key is named in the SKILL.md. The Firebase CLI signs in with your Google account (npx -y firebase-tools@latest login), and most tasks need an active Firebase project.

Is firebase-hosting-basics safe to use?

A deploy publishes your files to your live site, and hosting:clone can promote a preview to live. Ask the agent to use a preview channel first and check the target project.

Information

updated Nov 2, 2026

Folder
skills/firebase-hosting-basics

firebase/agent-skillsskills.sh

Sources

Docs, issue trackers and discussions this page is built from.

Show all 7
  1. agent-skills README · github.com
  2. firebase-basics Claude Code setup · github.com
  3. Firebase plugin .mcp.json · github.com
  4. firebase-basics Cursor setup · github.com
  5. firebase-hosting-basics SKILL.md · github.com
  6. deploying.md · github.com
  7. configuration.md · github.com

Updated Nov 2, 2026.