AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Cloud Run

skill-fmind-dot-cloud-run · by fmind

Deploy Python services to Cloud Run with Artifact Registry, secrets, and keyless identities.

— No reviews yet
0 installs
0 views
— view→install

Install

$ agentstack add skill-fmind-dot-cloud-run

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • ✓ Prompt-injection patterns
  • ✓ Secret / credential exfiltration
  • ✓ Dangerous shell & filesystem operations
  • ✓ Untrusted network calls
  • ✓ Known-malicious package signatures

What it can access

  • ✓ Network access No
  • ✓ Filesystem access No
  • ✓ Shell / process execution No
  • ✓ Environment & secrets No
  • ✓ Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-fmind-dot-cloud-run)

Reliability & compatibility

✓ Security review passed
0 installs to date
— no reviews yet
● 2d ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Cloud Run? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

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](../containerize/references/image-build/GUIDE.md) owns the image; [gcloud](../gcloud/SKILL.md) owns account, project, and region context.

Workflow

  1. Resolve target and authority: verify the gcloud account, project, region, service, Artifact Registry image repository, runtime permissions, and approved mutation scope.
  2. Configure identities once: read [bootstrap.md](references/bootstrap.md) for APIs, registry, runtime service account, deployer service account, and Workload Identity Federation. Keep deployer and runtime identities distinct.
  3. Install the deployment toolchain: pin Trivy and Cosign to exact stable versions in the Python project's mise configuration, lock them, and install them before any image scan or registry push; use [deployment.md](references/deployment.md).
  4. Validate locally: build the pinned non-root Python image and run its tests and check:image scan per [containerize](../containerize/references/image-build/GUIDE.md).
  5. Publish and prove provenance: after push authority is explicit, follow [deployment.md](references/deployment.md). Use the build action's digest output in CI, or extract one digest from BuildKit metadata locally, scan it, generate an SBOM, sign it, verify the expected identity and issuer, and attest the SBOM before deployment.
  6. Deploy privately: pass the digest reference and dedicated --service-account; keep --invoker-iam-check --no-allow-unauthenticated and verify both access controls after deployment. Use [service.yaml](templates/service.yaml) when settings warrant a declarative service specification; a successful update does not prove private IAM.
  7. Use infrastructure as code when needed: manage repeatable services, IAM, registries, and fleet-level infrastructure per [infra-as-code](../infra-as-code/SKILL.md); review the plan before apply.
  8. Wire CD when requested: copy [deploy.yml](templates/deploy.yml) to .github/workflows/cd.yml and [verify-private.py](templates/verify-private.py) to .github/scripts/verify-private.py. Commit both, set the workflow's GCP_* variables and full GCP_ARTIFACT_IMAGE, then opt in with ENABLE_DEPLOY_CLOUDRUN=true. Its read-only job validates the tagged revision before the deployment job obtains cloud credentials. Keep build outputs in action outputs and scans/signing as direct named steps per [github-actions](../github-actions/references/ci-cd/GUIDE.md); short input-validation sequences are sufficient.
  9. Verify the live result: record the ready revision, deployed digest, runtime account, IAM policy, health result, and traffic split. Keep a known-good revision for rollback.

Gotchas

  • One digest: build, scan, signature, attestation, deployment, verification, and rollback must refer to the same @sha256: image.
  • Private by default: grant roles/run.invoker only to intended callers or use an authenticating load balancer.
  • Listen on 0.0.0.0:$PORT: Cloud Run injects the port, normally 8080; a loopback-only listener cannot receive requests. For the Python web starter, set HOST=0.0.0.0 and ENVIRONMENT=production, and supply its required DATABASE_URL through a runtime secret. Verify this configuration in the local container before deploying.
  • Request-scoped CPU: 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.
  • Regional alignment: keep the service and Artifact Registry repository in one region and project. Workload Identity Federation pools remain global.
  • External mutations: registry pushes, signing, IAM changes, infrastructure apply, deployment, and traffic changes require authority for the named target.

Official Skills

Upstream: google/skills (skills/cloud), listed and installed through [Google catalog](../google-developer/SKILL.md); select the Cloud Run and CLI guardrail skills needed for the task.

Documentation

  • Cloud Run · Artifact Registry · Workload Identity Federation
  • Releases: Cloud Run · Artifact Registry
  • Companion skills: [containerize](../containerize/references/image-build/GUIDE.md), [github-actions](../github-actions/references/ci-cd/GUIDE.md), [sops-secrets](../sops-secrets/SKILL.md), [gcloud](../gcloud/SKILL.md), [infra-as-code](../infra-as-code/SKILL.md), and [security-review](../security-review/references/code-review/GUIDE.md).

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

  • Author: fmind
  • Source: fmind/dot
  • License: MIT
  • Homepage: https://fmind.dev

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.