← 返回 Skills 市场
wangyue55

X Search (Grok API)

作者 wangyue55 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
95
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install x-search-grok
功能描述
Search X (Twitter) for account posts, trending topics, or topic discussions using Grok API. Outputs Obsidian-ready Markdown.
安全使用建议
This skill mostly does what it says: it calls api.x.ai to produce structured summaries of X/Twitter content and saves Obsidian-friendly Markdown. Before installing: 1) Confirm the XAI API key requirement — registry metadata omitted XAI_API_KEY but the code will exit if it is not set. 2) Verify the SKILL.md GitHub source (https://github.com/wangyue55/x-search-skill) and review the full code if you don't trust it. 3) Only provide XAI_API_KEY (and optionally XAI_MODEL) — do not pass other secrets. 4) Be cautious when scheduling runs: scheduled jobs will have access to any environment variables available to the scheduler, so avoid exposing other credentials. 5) If you need stronger assurance, ask the author to correct the registry metadata to declare required env vars and pip deps, or run the scripts in an isolated sandbox first.
功能分析
Type: OpenClaw Skill Name: x-search-grok Version: 1.0.0 The x-search-grok skill bundle is a legitimate tool designed to search X (Twitter) via the xAI Grok API and format the results into Obsidian-ready Markdown. The core logic in x_search.py and watchlist.py is well-implemented, using safe practices such as yaml.safe_load and list-based subprocess.run to prevent injection vulnerabilities. The skill's behavior, including file system access for saving reports and network access to the official x.ai API, is fully consistent with its stated purpose and documentation (SKILL.md, OPENCLAW.md).
能力评估
Purpose & Capability
The code and SKILL.md are consistent with the stated purpose: they call the xAI/Grok responses endpoint to produce structured X/Twitter search summaries and save them as Markdown. However, the registry metadata claims no required env vars or installs while the SKILL.md and code clearly require XAI_API_KEY (and optionally XAI_MODEL) and Python packages (requests, pyyaml). That mismatch between declared metadata and actual requirements is an incoherence.
Instruction Scope
Runtime instructions and scripts stay within the stated purpose: they build prompts for the Grok API, parse structured output, and optionally save results to user-specified files. The watchlist script runs the local search script via subprocess; files are written only to paths the user supplies or their home directories. There are no instructions to read unrelated system files, other credentials, or to transmit data to unexpected endpoints beyond api.x.ai.
Install Mechanism
This is effectively an instruction-only skill (no complex installer). The SKILL.md recommends installing 'requests' and 'pyyaml' via pip; there is no registry install specification. The included code uses only standard Python plus requests/pyyaml and does not download arbitrary executables or archives. The mismatch between declared install spec (none) and SKILL.md is the main issue, but the install mechanism itself is low-risk.
Credentials
The code requires a single service credential (XAI_API_KEY) and optionally XAI_MODEL; these are proportional to calling the x.ai API. The problem: the registry metadata reported 'Required env vars: none' while SKILL.md and code require XAI_API_KEY. No other unrelated credentials are requested. Ensure XAI_API_KEY is the only secret you provide and that you trust the x.ai endpoint.
Persistence & Privilege
The skill does not request 'always: true' and does not modify other skills or system-wide configs. It writes output files to user-specified paths and can be scheduled via OpenClaw cron as documented; that is expected for a monitoring/watchlist tool. Scheduling does increase blast radius if you place credentials in environment variables accessible to scheduled jobs — follow least privilege practices.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install x-search-grok
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /x-search-grok 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Search X accounts, trends, and topics via xAI Grok API. Outputs Obsidian-ready Markdown with translation, summary, and keywords.
元数据
Slug x-search-grok
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

X Search (Grok API) 是什么?

Search X (Twitter) for account posts, trending topics, or topic discussions using Grok API. Outputs Obsidian-ready Markdown. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 95 次。

如何安装 X Search (Grok API)?

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

X Search (Grok API) 是免费的吗?

是的,X Search (Grok API) 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

X Search (Grok API) 支持哪些平台?

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

谁开发了 X Search (Grok API)?

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

💬 留言讨论