cloud-run
Deploy Python services to Cloud Run with Artifact Registry and keyless CD.
Skill by Médéric HURIER (Fmind)
Chalk Labs
Need help deploying cloud-run?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/fmind-cloud-run
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: devops
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 2
codeload.github.com· found in install commandtoken.actions.githubusercontent.com· found in code
Files it touches
~/.claude/skills/cloud-run
What's inside
- Skill name
cloud-run- Description
- Deploy Python services to Cloud Run with Artifact Registry and keyless CD.
- License
- MIT
- Metadata
- kind: task · author: Médéric HURIER (Fmind) · source: github.com/fmind/dot/tree/main/skills/cloud-run · created: 2026-09-16 · updated: 2026-10-24
- Instructions
- 34 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (6)
- SKILL.md
- bootstrap.md · references/
- deployment.md · references/
- deploy.yml · templates/
- service.yaml · templates/
- verify-private.py · templates/
SKILL.md (first lines)
# 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](../docker/references/containerize/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, and Artifact Registry image repository; registry pushes, signing, IAM changes, deployment, and traffic changes each need authority for the named target. 1. **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. 1. **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:image` scan; follow [deployment.md](references/deployment.md) steps 1-2 and [containerize](../docker/references/containerize/GUIDE.md). 1. **Publish and prove provenance**: after push authority is explicit, follow [deployment.md](references/deployment.md): take one digest (the build action's output in CI, BuildKit metadata locally) and run the [cosign release sequence](../docker/references/cosign.md#release-sequence) on it before deployment. 1. **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. 1. **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. 1. **Wire CD when requested**: adopt [deploy.yml](templates/deploy.yml) and [verify-private.py](templates/verify-private.py) per the "Wire CD" and "Roll out through a candidate" steps of [deployment.md](references/deployment.md). 1. **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.invoker` only to intended callers or use an authenticating load balancer. For signed-in users without a load balancer, `gcloud run deploy --iap` enables [IAP on the service](https://docs.cloud.google.com/run/docs/securing/identity-aware-proxy-cloud-run). - **Promote an exact revision, never LATEST**: CD deploys a no-traffic tagged candidate, verifies it on the tag URL, then routes 100% to that revision name and drops the tag, so a later revision never inherits traffic unverified. - **Size connection pools against the database limit**: keep `max_instances × (pool_size + max_overflow)` below the database's `max_connections` minus admin headroom (SQLAlchemy defaults to 5 + 10 per process), and add a connection pooler instead of raising pool sizes when autoscaling exhausts it. - **Scale deliberately**: keep minimum instances at zero unless measured first-request latency justifies idle cost. For a hard monthly cost ceiling, propose a Cloud Billing [spend cap](https://docs.cloud.google.com/billing/docs/how-to/budgets-spend-caps): once estimated costs exceed the budget, it pauses the project's Cloud Run usage, taking the service offline until the cap is lifted or the month ends; enforcement lags, and setting it needs billing authority. - **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](../google-developer/SKILL.md). Select the Cloud Run skills the task needs; [gcloud](../gcloud/SKILL.md) covers its CLI guardrail skill. ## Documentation - [Cloud Run](https://docs.cloud.google.com/run/docs) · [Artifact Registry](https://docs.cloud.google.com/artifact-registry/docs) · [Workload Identity Federation](https://docs.cloud.google.com/iam/docs/workload-identity-federation) - Releases: [Cloud Run](https://docs.cloud.google.com/run/docs/release-notes) · [Artifact Registry](https://docs.cloud.google.com/artifact-registry/docs/release-notes) - Companion skills: [containerize](../docker/references/containerize/GUIDE.md), [github-actions](../github-actions/references/ci-cd/GUIDE.md), [gcloud](../gcloud/SKILL.md), [infra-as-code](../infra-as-code/SKILL.md), and [code-security](../code-security/references/code-review/GUIDE.md).
From fmind/dot, MIT.
More from fmind/dot
- 0.636score
code-security
Médéric HURIER (Fmind)
Review code security, threat-model designs, and vet third-party skills; scan secrets and vulnerabilities with Gitleaks and Trivy.
SkillAFreshness: A★ 12Claude Code +9 - 0.636score
dot-cli
Médéric HURIER (Fmind)
Run dot: doctor, login/setup, repo status/pull, trust, secret run, cache/prune, disk space, orphans, context budgets, archives.
SkillAFreshness: A★ 12Claude Code +9 - 0.636score
full-review
Médéric HURIER (Fmind)
Full review or routine upkeep: read every repo area, fix tools, dead code, stale config, and ignore files, and prove all checks pass.
SkillAFreshness: A★ 12Claude Code +9 - 0.633score
course-development
Médéric HURIER (Fmind)
Design technical courses, lessons, exercises, and executable labs.
SkillAFreshness: A★ 12Claude Code +9 - 0.633score
chezmoi
Médéric HURIER (Fmind)
Manage chezmoi source names, templates, secrets, diffs, and deployment in fmind/dot.
SkillAFreshness: A★ 12Claude Code +9 - 0.633score
dot-skills
Médéric HURIER (Fmind)
Maintain fmind/dot skill packages, catalog budgets, package contracts, and installed links.
SkillAFreshness: A★ 12Claude Code +9 - 0.633score
agent-frameworks
Médéric HURIER (Fmind)
Build Python agents with Google ADK, LangChain, LangGraph, and agents-cli.
SkillAFreshness: A★ 12Claude Code +9 - 0.633score
agent-evaluation
Médéric HURIER (Fmind)
Evaluate prompt, model, retrieval, and agent changes with repeated graded trials.
SkillAFreshness: A★ 12Claude Code +9 - 0.633score
agent-harnesses
Médéric HURIER (Fmind)
Operate and configure Claude Code, Codex, Copilot, Grok, and OpenCode.
SkillAFreshness: A★ 12Claude Code +9 - 0.633score
agent-protocols
Médéric HURIER (Fmind)
Implement A2A agents, MCP servers, and ACP editor integrations in Python.
SkillAFreshness: A★ 12Claude Code +9 - 0.633score
agent-usage
Médéric HURIER (Fmind)
Analyze agent token usage and costs with dot and DuckDB queries.
SkillAFreshness: A★ 12Claude Code +9 - 0.633score
dot-development
Médéric HURIER (Fmind)
Develop fmind/dot CLI commands, session parsers, storage, configuration, and installation.
SkillAFreshness: A★ 12Claude Code +9
Signals
- Stars
- 12
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Oct 24, 2026 (16 days ago)
- Last release
- Oct 24, 2026 (16 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/fmind/dot
- Website
- fmind.dev
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Médéric HURIER (Fmind)
- 0.636score
full-review
Médéric HURIER (Fmind)
Full review or routine upkeep: read every repo area, fix tools, dead code, stale config, and ignore files, and prove all checks pass.
SkillAFreshness: A★ 12Claude Code +9 - 0.636score
dot-cli
Médéric HURIER (Fmind)
Run dot: doctor, login/setup, repo status/pull, trust, secret run, cache/prune, disk space, orphans, context budgets, archives.
SkillAFreshness: A★ 12Claude Code +9 - 0.636score
code-security
Médéric HURIER (Fmind)
Review code security, threat-model designs, and vet third-party skills; scan secrets and vulnerabilities with Gitleaks and Trivy.
SkillAFreshness: A★ 12Claude Code +9 - 0.633score
agent-frameworks
Médéric HURIER (Fmind)
Build Python agents with Google ADK, LangChain, LangGraph, and agents-cli.
SkillAFreshness: A★ 12Claude Code +9 - 0.633score
chezmoi
Médéric HURIER (Fmind)
Manage chezmoi source names, templates, secrets, diffs, and deployment in fmind/dot.
SkillAFreshness: A★ 12Claude Code +9 - 0.633score
dot-skills
Médéric HURIER (Fmind)
Maintain fmind/dot skill packages, catalog budgets, package contracts, and installed links.
SkillAFreshness: A★ 12Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get cloud-run running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
cloud-run skill. Agent Mart. https://agentmart.dev/skills/fmind-cloud-run (last updated 2026-10-24)