據 AlphaMoat 統計,截至 2026-09,xAI 累計下載 4,156 次、獲 5 個星標,在全部 5,078 個 AI 技能中排名第 2,418 位,在「AI 智慧體」分類(969 個)中排名第 473 位。
| 平台 | 累計安裝 | 累計下載 | 星標 | 評論 |
|---|---|---|---|---|
| ClawHub ↗ | 128 | 3815 | 5 | - |
| SkillHub ↗ | 305 | 4156 | 5 | — |
各平台的計數口徑不同,統計時間不一致。
Node.js 指令碼使用 xAI API 金鑰處理提示、圖片、帶引文 X 搜尋及模型列表。文件的模型宣告不同,應檢查可用性而非假定固定列表。僅處理明確交給 xAI 的請求和獲准輸入,明確憑據來源。
資料釋出於 2026-10-27
以下是根據技能文件生成的示例,不代表實際執行結果。
2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。
| 月份 | 累計下載 | 環比 | 星標 |
|---|---|---|---|
| 2026-09 | 4156 | — | 5 |
| 2026-08 | 3799 | +3.4% | 5 |
| 2026-07 | 3675 | +7.0% | 5 |
| 2026-06 | 3436 | +4.2% | 5 |
| 2026-05 | 3298 | — | 5 |
| 2026-03 | 2860 | — | 5 |
以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。
--- name: xai version: "1.1.0" description: Chat with Grok models via xAI API. Supports Grok-4, Grok-4.20, Grok-3, Grok-3-mini, vision, and real-time X search. author: mvanhorn license: MIT repository: https://github.com/mvanhorn/clawdbot-skill-xai homepage: https://docs.x.ai triggers: - grok
- xai
- ask grok
metadata:
openclaw:
emoji: "🤖"
requires:
env:
- XAI_API_KEY
primaryEnv: XAI_API_KEY
tags:
- xai
- grok
- llm
- vision
- x-search
---
# xAI / Grok
Chat with xAI's Grok models. Supports text and vision.
## Setup
Set your API key in the skill config:
```bash
# 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
## Commands
### Chat with Grok
```bash
node {baseDir}/scripts/chat.js "What is the meaning of life?"
```
### Use a specific model
```bash
node {baseDir}/scripts/chat.js --model grok-3-mini "Quick question: 2+2?"
```
### Vision (analyze images)
```bash
node {baseDir}/scripts/chat.js --image /path/to/image.jpg "What's in this image?"
```
### 🔍 Search X/Twitter (Real-time!)
```bash
node {baseDir}/scripts/search-x.js "Remotion video framework"
node {baseDir}/scripts/search-x.js --days 7 "Claude AI tips"
node {baseDir}/scripts/search-x.js --handles @remotion_dev "updates"
```
Uses xAI Responses API with x_search tool for real X posts with citations.
### List available models
```bash
node {baseDir}/scripts/models.js
```
## 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
- `XAI_API_KEY` - Your xAI API key (required)
- `XAI_MODEL` - Default model (optional, defaults to grok-3)
將開發過程中的經驗、錯誤與修正記錄為 Markdown 檔案,供日後重用並提升為工作區記憶。
用自然語言描述需求,在本機與遠端技能市場尋找技能並取得推薦。
給 AI agent 用的瀏覽器自動化命令列技能。
將使用者明確糾正與自我檢視整理成分層記憶,並依使用情況升級或封存。
在安裝第三方技能之前,按清單審查來源、許可權與危險模式的技能。
將代理記憶與跨技能狀態整理成具型別與約束的知識圖譜。
規劃 AI 代理主動跟進、工作記憶與回顧流程的工作區設定指南。
指導如何建立與更新有效 Claude 技能的寫作指南。
資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。