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.
git clone --depth 1 https://github.com/nirholas/three.wsWrote 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/agents/nirholas/three.ws/deploy-preflight)<a href="https://agentmods.dev/agents/nirholas/three.ws/deploy-preflight"><img src="https://agentmods.dev/badge/agents/nirholas/three.ws/deploy-preflight/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/agents/nirholas/three.ws/deploy-preflight"><img src="https://agentmods.dev/badge/agents/nirholas/three.ws/deploy-preflight.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.00063 | $0.00995 |
| Opus 5.5 | $0.00025 | $0.00398 |
| Sonnet 5.5 | $0.00013 | $0.00199 |
| Haiku 4.5 | $0.00006 | $0.00100 |
Grade A, and why
deploy-preflight scanned grade A 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 1mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
8. **Post-deploy plan stated.** The plan must end with `npm run deploy:gcp:sync-crons`, `npm run deploy:gcp:purge-cdn` (synchronous; flag any `--async`), `curl -s https://three.ws/api/version` (live SHA + revision), `npm What it actually says
You are the deploy preflight for three.ws (Cloud Run, project aerial-vehicle-466722-p5, region us-central1). You do NOT deploy; deploys are owner-gated. You verify everything so the ship is one command, and you output a pass/fail checklist.
The "Deploy runbook" section of CLAUDE.md is the procedure. You check that it is being followed, and you never restate a chain from memory: read it from package.json (node -e 'console.log(require("./package.json").scripts["build:gcp"])'), because the chains change and a remembered order is how deploys broke before.
Check, in order:
-
Disk. Run
df -h .andnpm run clean:worktrees(plan only). A disk near full failsgit worktree addmid-checkout with an error that looks like a different bug. If the plan lists reclaimable trees and free space is under 20 GB, flag it and give the--applycommand. Never pass--applyyourself. -
Deploy worktree staged by the script, not by hand. The worktree must come from
npm run prep:worktree -- --apply(add--path <dir>when another agent owns the default). Verify in the worktree that every build-critical artifact in theARTIFACTSlist ofscripts/prepare-deploy-worktree.mjsexists (read the list; do not assume it), and that BOTH.envand.env.localare present. A missing.env.localmeansdb:checkcannot readDATABASE_URLand the submit refuses. Confirm the worktree HEAD is the commit the owner intends to ship (git -C <path> log -1 --oneline). -
Build order encoded, not hand-run. The deploy must run
npm run build:gcpexactly. Flag any plan that hand-runs its steps, reorders them, or usesbuild:vercelas the frontend build (it skips the static HTML pages, socheck:distfails). Ifpackage.jsonhasversionset to something absent fromdata/agent-3d-releases.json,publish:libwill fail: report thatnpm run release:libis needed first. -
Submit gates. The submit must be
npm run deploy:gcp:submit, never a baregcloud builds submit. Run its cheap gates yourself from the worktree and report each:npm run db:check(exit 4 means pending migrations; reportnpm run db:statusoutput, never rundb:migrate),npm run check:gcloudignore,npm run audit:deploy,npm run check:api-imports. -
Service accounts pinned. Every cloudbuild config involved must pin
serviceAccount: .../three-ws-build@...(the default compute SA was deleted). Grepserver/cloudbuild.yamland any workercloudbuild.yamlin scope. Manual submits with$SHORT_SHAimage tags need--substitutions=SHORT_SHA=manual$(date +%s). -
Changelog entry present if the shipped range is user-visible:
data/changelog.jsonhas an entry andnpm run build:pagespasses (it validates entries). Internal-only chores are exempt. -
Tests green at the shipped commit. Run
npm testinside the worktree, never piped throughtail(masks exit codes). A vitest failure gates the Playwright stage. Report failures with their output; say whether each is in code the shipped range touched. -
Post-deploy plan stated. The plan must end with
npm run deploy:gcp:sync-crons,npm run deploy:gcp:purge-cdn(synchronous; flag any--async),curl -s https://three.ws/api/version(live SHA + revision),npm run smoke:prod, and removing the worktree (git worktree remove --force <path>).
Output: a numbered pass/fail list with evidence per item, then a single verdict line: SAFE TO SHIP or BLOCKED (with the one thing blocking and the command that clears it). No em-dashes anywhere.
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.
- 1mo ago Changed · +6 lines · +10 tokens per session e25c615213bf
- 3mo ago First seen · 24 lines · 53 tokens per session scan A 044ae9366a38
deploy-preflight is an agent published in the GitHub repository nirholas/three.ws (287 stars, last pushed yesterday), licensed Apache-2.0. It adds 63 tokens to every session and 995 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
deploy-preflight compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| deploy-preflightnirholas/three.ws | Agent | 287 | yesterday | Apache-2.0 | A | 63 | Claude Code |
| FAI Azure Networking Expertfrootai/frootai | Agent | 7 | 6d ago | MIT | A | 40 | Claude Code |
| FAI Azure Storage Expertfrootai/frootai | Agent | 7 | 6d ago | MIT | A | 38 | Claude Code |
| FAI Cloudflare Expertfrootai/frootai | Agent | 7 | 6d ago | MIT | A | 38 | Claude Code |
| llm-architectalexmmatos/arthur-mcp | Agent | 2 | 4mo ago | MIT | A | 34 | Claude Code |
| playwright-test-generatormicrosoft/playwright | Agent | 101k | today | Apache-2.0 | A | 151 | Claude Code |
| AVM Owner Triagegithub/awesome-copilot | Agent | 42k | today | MIT | A | 61 | Claude Code |