← 返回 Skills 市场
Grok Twitter Query
作者
danetteceola
· GitHub ↗
· v1.0.0
363
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install grok-twitter
功能描述
Query and summarize Twitter/X information using Grok AI. Use when user asks about Twitter trends, tweets, X platform content, or needs Twitter information su...
使用说明 (SKILL.md)
Grok Twitter Query
Use Grok AI to query and summarize Twitter/X information.
Setup
Set required environment variables:
export GROK_API_KEY="your-api-key-here"
export GROK_API_URL="https://api.cheaprouter.club/v1/chat/completions" # optional
export GROK_MODEL="grok-4.20-beta" # optional
Usage
Run the query script with your Twitter-related prompt:
python3 scripts/query_grok.py "Summarize recent tweets about [topic]"
Examples
# Get trending topics
python3 scripts/query_grok.py "What are the top trending topics on Twitter right now?"
# Summarize tweets about a topic
python3 scripts/query_grok.py "Summarize recent tweets about AI developments"
# Get information about a specific user
python3 scripts/query_grok.py "What has @elonmusk been tweeting about recently?"
Notes
- Grok has real-time access to Twitter/X data
- Best for current events and trending information
- Responses are generated by Grok AI model
安全使用建议
This skill's code is small and does what it says (sends your prompt to a chat-completions endpoint), but the SKILL.md and script default the API URL to a third-party domain (api.cheaprouter.club). Before using: 1) Do not paste production or high-privilege API keys unless you verify the endpoint owner; change GROK_API_URL to the official provider endpoint if you have one. 2) Treat the GROK_API_KEY as sensitive — prefer a throwaway/test key until you confirm the service. 3) Remember the script does not call Twitter APIs itself; it relies on the model to know/lookup real-time Twitter content. 4) If you cannot verify api.cheaprouter.club (ownership, privacy policy, TLS cert), consider editing the script to point to a trusted vendor or decline to install. If you want help identifying the correct official Grok/X API endpoint, provide what provider/key you intend to use and I can help verify it.
功能分析
Type: OpenClaw Skill
Name: grok-twitter
Version: 1.0.0
The skill directs users to provide a sensitive 'GROK_API_KEY' which is then transmitted to a suspicious, non-official third-party domain ('api.cheaprouter.club') instead of the official xAI API. The use of a likely fictitious model name ('grok-4.20-beta') and the redirection of credentials to an untrusted endpoint in 'scripts/query_grok.py' and 'SKILL.md' strongly suggests a risk of credential harvesting.
能力评估
Purpose & Capability
Name/description claim to query Grok for Twitter/X content aligns with the code: the script sends prompts to a Grok-like chat completions endpoint and relies on the model to summarize tweets. However the SKILL.md's statement that 'Grok has real-time access to Twitter/X data' is a model-capability claim (not enforced by the skill) and may be misleading; the skill does not call Twitter APIs itself.
Instruction Scope
Instructions are limited to setting GROK_API_KEY/GROK_API_URL/GROK_MODEL and running the script, which is narrow. BUT the SKILL.md and the script default GROK_API_URL to https://api.cheaprouter.club/v1/chat/completions — an unexpected third-party endpoint that instructions encourage users to use unless they override it. That directs user secrets and prompts to an unvetted external host.
Install Mechanism
No install spec; the skill is instruction + a small Python script that uses requests. Nothing is downloaded or written by an installer. This is low-risk from an install perspective.
Credentials
The only required secret is GROK_API_KEY, which is proportional for a wrapper that calls a Grok API. However the default GROK_API_URL is a non-official domain: sending your GROK_API_KEY there would expose it to a third party. The skill asks for a key but does not clearly identify the expected provider for that key (official Grok/X endpoint vs third-party relay).
Persistence & Privilege
The skill does not request persistent/always-on privileges, does not modify agent/system configs, and is user-invocable only. No elevated privileges requested.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install grok-twitter - 安装完成后,直接呼叫该 Skill 的名称或使用
/grok-twitter触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Query and summarize Twitter/X information using Grok AI
元数据
常见问题
Grok Twitter Query 是什么?
Query and summarize Twitter/X information using Grok AI. Use when user asks about Twitter trends, tweets, X platform content, or needs Twitter information su... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 363 次。
如何安装 Grok Twitter Query?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install grok-twitter」即可一键安装,无需额外配置。
Grok Twitter Query 是免费的吗?
是的,Grok Twitter Query 完全免费(开源免费),可自由下载、安装和使用。
Grok Twitter Query 支持哪些平台?
Grok Twitter Query 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Grok Twitter Query?
由 danetteceola(@danetteceola)开发并维护,当前版本 v1.0.0。
推荐 Skills