← 返回 Skills 市场
K test
作者
Dang Trung Kien
· GitHub ↗
· v1.0.0
· MIT-0
84
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install k-test
功能描述
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...
使用说明 (SKILL.md)
X Search
Search X (Twitter) posts using the xAI Grok API with real-time access to X content.
Setup
- Get your API key: https://console.x.ai
- Set environment variable:
export XAI_API_KEY="xai-your-key-here" - Or set
skills."x-search".apiKey/skills."x-search".env.XAI_API_KEYin~/.openclaw/openclaw.json
Usage
python3 {baseDir}/scripts/search.py "what is trending in AI right now"
Useful flags:
# Filter by handles (max 10)
python3 {baseDir}/scripts/search.py --handles jaaneek,OpenClaw "latest posts"
# Exclude handles (max 10)
python3 {baseDir}/scripts/search.py --exclude spambot,crypto_shill "trending AI"
# Date range (YYYY-MM-DD)
python3 {baseDir}/scripts/search.py --from 2026-03-01 --to 2026-03-20 "xAI grok updates"
# Enable image/video understanding in posts
python3 {baseDir}/scripts/search.py --images --video "product demos"
Notes
- Uses the xAI Responses API with
x_searchtool (Grok performs the search and summarizes results) - Cannot use
--handlesand--excludeat the same time - Results include citations with links to original X posts
- Present results in a readable format with post content, authors, and citations
安全使用建议
This skill appears to do what it claims: it calls the xAI Responses API to search X posts and only needs python3 plus your XAI_API_KEY. Before installing: (1) confirm you trust the publisher (there is a slug/ownerId mismatch between the registry entry and the included _meta.json that could be a packaging artifact), (2) only provide an XAI API key with the minimum necessary scope and rotate/revoke it if you later uninstall the skill, and (3) you can inspect or run the included scripts locally (they are readable) to verify behavior. If you have doubts about the publisher identity, contact them or prefer a skill whose metadata matches exactly.
功能分析
Type: OpenClaw Skill
Name: k-test
Version: 1.0.0
The skill bundle is a well-implemented tool for searching X (Twitter) via the xAI API. The Python script `scripts/search.py` uses standard libraries, implements strict input validation for handles and dates, and includes a security-conscious custom redirect handler to prevent credential leakage. No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力评估
Purpose & Capability
The skill implements an X (Twitter) search using the xAI Grok Responses API and only requires python3 and XAI_API_KEY, which is proportional to its stated purpose. Note: registry metadata and the bundled _meta.json disagree on slug/ownerId (skill listed as 'K test' / slug 'k-test' in the registry but _meta.json shows slug 'x-search' and a different ownerId). This mismatch is likely non-malicious (packaging or publishing artifact) but is worth confirming with the publisher.
Instruction Scope
SKILL.md instructs running the included Python script and setting XAI_API_KEY; the code only reads that env var, validates CLI args, builds a request to https://api.x.ai/v1/responses, and prints formatted JSON. It does not read other environment variables, user files, or send data to unexpected endpoints.
Install Mechanism
Install spec only suggests installing Python via Homebrew (formula: python) to provide python3. This is a low-risk, proportional install path for a Python script.
Credentials
The only required environment variable is XAI_API_KEY (declared as the primary credential) which is appropriate for calling the xAI API. The code does not request other secrets or configuration paths.
Persistence & Privilege
The skill is not marked always:true and does not attempt to modify other skills or system-wide settings. It runs on demand and only uses its own runtime resources.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install k-test - 安装完成后,直接呼叫该 Skill 的名称或使用
/k-test触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of x-search.
- Search X (Twitter) posts in real time using the xAI Grok API.
- Supports filters for handles, exclusions, date ranges, and media (images/video).
- Returns results with citations and links to original X posts.
- Simple setup requiring an API key and Python 3.
- Usage examples included for common search scenarios.
元数据
常见问题
K test 是什么?
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 插件,目前累计下载 84 次。
如何安装 K test?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install k-test」即可一键安装,无需额外配置。
K test 是免费的吗?
是的,K test 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
K test 支持哪些平台?
K test 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 K test?
由 Dang Trung Kien(@dtkien1802)开发并维护,当前版本 v1.0.0。
推荐 Skills