Spiral gives your agent every tool with one account. Browse the tools →

Gemini CLI · E-commerce

How to Use Google Cloud SKU search in Gemini CLI

Finds Google Cloud SKUs by description words or service name. Use it when you know the resource you need, such as E2 instance cores, but have not identified its SKU.

Prompts to try with Google Cloud SKU search in Gemini CLI

Copy an example into Gemini CLI, or ask in your own words.

Use Google Cloud SKU search to find E2 Instance Core SKUs, then compare their descriptions and regions with the Compute Engine resources in this project's Terraform files.

Google Cloud SKU searchGemini CLI
Try asking
  • Use Google Cloud SKU search 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 search and tell me what changed since last week.

  • Check Google Cloud SKU search and summarize what you find in three bullet points.

  • Pull the newest data from Google Cloud SKU search and give me the result as a table.

How to set up Google Cloud SKU search in Gemini CLI

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

Use Spiral's MCP server

  1. Add the server

    Or add it to ~/.gemini/settings.json yourself:

    gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start gemini and run:

    /mcp auth spiral
  3. Check it

    In Gemini CLI, run /mcp. From your shell:

    gemini mcp list

Use the Spiral skill

  1. Send Gemini CLI 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.

    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 search

    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/search",
        "input": {
          "query": "<query>"
        }
      }'

Then paste one of the prompts above: Gemini CLI finds Google Cloud SKU search on Spiral, shows the price and runs it.

Google Cloud SKU search providers and prices

Spiral runs Google Cloud SKU search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaE-commerce
Google Cloud SKU list prices · Search
cloudbilling-googleapis-com/cloud-pricing/search

Settings you can ask for

Ask Gemini CLI for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Page size hint1 to 20030

Passed to the publisher as its page-size argument; results per page vary around it.

Every API field of Google Cloud SKU list prices · Search is on its tool page: open its card above.

What can you do with Google Cloud SKU search in Gemini CLI?

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.

Explain a billing SKU

Search an unfamiliar Google Cloud resource description and retrieve the matching SKU's public price. Compare its region and pricing formula with the billing line being investigated.

Audit estimator coverage

Collect a service's public SKUs and compare them with the resources an estimator supports. Search unfamiliar descriptions and retrieve exact prices for entries that need review.

Questions about Google Cloud SKU search in Gemini CLI

Can Gemini CLI use Google Cloud SKU search?

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Google Cloud SKU search like any built-in tool.

How much does Google Cloud SKU search cost in Gemini CLI?

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

Do I need an Alexandria account to use Google Cloud SKU search in Gemini CLI?

No. Spiral runs Google Cloud SKU search 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 search in Gemini CLI?

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

Does Gemini CLI wait while Google Cloud SKU search runs?

Google Cloud SKU search runs in the background. Gemini CLI 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.

Get started

Start using Google Cloud SKU search in Gemini CLI

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Gemini CLI:

Set up Gemini CLI

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options