← 返回 Skills 市场
xAI Search
作者
aydencook03
· GitHub ↗
· v1.0.4
3013
总下载
1
收藏
9
当前安装
5
版本数
在 OpenClaw 中安装
/install xai-search
功能描述
Search X/Twitter and the web in real-time using xAI's Grok API with agentic search tools.
安全使用建议
This skill's code is short and does what the description says (calls xAI/Grok via xai-sdk), but the registry metadata failing to declare the required XAI_API_KEY is a transparency issue. Before installing or providing an API key: 1) Verify the skill's provenance (homepage/author) — the source is unknown. 2) Inspect the xai-sdk package on PyPI (or its repo) to ensure it's the official client. 3) Only provide an XAI API key with minimal permissions and consider creating a scoped/test key. 4) Install and run the script in an isolated environment (virtualenv, container) if you want to reduce risk. 5) Ask the publisher/registry to correct the metadata so required credentials are declared. If you can't verify the package origin, treat this as higher risk and avoid installing.
功能分析
Type: OpenClaw Skill
Name: xai-search
Version: 1.0.4
The skill is designed to interact with the xAI Grok API for web and X/Twitter search. The `SKILL.md` provides clear instructions and `curl` examples for using the xAI API, and the `scripts/xai-search.py` script implements this functionality using the official `xai-sdk`. The script correctly retrieves the `XAI_API_KEY` from environment variables and uses it to make legitimate API calls to `api.x.ai`. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, prompt injection attempts against the agent, or obfuscation. All actions are aligned with the stated purpose.
能力评估
Purpose & Capability
Name/description match the code and SKILL.md: the script and instructions call xAI/Grok web_search and x_search. However, the registry metadata lists no required environment variables or primary credential while SKILL.md and the script both require XAI_API_KEY. That metadata omission is an inconsistency.
Instruction Scope
Runtime instructions and the helper script only instruct use of the xai-sdk and the XAI API key, create chat requests, stream responses, and print citations. They do not read unrelated files, other env vars, or exfiltrate data to unexpected endpoints.
Install Mechanism
No formal install spec is provided (instruction-only with a helper script). SKILL.md asks users to pip install xai-sdk. Using pip is common, but installing third-party packages has supply-chain risk—verify the legitimacy of the xai-sdk package on PyPI or prefer installing in an isolated environment.
Credentials
The only needed secret is XAI_API_KEY, which is proportionate to contacting xAI. The concern is that the skill registry data did not declare this required API key (registry shows no required env vars/primary credential), which is an unexpected mismatch and reduces transparency about what secrets the skill needs.
Persistence & Privilege
The skill does not request always:true, does not modify other skills or system-wide settings, and is user-invocable only. It runs as a normal, non-persistent helper script.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install xai-search - 安装完成后,直接呼叫该 Skill 的名称或使用
/xai-search触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.4
Fixed script extension for ClawdHub packaging (.py)
v1.0.3
Moved script to scripts/ folder for proper packaging
v1.0.2
Made script portable (no longer requires local venv)
v1.0.1
Include helper script, fix docs
v1.0.0
Initial release: Search X/Twitter and web using xAI Grok API
元数据
常见问题
xAI Search 是什么?
Search X/Twitter and the web in real-time using xAI's Grok API with agentic search tools. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 3013 次。
如何安装 xAI Search?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install xai-search」即可一键安装,无需额外配置。
xAI Search 是免费的吗?
是的,xAI Search 完全免费(开源免费),可自由下载、安装和使用。
xAI Search 支持哪些平台?
xAI Search 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 xAI Search?
由 aydencook03(@aydencook03)开发并维护,当前版本 v1.0.4。
推荐 Skills