How to Use Apple repair estimates in opencode
Returns Apple's published repair estimates for supported devices and service categories. Use it to compare service scenarios, keeping Apple's inspection requirement separate from the estimate.
Prompts to try with Apple repair estimates in opencode
Copy an example into opencode, or ask in your own words.
Use Apple repair estimates for iPhone 15 to inspect the returned service categories. Check whether this project's repair form can represent them without treating an estimate as a completed assessment.
Use Apple repair estimates to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Apple repair estimates and tell me what changed since last week.
Check Apple repair estimates and summarize what you find in three bullet points.
Pull the newest data from Apple repair estimates and give me the result as a table.
How to set up Apple repair estimates 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 Apple repair estimates
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": "support-apple-com/support/repair_pricing", "input": { "product": "<product>" } }'
Then paste one of the prompts above: opencode finds Apple repair estimates on Spiral, shows the price and runs it.
Apple repair estimates providers and prices
Spiral runs Apple repair estimates 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 |
|---|---|---|---|
| Pricing type | OOW or AC+ | OOW | OOW = out-of-warranty price, AC+ = AppleCare+ service fee. |
Every API field of Apple Support · Repair pricing is on its tool page: open its card above.
What can you do with Apple repair estimates in opencode?
Check an iPhone support feature against Apple's product documentation and published service information. A coding agent can use those references to review hardware assumptions, support links, and model-specific guidance in a project.
Prepare a model-specific support brief
Build an iPhone 16 brief with the exact product entry, document links, hardware specifications, relevant troubleshooting guidance, and published repair estimates. Use suggested searches to find useful starting topics.
Review a battery service scenario
For a business-owned iPhone 15, gather battery troubleshooting guidance, the product's battery specifications, manual links, and published service estimates. Present the evidence for further troubleshooting or a service assessment.
Prepare for a damaged-screen assessment
Identify the exact iPhone model, collect its display specifications and repair documentation, and find Apple's relevant support guidance and published repair estimates.
Support a repair-or-replace review
Assemble specifications, manuals, troubleshooting references, and repair estimates for a business-owned iPhone 13. Give the reviewer the product evidence needed to assess continued use.
More on Apple repair estimates and opencode
Overview
Apple repair estimates in other agents
Questions about Apple repair estimates in opencode
Can opencode use Apple repair estimates?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Apple repair estimates like any built-in tool.
How much does Apple repair estimates 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 Apple repair estimates in opencode?
No. Spiral runs Apple repair estimates on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Apple repair estimates in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Apple repair estimates runs?
Apple repair estimates runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
What products does Apple's documentation cover?
Apple's directory covers Mac, iPad, iPhone, Watch, Vision, AirPods, Home, iPod, displays, accessories, and software. It organizes documents and downloads around products.
Does Apple still list documentation for older iPhones?
Yes. The iPhone directory includes the original iPhone and iPhone 3G, so its coverage extends beyond currently sold models.
Are all Apple Support search results written by Apple?
Search distinguishes support articles, documentation, and community content. Community results should be identified separately from Apple's support articles.
Can search results include outdated guidance?
Apple Support search has an option to include content that is no longer being updated. Archived guidance can help with older devices, but it does not establish current instructions.
Are manuals and technical specifications separate documents?
They can be. Apple's iPhone 16 documentation page lists technical specifications, the iPhone User Guide, and the iPhone 16 Repair Manual as separate links.
Start using Apple repair estimates 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


