Matt Van Horn

xAI

AI 智慧體v1.3.1
作者:Matt Van Horn更新於 2026-05-11共 10 個版本 · 最新版本釋出於 2026-03-07xai@clawhub_mvanhorn/xai
上下文管理工具呼叫

據 AlphaMoat 統計,截至 2026-09,xAI 累計下載 4,156 次、獲 5 個星標,在全部 5,078 個 AI 技能中排名第 2,418 位,在「AI 智慧體」分類(969 個)中排名第 473 位。

累計安裝
305
累計下載
4156
星標
5
全站排名
#2,418
全站前 48% · 「AI 智慧體」前 49%
平台累計安裝累計下載星標評論
ClawHub ↗12838155-
SkillHub ↗30541565—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

Node.js 指令碼使用 xAI API 金鑰處理提示、圖片、帶引文 X 搜尋及模型列表。文件的模型宣告不同,應檢查可用性而非假定固定列表。僅處理明確交給 xAI 的請求和獲准輸入,明確憑據來源。

資料釋出於 2026-10-27

可以用來做什麼

  • 準備明確的 Grok 請求

什麼時候用

  • 使用者要求 xAI 處理時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

檢查可用模型,準備獲准查詢,不暴露 API 金鑰。

月度資料趨勢

累計下載4156
2756350842602026-03 · 累計下載 28602026-05 · 累計下載 32982026-06 · 累計下載 34362026-07 · 累計下載 36752026-08 · 累計下載 37992026-09 · 累計下載 415626-0326-09
星標5
4562026-03 · 星標 52026-05 · 星標 52026-06 · 星標 52026-07 · 星標 52026-08 · 星標 52026-09 · 星標 526-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-094156—5
2026-083799+3.4%5
2026-073675+7.0%5
2026-063436+4.2%5
2026-053298—5
2026-032860—5

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

2.2 KB · ClawHub v1.3.1
---
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
展開全部(共 103 行)
  - 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)

「AI 智慧體」分類下的熱門技能

Matt Van Horn 的其他技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。