[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Google Cloud SKU group contents](https://spiral.ai/integrations/opencode/google-cloud-sku-group-contents)

# How to Use Google Cloud SKU group contents in opencode

Returns SKU IDs from a published Google Cloud SKU group, such as On-Demand E2 VMs. Use it to define a resource category before looking up prices for its SKUs.

|  |  |
| --- | --- |
| Model | Google Cloud SKU group contents |
| Available through | Alexandria |
| Category | E-commerce |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Google Cloud SKU group contents in opencode

- Use Google Cloud SKU group contents for on-demand-e2-vms and compare its SKU IDs with the E2 entries supported by this project.
- Use Google Cloud SKU group contents to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Google Cloud SKU group contents and tell me what changed since last week.
- Check Google Cloud SKU group contents and summarize what you find in three bullet points.
- Pull the newest data from Google Cloud SKU group contents and give me the result as a table.

## How to set up Google Cloud SKU group contents in opencode

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Google Cloud SKU group contents**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "cloudbilling-googleapis-com/cloud-pricing/sku_group",
    "input": {
      "group_slug": "<group_slug>"
    }
  }'
```

Then paste one of the prompts above: opencode finds Google Cloud SKU group contents on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## Google Cloud SKU group contents tools and prices

- [Google Cloud SKU list prices · Sku group](https://spiral.ai/tools/alexandria/cloudbilling-googleapis-com/cloud-pricing/sku_group) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| limit | 1 to 1000 | 200 | limit |
| offset | 0 to … | 0 | offset |

## What can you do with Google Cloud SKU group contents in opencode?

Build a Google Cloud cost reference that connects resource descriptions to exact SKUs, regional coverage, and pricing formulas. A coding agent can compare that reference with the project's estimator and identify missing resources or incorrect tier calculations.

### Maintain an E2 cost reference

Check catalog status, find the On-Demand E2 VMs category in the directory, and collect its SKU IDs. Search for relevant descriptions, reconcile them against the Compute Engine catalog, and retrieve exact SKU prices for the reference.

### Review regional storage options

Check source status and discover storage categories in the directory. Collect their SKUs, search for the storage descriptions under review, compare the service catalog's regional coverage, and look up exact prices for the shortlist.

### Build a BigQuery SKU reference

Check catalog status, locate BigQuery categories, and collect the SKUs they contain. Use description search and the service catalog to organize the results, then retrieve exact public prices for selected analysis and storage SKUs.

### Investigate catalog changes

Compare source status and saved directory results, then inspect affected categories. Reconcile their SKU IDs with service listings and description searches, and retrieve exact prices to separate category changes from pricing changes.

### Map published contract categories

Find a named Google Cloud category in the directory and collect its SKU IDs. Use the resulting list to review category scope alongside a contract, keeping negotiated rates separate.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## Google Cloud SKU group contents in other agents

- [Amp](https://spiral.ai/integrations/amp/google-cloud-sku-group-contents)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/google-cloud-sku-group-contents)
- [Claude](https://spiral.ai/integrations/claude-desktop/google-cloud-sku-group-contents)
- [Claude Code](https://spiral.ai/integrations/claude-code/google-cloud-sku-group-contents)
- [Cline](https://spiral.ai/integrations/cline/google-cloud-sku-group-contents)
- [Codex](https://spiral.ai/integrations/codex/google-cloud-sku-group-contents)
- [Cursor](https://spiral.ai/integrations/cursor/google-cloud-sku-group-contents)
- [Devin](https://spiral.ai/integrations/devin/google-cloud-sku-group-contents)
- [dots](https://spiral.ai/integrations/dots/google-cloud-sku-group-contents)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/google-cloud-sku-group-contents)
- [Gemini](https://spiral.ai/integrations/gemini/google-cloud-sku-group-contents)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/google-cloud-sku-group-contents)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/google-cloud-sku-group-contents)
- [goose](https://spiral.ai/integrations/goose/google-cloud-sku-group-contents)
- [Grok](https://spiral.ai/integrations/grok/google-cloud-sku-group-contents)
- [Grok Build](https://spiral.ai/integrations/grok-build/google-cloud-sku-group-contents)
- [Hermes](https://spiral.ai/integrations/hermes/google-cloud-sku-group-contents)
- [Instinct](https://spiral.ai/integrations/instinct/google-cloud-sku-group-contents)
- [Manus](https://spiral.ai/integrations/manus/google-cloud-sku-group-contents)
- [Muse](https://spiral.ai/integrations/muse/google-cloud-sku-group-contents)
- [Muse Code](https://spiral.ai/integrations/muse-code/google-cloud-sku-group-contents)
- [n8n](https://spiral.ai/integrations/n8n/google-cloud-sku-group-contents)
- [Notion](https://spiral.ai/integrations/notion/google-cloud-sku-group-contents)
- [OpenClaw](https://spiral.ai/integrations/openclaw/google-cloud-sku-group-contents)
- [Perplexity](https://spiral.ai/integrations/perplexity/google-cloud-sku-group-contents)
- [Raycast](https://spiral.ai/integrations/raycast/google-cloud-sku-group-contents)
- [VS Code](https://spiral.ai/integrations/vscode/google-cloud-sku-group-contents)
- [Windsurf](https://spiral.ai/integrations/windsurf/google-cloud-sku-group-contents)
- [Zapier](https://spiral.ai/integrations/zapier/google-cloud-sku-group-contents)

## More opencode guides

- [Google Cloud SKU catalog status](https://spiral.ai/integrations/opencode/google-cloud-sku-catalog-status)
- [Google Cloud SKU group directory](https://spiral.ai/integrations/opencode/google-cloud-sku-group-directory)
- [Google Books ISBN lookup](https://spiral.ai/integrations/opencode/google-books-isbn-lookup)
- [Google Cloud SKU price](https://spiral.ai/integrations/opencode/google-cloud-sku-price)
- [GitHub security advisory search](https://spiral.ai/integrations/opencode/github-security-advisory-search)
- [Google Cloud SKU search](https://spiral.ai/integrations/opencode/google-cloud-sku-search)

## Questions about Google Cloud SKU group contents in opencode

**Can opencode use Google Cloud SKU group contents?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Google Cloud SKU group contents like any built-in tool.

**How much does Google Cloud SKU group contents cost in opencode?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

**Do I need an Alexandria account to use Google Cloud SKU group contents in opencode?**

No. Spiral runs Google Cloud SKU group contents on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Google Cloud SKU group contents in opencode?**

About two minutes: add the server, then sign in, then check it.

**Does opencode wait while Google Cloud SKU group contents runs?**

Google Cloud SKU group contents runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Does this catalog include negotiated Google Cloud prices?**

The catalog contains public SKU pricing. Google directs customers with custom contract pricing to its separate Pricing API for applicable contract prices.

**Does a SKU apply to every Google Cloud region?**

Google distinguishes global, regional, and multiregional SKUs. Global SKUs have an empty geographic taxonomy region list because they apply across all Google Cloud regions.

**Can I estimate usage by multiplying everything by one rate?**

Google's pricing formulas can contain multiple usage tiers. Total cost applies each tier to its corresponding usage, so one rate can give the wrong estimate.

**How do I know a service catalog collection is complete?**

Google's SKU listings are paginated. At the publisher level, an empty continuation token marks the end of the results; the first response alone does not establish completeness.

**What time boundary applies to Google's historical catalog queries?**

The underlying Catalog API requires each historical pricing time range to fit within one calendar month in the America/Los_Angeles time zone. That publisher capability does not establish historical access through these endpoints.

