Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

x-search-grokx 搜索 grok

Agent Skill

x-search-grok 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,791

周安装

114

GitHub Stars

公开资料未说明

下载量

903
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:x-search-grok(x 搜索 grok)
来源仓库:https://github.com/wangyue55/x-search-grok
安装命令:
openclaw skills install x-search-grok
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install x-search-grok

简介

使用 Grok API 搜索 X (Twitter) 帐户帖子、热门主题或主题讨论。输出黑曜石就绪的 Markdown。

SKILL.md

name
x-search
description
Search X (Twitter) for account posts, trending topics, or topic discussions using Grok API. Outputs Obsidian-ready Markdown.
trigger
Use when user wants to search X or Twitter, check someone's posts on X, find trending topics, or search discussions. Triggers include "x search", "search X", "/x-search", "twitter search", "X上搜索", "推特搜索", "搜索X", mentions of checking @accounts on X.
user-invocable
true
metadata
openclaw
version
1.0.0
author
wangyue55
license
MIT
source
https://github.com/wangyue55/x-search-skill
requires
install
pip
requests pyyaml

X Search

Search X (Twitter) via Grok API. Outputs Obsidian-ready Markdown.

Prerequisites

Ensure XAI_API_KEY is set:

export XAI_API_KEY=your_key_here

Get your API key at x.ai/api (xAI developer console).

Default model is grok-4-1-fast-reasoning. To override:

export XAI_MODEL=grok-4

Install dependency if needed:

pip install requests

Invocation

Slash Command

/x-search account @elonmusk --time 24h
/x-search account @user1 @user2 --time 48h
/x-search account @sama --count 10
/x-search --lang en account @elonmusk --count 5
/x-search trends "#AI" "#LLM"
/x-search --lang en trends "#AI" "#crypto"
/x-search topic "Claude MCP"
/x-search --lang ja topic "AI規制"

--lang controls the language of summaries, keyword explanations, and translations (default: zh). When --lang en, the translation field is omitted since the original is already in English.

--output saves the result to a Markdown file (stdout is preserved):

  • Pass a directory → auto-named file: karpathy-2026-03-22.md, trends-AI-2026-03-22.md, etc.
  • Pass a full path → saved directly to that path
  • Same-day runs overwrite the existing file (no duplicate accumulation)

--progress-only suppresses full Markdown on stdout — prints one summary line instead. Use with --output in automated pipelines (watchlist, cron) to avoid injecting large outputs into the agent context.

Natural Language

  • "Search X for @elonmusk's posts in the last 24 hours"
  • "X上搜索@sama和@elonmusk最新的10条推文"
  • "Find trending posts about #AI on X in English"
  • "X上关于Claude MCP的热点讨论"

How to Run

Find the script at ~/.claude/skills/x-search/x_search.py (or the symlinked path).

# Account mode — by time range
python3 ~/.claude/skills/x-search/x_search.py account @elonmusk --time 24h

# Account mode — by post count
python3 ~/.claude/skills/x-search/x_search.py account @user1 @user2 --count 10

# Trends mode — top 10 posts per trend
python3 ~/.claude/skills/x-search/x_search.py trends "#AI" "#LLM"

# Topic mode — hot discussions
python3 ~/.claude/skills/x-search/x_search.py topic "Claude MCP"

Output

Results are printed as Obsidian-ready Markdown.

Context efficiency: When results are large (multiple accounts, long time ranges) or when --output is provided, save to file and show only a brief summary to the user (e.g., "Found 12 posts from @karpathy, saved to ~/obsidian/X/karpathy-2026-03-22.md"). Only present the full content inline when the result is short or the user explicitly asks to see it.

For account mode, after showing results (or summary) ask:

"是否保存到文件?(例如:~/obsidian/X/@elonmusk-2026-03-22.md)"

If the user provides a path, run again with --output <path>.

Watchlist

Run all your monitored accounts, trends, and topics in one command via watchlist.py.

Setup

Copy the sample config and edit it:

cp ~/.claude/skills/x-search/watchlist.yaml ~/.x-search.yaml
# ~/.x-search.yaml
accounts:
  - "@karpathy"
  - "@elonmusk"

trends:
  - "#AI"
  - "#LLM"

topics:
  - "Claude MCP"
  - "crude oil price"
Note: all accounts share the same execution parameters. For per-account customization, call x_search.py directly.

Usage

# Run everything
python3 ~/.claude/skills/x-search/watchlist.py --time 24h --lang zh --output ~/obsidian/X/

# Run one section only
python3 ~/.claude/skills/x-search/watchlist.py --only accounts --time 24h --output ~/obsidian/X/

# Custom config path
python3 ~/.claude/skills/x-search/watchlist.py --config ~/work-watchlist.yaml --time 24h

Scheduled Use (OpenClaw)

See OPENCLAW.md for full scheduling documentation — schedule formats, cron scenarios, delivery channels, and job management.

Error Handling

  • XAI_API_KEY not set: Tell the user to run export XAI_API_KEY=your_key
  • No results: Inform the user and suggest broadening the time range or checking the account name
  • API error: Show the error message and suggest checking the API key validity

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

72.17%
按下载量换算652

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills