← Back to Skills Marketplace
X Search 1.0.0
by
PerfectWorldLtd
· GitHub ↗
· v1.0.0
· MIT-0
133
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install x-search-1-0-0
Description
Search X (Twitter) posts using the xAI API. Use when the user wants to find tweets, search X/Twitter, look up what people are saying on X, or find social med...
Usage Guidance
This skill appears to do what it claims: it sends your search query to the x.ai Responses API using the XAI_API_KEY you provide and prints a JSON summary of results and citations. Things to consider before installing:
- Provide only an XAI API key with appropriate scope/limits and treat it like any other secret; revoke it if you later suspect misuse. The script sends that key to api.x.ai as the Authorization header.
- SKILL.md mentions storing the key in ~/.openclaw/openclaw.json, but the script only reads the XAI_API_KEY environment variable — if you prefer the config file workflow, the code would need modification.
- The included code is small and readable; if you are comfortable reading it, you can verify there are no hidden network endpoints or obfuscated logic.
- The package ownerId in _meta.json differs from the registry owner ID in the provided metadata; this mismatch is not inherently dangerous but worth noting (it may indicate the package was republished or edited).
If any of the above concerns matter for your use case, review or run the script locally with a limited-scope key before adding it to an agent's skillset.
Capability Analysis
Type: OpenClaw Skill
Name: x-search-1-0-0
Version: 1.0.0
The skill bundle provides a legitimate interface for searching X (Twitter) via the xAI API. The core script (scripts/search.py) uses standard Python libraries to perform validated API requests, includes security measures like blocking redirects, and lacks any indicators of data exfiltration, malicious execution, or prompt injection.
Capability Assessment
Purpose & Capability
Name/description match the implemented behavior: the Python script uses the xAI Responses API (x_search tool) to search X content. Required binary (python3) and primaryEnv (XAI_API_KEY) are appropriate and necessary for this functionality.
Instruction Scope
SKILL.md instructs the user to set XAI_API_KEY and run the included script, which is accurate. One minor inconsistency: SKILL.md also suggests storing the key in ~/.openclaw/openclaw.json (skills."x-search".apiKey), but the shipped script only reads XAI_API_KEY from the environment and does not read that config file. Otherwise the runtime instructions are scoped to the stated purpose and do not request access to unrelated files or credentials.
Install Mechanism
Install spec is a single Homebrew formula to install Python (formula: python) which is a well-known package source and proportionate to a Python-based skill. There are no downloads from arbitrary URLs or archive extraction steps.
Credentials
Only a single environment variable is required: XAI_API_KEY (declared as primary credential). That aligns with the skill's need to authenticate to the xAI API. The script does not access other environment variables or unrelated credentials.
Persistence & Privilege
The skill is not marked always:true and does not request system-wide configuration changes. It runs as an on-demand Python script and does not modify other skills or system settings.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install x-search-1-0-0 - After installation, invoke the skill by name or use
/x-search-1-0-0 - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
x-search 1.0.0 – Initial Release
- Search X (Twitter) posts using the xAI Grok API with real-time access.
- Supports filtering by handles, excluding handles, date ranges, and multimedia content.
- Results include citations and links to original X posts.
- Simple API key setup and command-line usage instructions provided.
- Presents results with post content, authors, and citations in a readable format.
Metadata
Frequently Asked Questions
What is X Search 1.0.0?
Search X (Twitter) posts using the xAI API. Use when the user wants to find tweets, search X/Twitter, look up what people are saying on X, or find social med... It is an AI Agent Skill for Claude Code / OpenClaw, with 133 downloads so far.
How do I install X Search 1.0.0?
Run "/install x-search-1-0-0" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is X Search 1.0.0 free?
Yes, X Search 1.0.0 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does X Search 1.0.0 support?
X Search 1.0.0 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created X Search 1.0.0?
It is built and maintained by PerfectWorldLtd (@perfectworldltd); the current version is v1.0.0.
More Skills