agentleFS
robium-airobium-ai/robium/skills/cloud-run/SKILL.md

cloud-run

Skill93 starsChanged 3 months agoMITView on GitHub

Deploy and debug headless robotics containers on Google Cloud Run.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Treat Cloud Run as a request-driven web runtime, not a conventional robot host.

    line 8
  2. Very specific:

    Check current commands, flags, quotas, WebSocket behavior, and pricing in official Cloud Run documentation and the gcloud run deploy …

    line 27
  3. Distinctive:

    Read DEPLOYMENT.md when building, choosing billing and concurrency, configuring affinity, authenticating CI, or validating the deployed …

    line 30
  4. Very specific:

    Treat Robium's measured values as compatibility evidence tied to their workload and date.

    line 33
  5. Distinctive:

    Read FAILURES.md for the evidence that separates common failures.

    line 55

“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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Cloud Run

Treat Cloud Run as a request-driven web runtime, not a conventional robot host.

Shape the workload for Cloud Run

  • Expose one HTTP port and keep durable state outside the instance.
  • Decide whether startup is covered by a held request. Under request-based billing, background robot or simulator boot can lose CPU when no request is open; instance-based CPU changes the cost model.
  • Expect WebSocket sessions to inherit the request timeout and instance lifecycle. Size the timeout to the intended session, not to an assumed default.
  • Scale to zero unless a paid warm floor is explicitly justified. State the session cost, fleet ceiling, and cold-start expectation.
  • General container composition belongs to integration; the session gateway and visitor lifecycle belong to live-demo.

Verify before deploying

  • Check current commands, flags, quotas, WebSocket behavior, and pricing in official Cloud Run documentation and the gcloud run deploy reference.
  • Read DEPLOYMENT.md when building, choosing billing and concurrency, configuring affinity, authenticating CI, or validating the deployed route.
  • Treat Robium's measured values as compatibility evidence tied to their workload and date. Re-measure CPU, memory, timeouts, and fleet size for the application being deployed.
  • Public shells require a separate threat model for credentials and egress; unauthenticated reachability is not a security design.

Account for robotics networking

  • Cloud Run does not provide the multicast discovery expected by Gazebo transport or DDS. A single-container deployment needs an explicit local discovery strategy and evidence that the actual graph communicates.
  • For the proven Gazebo Harmonic, ROS 2, and Nav2 deployment conditions, read GAZEBO-ROS2.md. Do not copy those values into a different stack as defaults.
  • Route bridge protocol, layouts, and client behavior to foxglove; Cloud Run only owns how the HTTP/WebSocket route reaches the container.

Debug from the boundary inward

  • Distinguish image pull, CPU starvation, transport discovery, application readiness, proxy behavior, affinity, and VPC capacity before changing the application.
  • Read FAILURES.md for the evidence that separates common failures.
  • A probe under request-based billing must remain open long enough to cover the work it is testing; connect-and-drop can create the failure it appears to diagnose.

Done

  • The immutable image starts with the selected billing mode and resource limits.
  • Readiness and the real HTTP or WebSocket path work through Cloud Run.
  • Idle capacity, session timeout, fleet ceiling, authentication, and cleanup behavior match the stated cost and security boundaries.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.