← Back to Skills Marketplace
xAI Search
by
aydencook03
· GitHub ↗
· v1.0.4
3013
Downloads
1
Stars
9
Active Installs
5
Versions
Install in OpenClaw
/install xai-search
Description
Search X/Twitter and the web in real-time using xAI's Grok API with agentic search tools.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install xai-search - After installation, invoke the skill by name or use
/xai-search - Provide required inputs per the skill's parameter spec and get structured output
Version History
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
Metadata
Frequently Asked Questions
What is xAI Search?
Search X/Twitter and the web in real-time using xAI's Grok API with agentic search tools. It is an AI Agent Skill for Claude Code / OpenClaw, with 3013 downloads so far.
How do I install xAI Search?
Run "/install xai-search" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is xAI Search free?
Yes, xAI Search is completely free (open-source). You can download, install and use it at no cost.
Which platforms does xAI Search support?
xAI Search is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created xAI Search?
It is built and maintained by aydencook03 (@aydencook03); the current version is v1.0.4.
More Skills