xai
Chat with Grok models via xAI API. Supports Grok-3, Grok-3-mini, vision, and more.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/blueberrywoodsym/x-aiWhat This Skill Does
The xAI skill integrates OpenClaw with the Grok model family, providing high-performance conversational AI and real-time social intelligence. It enables the agent to leverage advanced reasoning, image analysis via vision models, and live data retrieval from X (formerly Twitter) using the official xAI API. By utilizing this skill, your agent gains access to the 'grok-3' series, which is recognized for its sophisticated logical capabilities and real-time information processing. It essentially acts as a bridge between the agent's workspace and the xAI ecosystem, handling both standard text interactions and complex multi-modal inputs without persistent server-side storage.
Installation
To enable this skill, run the installation command: clawhub install openclaw/skills/skills/blueberrywoodsym/x-ai. Once installed, you must obtain your API key from the xAI console at https://console.x.ai. After securing your key, add it to your environment variables to ensure the agent can authenticate with the API:
export XAI_API_KEY="xai-YOUR-KEY"
For persistent configuration, add this line to your shell profile. You may also set an optional XAI_MODEL environment variable to define the default model (e.g., grok-3-mini) for all operations.
Use Cases
This skill is perfect for users who need to blend LLM reasoning with real-world context. Use cases include performing market research by searching for specific hashtags or user handles on X, summarizing images for visual documentation, and drafting high-quality content using the most capable Grok models. It is particularly useful for developers or analysts who need current, live updates on industry news that traditional models might miss.
Example Prompts
- "Grok, what is the latest community consensus on the new React framework updates based on search results from the last 7 days?"
- "Analyze this product mockup image and tell me if the UI/UX layout adheres to modern accessibility guidelines."
- "Summarize the current technical sentiment regarding the @remotion_dev handle and provide a bulleted list of recent key announcements."
Tips & Limitations
To maintain speed, use grok-3-mini for routine tasks and save grok-3 for deep analytical prompts. Note that this skill does not store conversation history; each session is ephemeral, meaning you should copy essential outputs immediately. The file-read access is strictly scoped to image processing tasks, preventing unauthorized data exfiltration. Always audit the scripts/ folder before deployment if your security policy requires verifying local tool execution behavior.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-blueberrywoodsym-x-ai": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-read, external-api
Related Skills
search-x
Search X/Twitter in real-time using Grok or X API. Find tweets, trends, and discussions with citations.
tesla
Control your Tesla vehicles - lock/unlock, climate, location, charge status, and more. Supports multiple vehicles.
Read how to install libaries before install. Write viral, persuasive, engaging tweets and threads. Uses web research to find viral examples in your niche, then models writing based on proven formulas and X algorithm optimization. Use when creating tweets, threads, or X content strategy.