Agent skill · software engineering · sundial-org

xai

Chat with Grok models via xAI API. Supports Grok-3, Grok-3-mini, vision, and more.

Why this skill is useful

Adds executable scripts for interacting with Grok models and specific commands for image analysis that the AI wouldn't reliably generate on its own.

What it needs

Requires node installed locally. Requires x.ai account access. About 1k tokens when loaded. Last updated 2026-03-07. 639 stars on the source repository.

What this skill does

xAI / Grok Chat with xAI's Grok models. Supports text and vision. Setup Set your API key in the skill config: Get your API key at: https://console.x.ai Commands Chat with Grok Use a specific model Vision (analyze images) 🔍 Search X/Twitter (Real-time!) Uses xAI Responses API with xsearch tool for real X posts with citations. List available models Available Models grok-3 - Most capable, best for complex tasks grok-3-mini - Fast and efficient grok-3-fast - Optimized for speed grok-2-vision-1212 - Vision model for image understanding Example Usage User: "Ask Grok what it thinks about AI safety" Action: Run chat.js with the prompt User: "Use Grok to analyze this image" (with attached image) Action: Run chat.js with --image flag User: "What Grok models are available?" Action: Run models.js API Reference xAI API Docs: https://docs.x.ai/api Environment Variables XAIAPIKEY - Your xAI API key (required) XAIMODEL - Default model (optional, defaults to grok-3)

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills sundial-org/xai

View the source on GitHub

Browse the @skills marketplace