blueberrywoodsym

xAI / Grok

AI 智能体v1.0.2
作者:blueberrywoodsym更新于 2026-05-17共 3 个版本 · 最新版本发布于 2026-02-21x-ai@clawhub_blueberrywoodsym/x-ai
工具调用

据 AlphaMoat 统计,截至 2026-10,xAI / Grok 累计下载 32,313 次、获 17 个星标,按累计下载量在本次参与排名的 10,914 个 AI 技能中排名第 838 位,在「AI 智能体」分类(1,632 个)中排名第 132 位。

列表默认按累计下载量排序,也可按星标排序;详情页排名按累计下载量计算。

累计下载
3.2万
星标
17
全站下载量排名
#838
全站前 8% · 「AI 智能体」前 9%
平台累计下载星标评论
ClawHub ↗1.3万153
SkillHub ↗3.2万17—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

支持文本问答、图片理解与 X 平台检索,可指定模型或列出可用模型;需要 XAI_API_KEY,默认模型为 grok-3。源文声明它不读取任意本地文件、不保存会话历史,且不能被 agent 自主调用。提示词和选定的图片会发送给 xAI。避免提交敏感内容,只使用用户亲自选择的图片文件,不要通过符号链接或不确定的路径上传文件。

资料发布于 2026-10-27

可以用来做什么

  • 就某个问题向 Grok 提问并取回回答
  • 让模型分析一张本地图片的内容

什么时候用

  • 需要 Grok 系列模型做文本或视觉问答时
  • 想检索 X 上的实时讨论时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

帮我问 Grok 对这条技术路线怎么看
分析这张截图的界面问题并给出建议

月度数据趋势

累计下载3.2万
1.4万2.4万3.4万2026-03 · 累计下载 1.5万2026-05 · 累计下载 1.8万2026-06 · 累计下载 1.8万2026-07 · 累计下载 1.9万2026-08 · 累计下载 1.9万2026-09 · 累计下载 2.0万2026-10 · 累计下载 3.2万26-0326-0926-10
星标17
1516172026-03 · 星标 152026-05 · 星标 162026-06 · 星标 172026-07 · 星标 172026-08 · 星标 172026-09 · 星标 172026-10 · 星标 1726-0326-0926-10

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-103.2万—17
2026-092.0万—17
2026-081.9万+1.0%17
2026-071.9万+2.8%17
2026-061.8万+2.8%17
2026-051.8万—16
2026-031.5万—15

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

2.8 KB · ClawHub v1.0.2
---
name: xai
description: Chat with Grok models via xAI API. Supports Grok-3, Grok-3-mini, vision, and more.
homepage: https://docs.x.ai
user-invocable: true
disable-model-invocation: true
triggers:
  - grok
  - xai
  - ask grok
展开全部(共 109 行)
metadata:
  clawdbot:
    emoji: "🤖"
    primaryEnv: XAI_API_KEY
    requires:
      bins: [node]
      env: [XAI_API_KEY]
---

# xAI / Grok

Chat with xAI's Grok models. Supports text and vision.

## Setup

[INSTALLATION AND USE INSTRUCTIONS](https://claude.ai/public/artifacts/5bb1d4ca-68ef-4d74-900c-d14fefa5c094)

```bash
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)

## Security & Permissions

**What this skill does:**
- Sends chat prompts to xAI's API at `api.x.ai`
- Vision mode sends images to xAI for analysis
- `scripts/models.js` lists available models (read-only)

**What this skill does NOT do:**
- Does not read arbitrary local files — `--image` only accepts files with image extensions (`.jpg`, `.jpeg`, `.png`, `.gif`, `.webp`)
- Does not read config files or access the filesystem beyond the specified image path
- Does not store conversation history or logs
- Does not send credentials to any endpoint other than `api.x.ai`
- Cannot be invoked autonomously by the agent (`disable-model-invocation: true`)

**Bundled scripts:** `scripts/chat.js` (chat), `scripts/models.js` (list models), `scripts/search-x.js` (X search)

Review scripts before first use to verify behavior.

「AI 智能体」分类下的热门技能

数据月份:2026-10 · 下载/星标数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。