← 返回 Skills 市场
oomol

xAI

作者 OOMOL · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
35
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install oo-x-ai
功能描述
xAI (x.ai). Use this skill for ANY xAI request — reading, creating, and updating data. Whenever a task involves xAI, use this skill instead of calling the AP...
使用说明 (SKILL.md)

xAI

Operate xAI through your OOMOL-connected account. This skill calls the x_ai connector with the oo CLI; OOMOL injects credentials server-side, so you never handle raw tokens.

Category: AI, Developer Tools. Exposes 3 action(s).

Running an action

Assume the user has already installed the oo CLI, signed in, and connected xAI. Do not run oo auth login or open the connection URL proactively — just run the action. Fall back to First-time setup only when a command actually fails with an auth or connection error.

1. Inspect the contract to get the authoritative input/output schema before building a payload:

oo connector schema "x_ai" --action "\x3Caction_name>"

2. Run the action with a JSON payload that matches the input schema:

oo connector run "x_ai" --action "\x3Caction_name>" --data '\x3Cjson>' --json
  • --data takes a JSON object string or @path/to/file.json; omit it to send {}.
  • The response is { "data": ..., "meta": { "executionId": "..." } }; the execution id lives under meta.executionId.

Each action below links to a reference file with its purpose and exact commands. Read the linked file, then fetch the live schema with oo connector schema before constructing --data.

Available actions

Safety

  • Read actions (get / list / search) are safe to run directly.
  • Create, update, send, or post actions change xAI state — confirm the exact payload and effect with the user before running.
  • Delete or remove actions are destructive — always confirm the target and get explicit approval first.

First-time setup

These are one-time steps — do not repeat them on every call. Run a step only when a command fails for the matching reason.

  • oo: command not found — install the oo CLI (other platforms: \x3Chttps://cli.oomol.com/install-guide.md>):

    curl -fsSL https://cli.oomol.com/install.sh | bash    # macOS / Linux
    
    irm https://cli.oomol.com/install.ps1 | iex           # Windows PowerShell
    
  • Not signed in / authentication error — sign in to your OOMOL account once:

    oo auth login
    
  • scope_missing / credential_expired / app_not_ready / app_not_found — xAI is not connected, or the connection expired or lacks a scope. Connect once (auth type: API key) at:

    https://console.oomol.com/app-connections?provider=x_ai
    
  • HTTP 402 / OOMOL_INSUFFICIENT_CREDIT — billing stop. Recharge at https://console.oomol.com/billing/token-recharge before retrying.

Resources

安全使用建议
Only install this if you trust OOMOL and are comfortable connecting xAI through an OOMOL-managed account. Prefer installing the `oo` CLI from verified official documentation, review any installer before running it, and confirm payloads before chat-completion calls because they may use account credentials or billing.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The skill clearly wraps xAI through OOMOL's `x_ai` connector and exposes model listing, model lookup, and non-streaming chat completion; credentials are disclosed as server-side through OOMOL.
Instruction Scope
The description says to use the skill for ANY xAI request, including updating data, while the artifacts only define three actions and no update action. The write action does require user confirmation, which partially mitigates this.
Install Mechanism
First-time setup includes `curl ... | bash` and PowerShell `irm ... | iex` installer commands without checksum, signature verification, or an explicit confirmation step before local code execution.
Credentials
The declared runtime tool scope is limited to `Bash(oo *)`, which is proportionate for an OOMOL connector skill, but the setup instructions step outside that narrow command surface if followed.
Persistence & Privilege
The skill relies on persistent OOMOL sign-in and an xAI app connection, which is disclosed and expected for the connector; no hidden persistence, background worker, or local data indexing was found.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install oo-x-ai
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /oo-x-ai 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Adds the `oo-x-ai` skill for operating xAI through an OOMOL-connected account via the `x_ai` connector. - Supports creating non-streaming, OpenAI-compatible xAI chat completions. - Provides model discovery with actions to list available models and fetch metadata for a specific model. - Uses live `oo connector schema` inspection before action execution so payloads match current connector contracts. - Keeps credentials server-side through OOMOL, avoiding direct raw token handling. Source: `oomol-lab/skills@e3717ff`
元数据
Slug oo-x-ai
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

xAI 是什么?

xAI (x.ai). Use this skill for ANY xAI request — reading, creating, and updating data. Whenever a task involves xAI, use this skill instead of calling the AP... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 35 次。

如何安装 xAI?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install oo-x-ai」即可一键安装,无需额外配置。

xAI 是免费的吗?

是的,xAI 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

xAI 支持哪些平台?

xAI 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 xAI?

由 OOMOL(@oomol)开发并维护,当前版本 v1.0.0。

💬 留言讨论