Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add ashish7802/awesome-api-skills --skill google-cloud-rungit clone --depth 1 https://github.com/ashish7802/awesome-api-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/ashish7802/awesome-api-skills/google-cloud-run)<a href="https://agentmods.dev/skills/ashish7802/awesome-api-skills/google-cloud-run"><img src="https://agentmods.dev/badge/skills/ashish7802/awesome-api-skills/google-cloud-run/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ashish7802/awesome-api-skills/google-cloud-run"><img src="https://agentmods.dev/badge/skills/ashish7802/awesome-api-skills/google-cloud-run.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00733 |
| Opus 5.5 | $0.00000 | $0.00293 |
| Sonnet 5.5 | $0.00000 | $0.00147 |
| Haiku 4.5 | $0.00000 | $0.00073 |
Grade A, and why
google-cloud-run scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 52 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Google Cloud Run Skill
Verification Tier:
code_example_tested| Last Verified: 2026-11-18
Official Docs: https://cloud.google.com/run/docs/authenticating/service-to-service
Overview
Google Cloud Run executes stateless HTTP containers with automatic scale-to-zero and IAM-enforced service-to-service authentication via Google-signed OIDC Identity Tokens.
Installation
npm install google-auth-library
Authentication (Service-to-Service OIDC)
For private Cloud Run services (--no-allow-unauthenticated):
- Grant the caller's service account the
roles/run.invokerIAM role on the target service. - Fetch a Google-signed OIDC Identity Token whose
audienceis set to the exact target Cloud Run service root URL (e.g.,https://billing-service-xyz.a.run.app) usinggoogle-auth-library(auth.getIdTokenClient(targetAudience)) or the GCP metadata server. - Pass
Authorization: Bearer <ID_TOKEN>.
Core Concepts
- Container Contract: Listen on
0.0.0.0andNumber(process.env.PORT) || 8080. Never hardcode port3000ignoringPORT. - Graceful Shutdown (
SIGTERM): Cloud Run sendsSIGTERMand allows up to 10 seconds to drain in-flight requests and flush logs/DB connections beforeSIGKILL. - CPU Allocation: Background async work after returning an HTTP response is throttled unless CPU is configured as always-allocated (
--no-cpu-throttling).
Error Handling & Rate Limits
- Retry transient
503cold-start / scaling responses with jittered backoff. - Use
gcloud run services proxyfor authenticated local testing against private services instead of opening them toallUsers.
Security Best Practices
- Assign a dedicated least-privilege runtime service account per Cloud Run service (never use the overly broad Compute Engine default service account).
- Mount secrets via Google Secret Manager integration instead of committing secrets in container images.
AI Pitfalls
- Sending an OAuth2 Access Token instead of an OIDC Identity Token with
audience = targetServiceUrl(results in HTTP401/403). - Binding HTTP servers to
localhost/127.0.0.1instead of0.0.0.0, causing Cloud Run startup health checks to fail. - Spawning fire-and-forget promises after sending the HTTP response with default request-based CPU throttling.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 52 lines · 0 tokens per session scan A abb0961a7ab3
google-cloud-run is a skill published in the GitHub repository ashish7802/awesome-api-skills (13 stars, last pushed 11d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 733 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-19.
google-cloud-run compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| google-cloud-runashish7802/awesome-api-skills | Skill | 13 | 11d ago | MIT | A | 0 | Claude Code, Codex |
| configure-reverse-proxypjt222/agent-almanac | Skill | 46 | 3d ago | MIT | A | 98 | Claude Code |
| flapi-deployDataZooDE/flapi | Skill | 75 | 4d ago | none | B | 117 | Claude Code |
| apify-actorizationmarysatasselshaped667/skills-collection-1 | Skill | 1 | 1mo ago | MIT | A | 48 | Claude Code, Codex |
| mobile-backend-infraalmasumdev/awesome-mobile-backend-agent-skills | Skill | 1 | 7mo ago | none | A | 37 | Claude Code, Codex |
| apify-actor-developmentmarysatasselshaped667/skills-collection-1 | Skill | 1 | 1mo ago | MIT | C | 71 | Claude Code, Codex |
| alchemy-providerpingdotgg/t3code | Skill | 84k | today | MIT | A | 153 | Claude Code, Codex |