← 返回 Skills 市场
X Search 1.0.0
作者
GitHub2Cao
· GitHub ↗
· v1.0.0
· MIT-0
81
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install x-search1
功能描述
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...
安全使用建议
This skill appears to do what it says (search X via xAI/Grok) and only needs your XAI_API_KEY and python3. Before installing: 1) Confirm you trust the skill publisher — the package metadata includes two different ownerId values (registry vs _meta.json) which you may want to verify. 2) Note SKILL.md mentions storing the key in ~/.openclaw/openclaw.json, but the script only reads XAI_API_KEY from the environment — if you set the key only in the JSON config it may not be picked up. 3) Limit the API key's permissions if possible and check your x.ai console for usage after first runs. 4) You can review and run the included tests (scripts/test_search.py) locally to confirm behavior before giving the key to this environment. 5) If you need higher assurance, ask the publisher to reconcile the ownerId mismatch and confirm whether the skill intends to read ~/.openclaw/openclaw.json.
功能分析
Type: OpenClaw Skill
Name: x-search1
Version: 1.0.0
The x-search skill is a legitimate tool for querying the xAI Grok API to search X (Twitter) content. The implementation in `scripts/search.py` is well-structured, using only Python standard libraries and including robust input validation (regex for handles and dates) and a custom redirect handler for security. No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力评估
Purpose & Capability
Name/description, required binary (python3), and required env var (XAI_API_KEY) align with contacting the x.ai Responses (Grok) API to perform searches. The API endpoint (https://api.x.ai/v1/responses) and model usage in code match the stated purpose.
Instruction Scope
SKILL.md instructs only to set XAI_API_KEY and run the included script, which is what the code does. Minor inconsistency: SKILL.md suggests you can set skills."x-search".apiKey or skills."x-search".env.XAI_API_KEY in ~/.openclaw/openclaw.json, but the provided search.py reads only the XAI_API_KEY environment variable and does not read that config file. Also the _meta.json ownerId differs from the registry ownerId in the supplied metadata (two different owner IDs), which is a metadata mismatch worth checking with the publisher.
Install Mechanism
Install spec is a single Homebrew formula for python (standard). No downloads from unknown hosts and no archive extraction; code files are included in the skill package.
Credentials
The skill requests one credential (XAI_API_KEY) which is the expected credential for the xAI API. No other secrets or unrelated environment variables are required.
Persistence & Privilege
The skill does not request always:true and is user-invocable; it does not modify other skills or system configs. It runs on demand and only needs the environment variable to operate.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install x-search1 - 安装完成后,直接呼叫该 Skill 的名称或使用
/x-search1触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of X Search skill for searching X (Twitter) posts via xAI API.
- Search X posts in real-time using xAI Grok API.
- Supports filtering by handles, excluding handles, date range, and media (images/videos).
- Provides citations linking directly to original X posts.
- Easy setup with API key and Python 3 dependency.
- Detailed usage examples included for flexible search options.
元数据
常见问题
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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 81 次。
如何安装 X Search 1.0.0?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install x-search1」即可一键安装,无需额外配置。
X Search 1.0.0 是免费的吗?
是的,X Search 1.0.0 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
X Search 1.0.0 支持哪些平台?
X Search 1.0.0 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 X Search 1.0.0?
由 GitHub2Cao(@github2cao)开发并维护,当前版本 v1.0.0。
推荐 Skills