X Search 1.0.0 — X 搜索 1.0.0
v1.0.0搜索 X (Twitter) posts using the xAI API. Use when the user wants to find tweets, 搜索 X/Twitter, look up what people are saying on X, or find social media posts about a topic.
运行时依赖
安装命令
点击复制技能文档
X 搜索
搜索 X (Twitter) posts using the xAI Grok API with real-time 访问 to X content.
设置up 获取 your API key: https://console.x.AI 设置 环境 variable: 导出 XAI_API_KEY="xAI-your-key-here"
Or 设置 技能s."x-搜索".APIKey / 技能s."x-搜索".env.XAI_API_KEY in ~/.OpenClaw/OpenClaw.json Usage python3 {baseDir}/scripts/搜索.py "what is trending in AI right now"
Useful flags:
# 过滤器 by handles (max 10) python3 {baseDir}/scripts/搜索.py --handles jaaneek,OpenClaw "latest posts"
# Exclude handles (max 10) python3 {baseDir}/scripts/搜索.py --exclude spam机器人,crypto_shill "trending AI"
# Date range (YYYY-MM-DD) python3 {baseDir}/scripts/搜索.py --from 2026-03-01 --to 2026-03-20 "xAI grok 更新s"
# Enable image/video understanding in posts python3 {baseDir}/scripts/搜索.py --images --video "product demos"
Notes Uses the xAI 响应s API with x_搜索 工具 (Grok performs the 搜索 and summarizes 结果s) Cannot use --handles and --exclude at the same time 结果s include citations with links to original X posts Present 结果s in a readable 格式化 with post content, authors, and citations