gcp-cloud-run · davila7 — Claude Code skill: what it does, how to install
This skill guides Cloud Run service and event-function work on GCP. Use it for HTTP APIs, Pub/Sub processing, or cold-start tuning.
npx claude-code-templates@latest --skill development/gcp-cloud-runWhat gcp-cloud-run does
The skill covers two Cloud Run deployment styles: container-based services and functions triggered by HTTP, Pub/Sub messages, or Cloud Storage events. Its examples include a Dockerfile, Node.js handlers, and build and deployment configuration using Cloud Build and gcloud.
A separate section explores cold-start tuning. It shows how to configure minimum instances and startup CPU boost, trim a container image, and defer loading heavy libraries. It also explains platform constraints: background work can slow when a service is idle, while large files in /tmp use the service’s memory.
The examples use Node.js and Google Cloud tools such as gcloud. Long-running background work needs architectural attention because Cloud Run can throttle CPU when no requests are being handled.
What it helps with
- deploy a containerized HTTP service to Cloud Run
- process Pub/Sub messages with a function
- handle Cloud Storage upload events
- tune a Cloud Run service for cold starts
- account for Cloud Run CPU and memory limits
Example prompts for the agent
- Set up a Node.js API for Cloud Run with a
/healthcheck and graceful shutdown. - Create a Cloud Run function that handles Pub/Sub messages.
- Review ways to reduce Cloud Run cold starts and configure the relevant settings.
How to install gcp-cloud-run
1claude-code-templates
npx claude-code-templates@latest --skill development/gcp-cloud-run2Skills CLI (Vercel)
npx skills add davila7/claude-code-templates --skill gcp-cloud-run -a claude-code3Manually: put the files in place
~/.claude/skills/gcp-cloud-run/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/gcp-cloud-run/
Manually: put the files in place
.agents/skills/gcp-cloud-run/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/gcp-cloud-run/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install davila7/claude-code-templates gcp-cloud-run2Manually: put the files in place
.github/skills/gcp-cloud-run/SKILL.mdPlatform CLI
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/development/gcp-cloud-runManually: put the files in place
.devin/skills/gcp-cloud-run/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about gcp-cloud-run
How do I install gcp-cloud-run in Claude Code?
Run npx claude-code-templates@latest --skill development/gcp-cloud-run. Then give the agent a Cloud Run task.
What does gcp-cloud-run do?
It guides work on GCP container services and event-driven functions. The skill also covers cold starts and Cloud Run CPU and memory constraints.
How does gcp-cloud-run address cold starts?
It covers startup CPU boost, minimum instances, smaller container images, and loading heavy libraries only when needed.
Similar skills
All skills for Cloud: AWS, Azure, GCP →gcp-cloud-run by other authors comes first.