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

opencode · Developer

How to Use Oracle Cloud price publication status in opencode

Returns publication metadata and a hash for the selected currency's OCI price list. Use it before collecting prices to check whether the source has changed since your previous snapshot.

Prompts to try with Oracle Cloud price publication status in opencode

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

Use Oracle Cloud price publication status for US dollars and compare the returned publication metadata with the snapshot metadata stored in this repository.

Oracle Cloud price publication statusopencode
Try asking
  • Use Oracle Cloud price publication status to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Oracle Cloud price publication status and tell me what changed since last week.

  • Check Oracle Cloud price publication status and summarize what you find in three bullet points.

  • Pull the newest data from Oracle Cloud price publication status and give me the result as a table.

How to set up Oracle Cloud price publication status 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.

    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.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Oracle Cloud price publication status

    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": "apexapps-oracle-com/cloud-pricing/source_status",
        "input": {
          "currency": "USD"
        }
      }'

Then paste one of the prompts above: opencode finds Oracle Cloud price publication status on Spiral, shows the price and runs it.

Oracle Cloud price publication status providers and prices

Spiral runs Oracle Cloud price publication status through Alexandria. Open a card for today's price, with every fee included.

AlexandriaDeveloper

What can you do with Oracle Cloud price publication status in opencode?

Build an OCI estimate that matches the project's actual compute and storage components. A coding agent can use Oracle's catalog or publication metadata to review the data behind the estimate, then check SKU mappings and billing units.

Refresh an OCI workload estimate

Check the price publication, collect the current catalog, find the services in a workload, and verify the selected part numbers. For E5 compute, include separate CPU and memory entries.

Explain changes between catalog snapshots

Compare publication metadata before collecting another snapshot. Compare catalog entries by part number, use product search to identify affected services, and inspect changed SKUs individually.

Review the catalog behind a migration proposal

Check the publication used for the proposal, collect its catalog, find the proposed OCI services, and verify each selected SKU's billing metric. Flag legacy compute entries for a separate deployment-availability check.

Audit a calculator's product mappings

Check whether the source publication changed, collect the catalog, search for products that lack a mapping, and verify known part numbers. Report mismatched billing units and overlooked quantity tiers.

Questions about Oracle Cloud price publication status in opencode

Can opencode use Oracle Cloud price publication status?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Oracle Cloud price publication status like any built-in tool.

How much does Oracle Cloud price publication status 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 Oracle Cloud price publication status in opencode?

No. Spiral runs Oracle Cloud price publication status on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Oracle Cloud price publication status in opencode?

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

Does opencode wait while Oracle Cloud price publication status runs?

Oracle Cloud price publication status runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

Do OCI service rates differ by region?

Oracle states that each service has the same rate across OCI regions. That statement concerns rates; a price-list entry alone does not establish that a product is available for a new deployment.

Can an OCI product have more than one quantity tier?

Yes. Oracle documents range-based pricing with an exclusive minimum, an inclusive maximum, and a range unit, so a product's first listed rate may not apply to every quantity.

Does an OCI CPU SKU include memory?

Oracle prices CPU and memory separately for E3, E4, E5, X9, and A1 compute. An estimate for those instances needs the applicable memory SKU as well as the CPU SKU.

Get started

Start using Oracle Cloud price publication status in opencode

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

Paste this into opencode:

Set up opencode

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