🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

xAI

by @mvanhorn

Chat with Grok models via xAI API. Supports Grok-4, Grok-4.20, Grok-3, Grok-3-mini, vision, and real-time X search.

Versionv1.3.1
Installs11
βš™οΈ Configuration

Set your API key in the skill config:

# Via openclaw config
openclaw config set skills.entries.xai.apiKey "xai-YOUR-KEY"

Or environment variable

export XAI_API_KEY="xai-YOUR-KEY"

Get your API key at: https://console.x.ai

View on ClawHub
TERMINAL
clawhub install xai

πŸ§ͺ Use this skill with your agent

Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

πŸ” Can't find the right skill?

Search 60,000+ AI agent skills β€” free, no login needed.

Search Skills β†’