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 tranhieutt/software_development_department --skill cloud-run-puppeteergit clone --depth 1 https://github.com/tranhieutt/software_development_departmentWrote 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/tranhieutt/software_development_department/cloud-run-puppeteer)<a href="https://agentmods.dev/skills/tranhieutt/software_development_department/cloud-run-puppeteer"><img src="https://agentmods.dev/badge/skills/tranhieutt/software_development_department/cloud-run-puppeteer/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/tranhieutt/software_development_department/cloud-run-puppeteer"><img src="https://agentmods.dev/badge/skills/tranhieutt/software_development_department/cloud-run-puppeteer.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.00051 | $0.01132 |
| Opus 5.5 | $0.00020 | $0.00453 |
| Sonnet 5.5 | $0.00010 | $0.00226 |
| Haiku 4.5 | $0.00005 | $0.00113 |
Grade C, and why
cloud-run-puppeteer scanned grade C with 1 finding 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 3mo 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
&& rm -rf /var/lib/apt/lists/* How it starts
The opening of the file, as written. The whole thing — 142 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cloud Run + Puppeteer Deployment Guide
Hard-won lessons from deploying Puppeteer to Cloud Run. These are non-obvious gotchas that cost significant debug time.
MUST: Use gen2 Execution Environment
Cloud Run gen1 uses gVisor sandbox — blocks Linux syscalls Chrome needs to create processes. Puppeteer will hang/timeout silently.
gcloud run deploy my-service \
--execution-environment gen2 # <-- required for Chrome/Puppeteer
Never deploy a Puppeteer service on gen1.
MUST: Install Chrome System Dependencies
node:18 base image does not include libraries Chrome needs. Missing any one of these causes launch failure.
FROM node:18
RUN apt-get update && apt-get install -y \
ca-certificates fonts-liberation fonts-ipafont-gothic fonts-wqy-zenhei \
libasound2 libatk-bridge2.0-0 libatk1.0-0 libcairo2 libcups2 \
libdbus-1-3 libdrm2 libgbm1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 \
libpango-1.0-0 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 \
libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 \
libxss1 libxtst6 xdg-utils --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
MUST: Secret Manager mount path ngoài WORKDIR
Nếu mount secret vào cùng path với WORKDIR, volume mount sẽ che toàn bộ thư mục — chỉ còn file secret, code biến mất.
# SAI — mount trùng WORKDIR /app
--set-secrets "/app/service-account.json=my-secret:latest"
# ĐÚNG — mount ra path riêng
--set-secrets "/secrets/service-account.json=my-secret:latest"
ENV GOOGLE_CREDS_PATH=/secrets/service-account.json
Windows/Git Bash warning:
--set-env-varsvới path Unix sẽ bị Git Bash convert thành Windows path. SetENVtrực tiếp trong Dockerfile thay vì truyền qua CLI.
Puppeteer Launch Config cho Cloud Run
const browser = await puppeteer.launch({
headless: 'new',
timeout: 60000, // cold start cần thời gian — mặc định 30s không đủ
args: [
'--no-sandbox',
'--disable-setuid-sandbox',
'--disable-dev-shm-usage', // /dev/shm nhỏ trong container
'--single-process',
'--no-zygote',
'--disable-gpu',
],
});
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.
- 3mo ago First seen · 142 lines · 51 tokens per session scan C 50be4e1316c2
cloud-run-puppeteer is a skill published in the GitHub repository tranhieutt/software_development_department (75 stars, last pushed 6mo ago), licensed MIT. It adds 51 tokens to every session and 1,132 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
cloud-run-puppeteer compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cloud-run-puppeteertranhieutt/software_development_department | Skill | 75 | 6mo ago | MIT | C | 51 | Claude Code |
| playwright-clitestdino-hq/playwright-skill | Skill | 427 | 5d ago | MIT | A | 64 | Claude Code, Codex |
| playwright-qatestdino-hq/playwright-skill | Skill | 427 | 5d ago | MIT | A | 83 | Claude Code, Codex |
| browser-agentdatit309/supergraph | Skill | 23 | 6d ago | MIT | A | 50 | Claude Code |
| video-demodatit309/supergraph | Skill | 23 | 6d ago | MIT | A | 112 | Claude Code |
| argo-cdDongDuong2001/pudo-code-system | Skill | 5 | 14d ago | MIT | A | 0 | Claude Code, Codex |
| terraformDongDuong2001/pudo-code-system | Skill | 5 | 14d ago | MIT | A | 0 | Claude Code, Codex |