spawn/gcp
Sprite f883ff42e8 refactor: check exit codes directly instead of using $?
Fixed SC2181 warnings by refactoring indirect exit code checks
($? -ne 0) to direct command checks (if ! command). This improves
readability and follows shellcheck best practices.

Changes:
- aws-lightsail/lib/common.sh: Refactored aws lightsail create-instances check
- gcp/lib/common.sh: Refactored gcloud compute instances create check

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-08 01:29:56 +00:00
..
lib refactor: check exit codes directly instead of using $? 2026-02-08 01:29:56 +00:00
aider.sh Use ${VAR:-} for all optional env var checks (#28) 2026-02-07 16:28:12 -08:00
amazonq.sh Use ${VAR:-} for all optional env var checks (#28) 2026-02-07 16:28:12 -08:00
claude.sh Use ${VAR:-} for all optional env var checks (#28) 2026-02-07 16:28:12 -08:00
cline.sh Use ${VAR:-} for all optional env var checks (#28) 2026-02-07 16:28:12 -08:00
codex.sh Use ${VAR:-} for all optional env var checks (#28) 2026-02-07 16:28:12 -08:00
gemini.sh Use ${VAR:-} for all optional env var checks (#28) 2026-02-07 16:28:12 -08:00
goose.sh Use ${VAR:-} for all optional env var checks (#28) 2026-02-07 16:28:12 -08:00
interpreter.sh Use ${VAR:-} for all optional env var checks (#28) 2026-02-07 16:28:12 -08:00
nanoclaw.sh Use ${VAR:-} for all optional env var checks (#28) 2026-02-07 16:28:12 -08:00
openclaw.sh Use ${VAR:-} for all optional env var checks (#28) 2026-02-07 16:28:12 -08:00
README.md Add E2B + Modal sandbox providers, restructure README (#22) 2026-02-07 14:11:04 -08:00

GCP Compute Engine

Google Cloud Compute Engine instances via gcloud CLI. GCP Compute Engine

Uses current username for SSH. Requires gcloud CLI installed and configured.

Agents

Claude Code

bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/claude.sh)

OpenClaw

bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/openclaw.sh)

NanoClaw

bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/nanoclaw.sh)

Aider

bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/aider.sh)

Goose

bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/goose.sh)

Codex CLI

bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/codex.sh)

Open Interpreter

bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/interpreter.sh)

Gemini CLI

bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/gemini.sh)

Amazon Q CLI

bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/amazonq.sh)

Cline

bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/cline.sh)

Non-Interactive Mode

GCP_INSTANCE_NAME=dev-mk1 \
OPENROUTER_API_KEY=sk-or-v1-xxxxx \
  bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/claude.sh)