cloud-run
Skill10 starsChanged 56 days agoMITView on GitHub
Deploy Python services to Cloud Run with Artifact Registry and keyless CD.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- robium-ai/robiumtheir own version, first seen Aug 7, 2026
- jpantsjoha/googlecloud-plugintheir own version, first seen Jul 23, 2026
- GoogleCloudPlatform/cloud-run-mcptheir own version, first seen Apr 17, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- GoogleCloudPlatform/cloud-run-mcp★ 631same name
- robium-ai/robium★ 21same name
- jpantsjoha/googlecloud-plugin★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository101 other files it gives its agents.
- AGENTS.mdAGENTS.md
- dot_agents/AGENTS.mdAGENTS.md
- skills/agent-project/templates/AGENTS.mdAGENTS.md
- skills/repository-docs/references/agents.mdAGENTS.md
- chezmoiSkill
- dot-developmentSkill
- dot-releaseSkill
- dot-skillsSkill
- dot-verifySkill
- acliSkill
- agent-evaluationSkill
- agent-frameworksSkill
- agent-harnessesSkill
- agent-loopsSkill
- agent-projectSkill
- agent-protocolsSkill
- agent-usageSkill
- agySkill
- airflowSkill
- ai-security-assessmentSkill
- api-clientSkill
- ast-grepSkill
- auth-statusSkill
- awsSkill
- benchmarkSkill
- bfSkill
- chrome-devtoolsSkill
- cli-developmentSkill
- clipboardSkill
- code-securitySkill
- colabSkill
- containerizeSkill
- course-developmentSkill
- databricksSkill
- data-migrationSkill
- delegate-tasksSkill
- diagrams-as-codeSkill
- dockerSkill
- documentation-siteSkill
- dot-cliSkill
- dprintSkill
- draft-mailSkill
- duckdbSkill
- fact-checkSkill
- fmind-visualsSkill
- full-reviewSkill
- gcloudSkill
- ghSkill
- git-deliverySkill
- github-actionsSkill
- github-issuesSkill
- github-pull-requestSkill
- github-repositorySkill
- git-worktreeSkill
- google-developerSkill
- gwsSkill
- handoffSkill
- hfSkill
- implementation-planSkill
- incident-responseSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Resolve target and authority: verify the gcloud account, project, region, service, Artifact Registry image repository, runtime permissions, …
- Distinctive: line 20
Configure identities once: read bootstrap.md for APIs, registry, runtime service account, deployer service account, and Workload Identity …
- Distinctive: line 22
Publish and prove provenance: after push authority is explicit, follow deployment.md: take one digest (the build action's output in CI, …
- Distinctive: line 34
Scale deliberately: keep minimum instances at zero unless measured first-request latency justifies idle cost.
- Distinctive: line 35
Align service and registry regions: keep the service and Artifact Registry repository in one region and project.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Cloud Run Deployment
Deploy a Python service to Cloud Run through an immutable image digest, private invocation, keyless CI, and a dedicated runtime identity. containerize owns the image; gcloud owns account, project, and region context.
Workflow
- Resolve target and authority: verify the gcloud account, project, region, service, Artifact Registry image repository, runtime permissions, and approved mutation scope. Registry pushes, signing, IAM changes, infrastructure apply, deployment, and traffic changes each require authority for the named target.
- Configure identities once: read bootstrap.md for APIs, registry, runtime service account, deployer service account, and Workload Identity Federation. Keep deployer and runtime identities distinct.
- Validate locally: pin, lock, and install Trivy and Cosign before any image scan or registry push, then build the pinned non-root Python image and run its tests and
check:imagescan; follow deployment.md steps 1-2 and containerize. - Publish and prove provenance: after push authority is explicit, follow deployment.md: take one digest (the build action's output in CI, BuildKit metadata locally), then scan, SBOM, sign, verify the expected identity and issuer, and attest it before deployment.
- Deploy privately: pass the digest reference and dedicated
--service-account; keep--invoker-iam-check --no-allow-unauthenticatedand verify both access controls after deployment. Use service.yaml when settings warrant a declarative service specification; a successful update does not prove private IAM. - Use infrastructure as code when needed: manage repeatable services, IAM, registries, and fleet-level infrastructure per infra-as-code; review the plan before apply.
- Wire CD when requested: adopt deploy.yml and verify-private.py per the "Wire CD" step of deployment.md.
- Verify the live result: record the ready revision, deployed digest, pinned secret versions, runtime account, IAM policy, health result, and traffic split. Keep a known-good revision for rollback.
Gotchas
- Use one digest throughout: build, scan, signature, attestation, deployment, verification, and rollback must refer to the same
@sha256:image. - Private by default: grant
roles/run.invokeronly to intended callers or use an authenticating load balancer. For signed-in users without a load balancer,gcloud run deploy --iapenables IAP on the service. - Listen on
0.0.0.0:$PORT: Cloud Run injects the port, normally 8080; a loopback-only listener cannot receive requests. Verify the listener and required runtime settings in the local container before deploying. - Expect request-scoped CPU pauses: background work can pause between requests. Use explicit always-on CPU only when its cost is justified, or use a Cloud Run job for batch work.
- Scale deliberately: keep minimum instances at zero unless measured first-request latency justifies idle cost.
- Align service and registry regions: keep the service and Artifact Registry repository in one region and project. Workload Identity Federation pools remain global.
Official Skills
Upstream: google/skills (skills/cloud), listed and installed through Google catalog. Select the Cloud Run skills the task needs; gcloud covers its CLI guardrail skill.
Documentation
- Cloud Run · Artifact Registry · Workload Identity Federation
- Releases: Cloud Run · Artifact Registry
- Companion skills: containerize, github-actions, sops-secrets, gcloud, infra-as-code, and code-security.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

