xai
Installation
SKILL.md
xAI / Grok
Full xAI platform skill. Chat, vision, image generation, video generation, text-to-speech, Responses API with server-side tools, Collections/RAG, and batch processing.
Not for X/Twitter search. For searching posts on X, use the
/search-xskill instead. This skill is for direct conversations with Grok and multimodal generation.
Setup
Set your API key:
# Environment variable (recommended)
export XAI_API_KEY="xai-YOUR-KEY"
# Or via OpenClaw config
openclaw config set skills.entries.xai.apiKey "xai-YOUR-KEY"
Get your API key at: https://console.x.ai