Firebase + Cloud Run Deployment Skill

Deploy Flask/Python apps to Google Cloud Run with Firebase Hosting.

1|Updated Oct 27, 2025
One-click install
npx skills add https://github.com/skinred78/neuro-db-2 --skill firebase-cloud-run-deployment-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Firebase + Cloud Run Deployment Skill
Source: https://github.com/skinred78/neuro-db-2/tree/main/.claude/skills/firebase-cloudrun
Command: npx skills add https://github.com/skinred78/neuro-db-2 --skill firebase-cloud-run-deployment-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gcloud, firebase-tools, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates deploying Python/Flask web applications to Google Cloud Run, while using Firebase Hosting to serve friendly, human-readable URLs (e.g., project.web.app). It also simplifies secret management with Cloud Secret Manager, reducing manual setup and keeping internal tools low-cost.

Core Features & Use Cases

  • Friendly URLs: Serve Cloud Run apps via Firebase Hosting for memorable web.app URLs.
  • Cloud Run Deployment: Containerize and deploy Flask/Python apps to Cloud Run.
  • Secrets Integration: Inject environment variables from Secret Manager into the app.
  • Cost Awareness: Suitable for low-traffic internal tools with generous free tiers.

Quick Start

Create project files, then run the automated deployment script:

  • bash .claude/skills/firebase-cloudrun/scripts/deploy.sh
  • Or trigger via the slash command: /deploy:firebase

Frequently Asked Questions about Firebase + Cloud Run Deployment Skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a Flask app to Cloud Run with a custom domain?

Deploy Flask apps to Cloud Run using this Skill, which pairs Cloud Run containers with Firebase Hosting to serve friendly web.app URLs. The automated script handles containerization, Gunicorn setup, and routing so your app is accessible via memorable URLs instead of generic Cloud Run domains.

Can I use Firebase Hosting with Cloud Run for Python web apps?

Yes. Firebase Hosting acts as a frontend to Cloud Run, forwarding requests to your Python/Flask backend while providing vanity URLs. This Skill automates the integration, eliminating manual Firebase and Cloud Run configuration.

How do I manage secrets and environment variables in a Cloud Run deployment?

This Skill injects secrets from Google Cloud Secret Manager into your Flask app at deployment time. The deployment script retrieves secrets securely and passes them as environment variables, so sensitive data never hardcodes into your container image.

What are the requirements to deploy with this Skill?

You need a Dockerfile, Flask app with a health check endpoint, Gunicorn for the app server, Firebase CLI and Google Cloud SDK installed, and a GCP project with Secret Manager enabled. The Skill automates deployment once these are in place.

Is Cloud Run suitable for internal tools with low traffic?

Yes. Cloud Run and Firebase Hosting both offer generous free tiers, making them cost-effective for internal tools serving 1–10 users. This Skill is designed for that scale, handling minimal setup and low operational overhead.

What's the best way to automate Flask app deployments to Google Cloud?

Use a deployment script that containerizes your app, pushes it to Cloud Run, and configures Firebase Hosting routing. This Skill provides that automation, reducing manual steps and keeping deployments repeatable and consistent.