Agent skill · Google Agent Skills
/cloud-run-basics Deploy services, jobs and worker pools to Cloud Run
cloud-run-basics covers Cloud Run's three resource types: HTTP services that autoscale, jobs that run tasks to completion, and always-on worker pools for pull-based queues. It lists the APIs and roles a deploy needs, shows deploys from a container image or straight from source, explains job task and retry options, and gives a short path for diagnosing failed deployments.
Works with
- Any agent supported by the skills CLI
- Claude Code
- Codex
- Antigravity CLI
Used forCloud platforms
When to use it
- You want to put a web app or API on Cloud Run from source without writing a Dockerfile.
- You need a scheduled or parallel batch task that runs to completion.
- You run a Kafka or Pub/Sub pull consumer that must stay up.
How it works
- 1Prepare the project
The agent enables the Cloud Run and Cloud Build APIs and checks the deploying identity and build service account have the listed roles.
- 2Pick the resource type
It maps the workload to a service, a job or a worker pool based on whether it serves requests, finishes, or pulls work continuously.
- 3Deploy image or source
It deploys an Artifact Registry image or builds from source with buildpacks or a Dockerfile, making sure the app listens on 0.0.0.0 and $PORT.
- 4Configure jobs
For jobs it sets task count, retries, timeout and parallelism, and can start an execution immediately or wait for it to finish.
- 5Debug failures
On a failed deploy it checks IAM guidance, reads recent service logs for boot errors, and switches to a buildpack build for native dependencies.
What it steers the agent away from
- Containers that bind to 127.0.0.1 or a fixed port and crash on start.
- Relying on Docker Hub images that are only cached for a limited time.
- Guessing at boot failures without reading the service logs.
Install this skill
It installs with the Google Agent Skills pack.
Any agent supported by the skills CLIPrompts you to choose skills, target agents and project or global scope; the update command can also remove skills that were dropped.
npx skills add google/skills
npx skills updateClaude Code (plugins)Plugins bundle skills with the matching Google MCP servers.
claude plugin marketplace add google/skills
claude plugin install <plugin>@google-pluginsCodex (plugins)After adding the marketplace, install plugins from the /plugins browser.
codex plugin marketplace add google/skillsAntigravity CLIPoint the command at the path of the plugin you want inside the repository.
agy plugin install https://github.com/google/skills/<plugin-path>Commands come from the author’s README; check it for changes before you run them.
Questions
Can I deploy without Cloud Build?
Yes. A preview option deploys source directly onto a runtime base image without a build step, though native extensions may need the buildpack route.
How long can a Cloud Run job task run?
The skill gives a default of 10 minutes and a maximum of 168 hours, or 1 hour for tasks that use GPUs.
More guides from Google Agent Skills
/gcloudRun gcloud commands safely with checked syntax and small outputValidates gcloud syntax with leaf-level help, trims output with filters and limits, and holds deletes, IAM and billing for approval.Read the guide →/google-cloud-recipe-authChoose the right Google Cloud credentials for each situationExplains which identity and credential to use, from ADC and impersonation to attached service accounts and workload federation.Read the guide →/google-ads-api-quickstartGet a first Google Ads API request working end to endGets a first Google Ads API campaign query running in a client library or REST and diagnoses the usual access errors.Read the guide →/agent-platform-eval-flywheelEvaluate and improve AI agents with a repeatable eval loopRuns an evaluate, analyse and fix loop for models and agents with the Agent Platform evaluation SDK and rubric metrics.Read the guide →/cloud-logging-finopsAudit Cloud Logging costs and find logs you can dropAudits Cloud Logging spend per service, stream and severity and builds an HTML report with exclusion filters you can paste.Read the guide →/compute-vm-creationProvision a hardened Compute Engine VM from a plain requestTurns a plain request into a hardened Compute Engine VM: sizing tier, private networking, OS Login, Shielded VM and teardown.Read the guide →
Also in this pack
/google-cloud-recipe-onboardingWalks a solo developer from tool checks and login to a billed project and a first deployed resource, one question at a time.↗/retrieving-developer-knowledgeSearches official Google developer documentation via MCP tools, or the REST endpoint as fallback, and says when a lookup failed.↗/google-analytics-data-api-basicsEnables the Analytics Data API, configures read-only credentials and builds Google Analytics reports in code.↗/agent-platform-inferenceConnects to Gemini, open models such as Llama or Qwen, and custom endpoints on Agent Platform, and decodes 429, 400 and 404 errors.↗/agent-platform-tuningFine-tunes open or Gemini models on Agent Platform, from environment checks and data preparation to job setup and monitoring.↗/alloydb-basicsSets up AlloyDB clusters, primary instances and backups, and uses the AlloyDB MCP tools for routine operations.↗/bigquery-ai-mlPicks the right BigQuery AI or ML SQL function for forecasting, anomalies, key drivers, semantic search or LLM generation.↗/bigquery-basicsCreates BigQuery datasets and tables, loads data and runs queries with bq and gcloud.↗/bigquery-bigframesWrites BigQuery DataFrames Python that keeps work in BigQuery, using partial ordering, peek() and built-in accessors.↗/bigquery-migration-sql-translatorConverts Teradata, Oracle, Redshift, Snowflake, Spark or Hive SQL to GoogleSQL with the BigQuery Migration Service MCP server.↗/bigquery-optimizationReviews BigQuery editions, reservations, storage billing, partitioning, clustering and individual queries to cut cost.↗/cloud-armor-crs-rule-upgraderAudits Cloud Armor policies and upgrades their OWASP CRS 3.0 or 3.3 rules to CRS 4.22 while keeping opt-in and opt-out lists.↗
Summary by trendhub. The skill itself lives in google/skills/skills/cloud/cloud-run-basics by Google (Apache-2.0); read the full, current text there.