据 AlphaMoat 统计,截至 2026-09,xAI 累计下载 4,156 次、获 5 个星标,在全部 5,078 个 AI 技能中排名第 2,418 位,在「AI 智能体」分类(969 个)中排名第 473 位。
| 平台 | 累计安装 | 累计下载 | 星标 | 评论 |
|---|---|---|---|---|
| ClawHub ↗ | 128 | 3,815 | 5 | - |
| SkillHub ↗ | 305 | 4,156 | 5 | — |
各平台的计数口径不同,统计时间不一致。
Node.js 脚本使用 xAI API 密钥处理提示、图片、带引文 X 搜索及模型列表。文档的模型声明不同,应检查可用性而非假定固定列表。仅处理明确交给 xAI 的请求和获准输入,明确凭据来源。
资料发布于 2026-10-27
以下是根据技能文档生成的示例,不代表实际运行结果。
2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。
| 月份 | 累计下载 | 环比 | 星标 |
|---|---|---|---|
| 2026-09 | 4,156 | — | 5 |
| 2026-08 | 3,799 | +3.4% | 5 |
| 2026-07 | 3,675 | +7.0% | 5 |
| 2026-06 | 3,436 | +4.2% | 5 |
| 2026-05 | 3,298 | — | 5 |
| 2026-03 | 2,860 | — | 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 用的浏览器自动化命令行技能。
把用户纠正与自我复盘沉淀成分层记忆、并按使用情况升降级的技能。
在安装第三方技能之前,按清单审查来源、权限与危险模式的技能。
把 agent 的记忆与跨技能状态存成带类型和约束的知识图谱的技能。
一份为 AI 代理规划主动跟进、工作记忆与复盘流程的工作区配置指南。
指导如何创建与更新有效 Claude 技能的写作指南。
数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。