How to Use Google Cloud SKU group directory in opencode
Lists published Google Cloud SKU groups used in contracts and cost management. Use it to find the right category before retrieving the SKUs it contains.
Prompts to try with Google Cloud SKU group directory in opencode
Copy an example into opencode, or ask in your own words.
Use Google Cloud SKU group directory to find BigQuery categories and propose a category mapping for this project's cost reference.
Use Google Cloud SKU group directory 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 directory and tell me what changed since last week.
Check Google Cloud SKU group directory and summarize what you find in three bullet points.
Pull the newest data from Google Cloud SKU group directory and give me the result as a table.
How to set up Google Cloud SKU group directory in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- 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.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- 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.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Google Cloud SKU group directory
One request; the result comes back by polling or a webhook.
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_groups", "input": { "limit": 100 } }'
Then paste one of the prompts above: opencode finds Google Cloud SKU group directory on Spiral, shows the price and runs it.
Google Cloud SKU group directory providers and prices
Spiral runs Google Cloud SKU group directory through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Limit | 1 to 1000 | 100 | limit |
| Offset | a number from 0 | 0 | offset |
Every API field of Google Cloud SKU list prices · Sku groups is on its tool page: open its card above.
What can you do with Google Cloud SKU group directory 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.
More on Google Cloud SKU group directory and opencode
Overview
Google Cloud SKU group directory in other agents
Questions about Google Cloud SKU group directory in opencode
Can opencode use Google Cloud SKU group directory?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Google Cloud SKU group directory like any built-in tool.
How much does Google Cloud SKU group directory 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 directory in opencode?
No. Spiral runs Google Cloud SKU group directory 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 directory in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Google Cloud SKU group directory runs?
Google Cloud SKU group directory 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.
Start using Google Cloud SKU group directory in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


