mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-28 11:59:29 +00:00
* feat: add Cursor CLI agent across all clouds Adds Cursor's terminal-based AI coding agent (the `agent` command from cursor.com/cli) to the spawn matrix. Routes LLM requests through OpenRouter via --endpoint flag and CURSOR_API_KEY env var. - manifest.json: new cursor agent entry + all 6 cloud matrix entries - agent-setup.ts: install, configure, launch, and update definitions - Shell scripts for all 6 clouds (local, hetzner, aws, do, gcp, sprite) - Config: writes ~/.cursor/cli-config.json with full permissions - Icon: cursor.png from cursor.com/apple-touch-icon.png - All cloud READMEs updated with cursor.sh usage - CLI version bumped to 0.26.0 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * feat: add spawn skill injection for Cursor CLI Writes a .cursor/rules/spawn.mdc rule file with alwaysApply: true during setup, teaching the Cursor agent how to use the spawn CLI to provision child cloud VMs. Uses the same base64 upload pattern as other agent config files. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Signed-off-by: Ahmed Abushagur <ahmed@abushagur.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: A <258483684+la14-1@users.noreply.github.com>
2.1 KiB
2.1 KiB
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/labs/spawn/gcp/claude.sh)
OpenClaw
bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/openclaw.sh)
ZeroClaw
bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/zeroclaw.sh)
Codex CLI
bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/codex.sh)
OpenCode
bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/opencode.sh)
Kilo Code
bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/kilocode.sh)
Hermes
bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/hermes.sh)
Junie
bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/junie.sh)
Cursor CLI
bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/cursor.sh)
Non-Interactive Mode
GCP_INSTANCE_NAME=dev-mk1 \
OPENROUTER_API_KEY=sk-or-v1-xxxxx \
bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/claude.sh)
Custom Disk Size
By default, instances are created with a 40 GB boot disk. Override with GCP_DISK_SIZE (in GB):
| Variable | Default | Description |
|---|---|---|
GCP_DISK_SIZE |
40 |
Boot disk size in GB |
GCP_DISK_SIZE=80 \
bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/claude.sh)
Custom VPC / Subnet
If your GCP project's default VPC uses custom subnet mode (common in enterprise or org-managed projects), set these env vars to override the default network/subnet:
| Variable | Default | Description |
|---|---|---|
GCP_NETWORK |
default |
VPC network name |
GCP_SUBNET |
default |
Subnet name |
Example:
GCP_NETWORK=my-vpc GCP_SUBNET=my-subnet \
GCP_INSTANCE_NAME=dev-mk1 \
OPENROUTER_API_KEY=sk-or-v1-xxxxx \
bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/claude.sh)