How to Use IBM Cloud catalog revision in opencode
Returns the current catalog revision for checking the source before or during a pricing collection. Use it to detect source changes while collecting multiple pages.
Prompts to try with IBM Cloud catalog revision in opencode
Copy an example into opencode, or ask in your own words.
Use IBM Cloud catalog revision to capture the current revision, then add a check to our IBM Cloud collection job that compares it before and after collection.
Use IBM Cloud catalog revision to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from IBM Cloud catalog revision and tell me what changed since last week.
Check IBM Cloud catalog revision and summarize what you find in three bullet points.
Pull the newest data from IBM Cloud catalog revision and give me the result as a table.
How to set up IBM Cloud catalog revision 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 IBM Cloud catalog revision
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": "globalcatalog-cloud-ibm-com/cloud-pricing/source_status", "input": {} }'
Then paste one of the prompts above: opencode finds IBM Cloud catalog revision on Spiral, shows the price and runs it.
IBM Cloud catalog revision providers and prices
Spiral runs IBM Cloud catalog revision through Alexandria. Open a card for today's price, with every fee included.
$0.00873 per call.
What can you do with IBM Cloud catalog revision in opencode?
Build an IBM Cloud rate reference that connects the project's services to catalog entries, plans, and deployment pricing. Add revision checks and snapshot comparisons to review changes without relying on a change feed.
Compare deployment regions
Find an IBM Cloud service, collect its plans, and inspect selected deployments using matching charge units and currencies. Check the catalog revision around the collection before preparing a regional comparison.
Maintain an internal rate reference
Resolve IBM Cloud product names, collect their published pricing records, and inspect individual plans when a charge needs explanation. Include catalog revision checks in each refresh.
Review catalog changes
Compare successive collections to identify changed rates, quantity tiers, or plan coverage. Use catalog search to resolve affected products, inspect individual plans, and check source revisions during collection.
Refresh a workload estimate
Match the workload's IBM Cloud services to catalog entries, collect relevant plans, and verify selected rates and validity dates. Check the catalog revision before updating the estimate's reference data.
More on IBM Cloud catalog revision and opencode
Overview
IBM Cloud catalog revision in other agents
Questions about IBM Cloud catalog revision in opencode
Can opencode use IBM Cloud catalog revision?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run IBM Cloud catalog revision like any built-in tool.
How much does IBM Cloud catalog revision 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 IBM Cloud catalog revision in opencode?
No. Spiral runs IBM Cloud catalog revision on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up IBM Cloud catalog revision in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while IBM Cloud catalog revision runs?
IBM Cloud catalog revision runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
What does the IBM Cloud catalog data cover?
It covers public catalog entries, plans, and published list pricing by deployment region, metric, country, and quantity tier. That scope is a public product reference, not an account's usage statement.
Does a global deployment have the same rates everywhere?
A global deployment can have region-specific pricing. IBM documents Cloud Object Storage Standard as one example, so global deployment scope alone does not establish a worldwide rate.
Do effective dates tell me when the data was refreshed?
The effective start and end dates define when a pricing plan applies. They describe the rate's validity period, not a catalog refresh schedule.
Can I request only the records that changed?
This collection has no records change feed because the publisher provides no deltas. Change reviews require comparing collected snapshots.
Start using IBM Cloud catalog revision 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


