How to Use xAI news article in opencode
Returns an individual xAI announcement’s text and publication date. Use it to read the explanation behind a launch or company update found in the news index.
Prompts to try with xAI news article in opencode
Copy an example into opencode, or ask in your own words.
Use xAI news article to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from xAI news article and tell me what changed since last week.
Check xAI news article and summarize what you find in three bullet points.
Pull the newest data from xAI news article and give me the result as a table.
Check xAI news article every morning and tell me only when something changed.
How to set up xAI news article 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 xAI news article
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": "x-ai/developer-docs/get_news_post", "input": { "slug": "<slug>" } }'
Then paste one of the prompts above: opencode finds xAI news article on Spiral, shows the price and runs it.
xAI news article providers and prices
Spiral runs xAI news article 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 |
|---|---|---|---|
| Max chars | 200 to 2000000 | Truncate |
Every API field of xAI (Grok API docs and x.ai news) · Get news post is on its tool page: open its card above.
What can you do with xAI news article in opencode?
Turn xAI’s published information into a concrete project review with citations beside the proposed changes. Compare the project’s assumptions with the relevant model specification, documentation section, or product description.
Prepare a Grok product evaluation
Compare subscription features, shortlist marketplace bots, inspect their descriptions, and read the product pages and announcements behind the options.
Plan a Grok application update
Find candidate models, check individual specifications and developer guidance, then review release notes and announcements for changes that affect the proposed work.
Check a technical comparison article
Verify model names and capabilities against the catalog and specifications. Compare developer guidance, company statements, and announcement text before revising the article’s claims.
Maintain a weekly xAI change brief
Compare saved readings of model specifications, documentation, subscriptions, marketplace listings, and product pages. Add dated release entries and news articles to explain the changes.
Build an internal Grok reference guide
Create separate answers for product features, bot descriptions, model requirements, and developer behavior. Attach the relevant public page, announcement, or release entry to each answer.
Write a product rollout briefing
Explain a Grok product change using its announcement, product page, release notes, and subscription feature comparison. Use the news index to locate related announcements.
More on xAI news article and opencode
Overview
xAI news article in other agents
Questions about xAI news article in opencode
Can opencode use xAI news article?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run xAI news article like any built-in tool.
How much does xAI news article 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 xAI news article in opencode?
No. Spiral runs xAI news article on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up xAI news article in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while xAI news article runs?
xAI news article runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
Does the source include both developer and consumer product information?
Yes. The developer documentation covers Grok models and API behavior, while xAI’s public website includes subscription comparisons and the Grok Bot marketplace.
What kinds of models does xAI document?
The model catalog includes dedicated audio, image, and video models alongside general models. Individual specification pages provide narrower details, such as Grok 4.7’s 500,000-token context window.
Does a current model page mean the model knows current events?
No. The catalog states that Grok 4.7’s training knowledge cutoff is May 2026. A published specification and a model’s training knowledge describe different things.
Are all marketplace plugins published by xAI?
No. The Composio plugin page names Composio as its publisher, links to the Cursor Marketplace, and provides a terms link.
Can the developer documentation be read one section at a time?
Yes. The documentation reader supports a whole page or one section as clean Markdown, which helps isolate a rule such as the requests-per-second and tokens-per-minute limits.
Start using xAI news article 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


