← 返回 Skills 市场
X Trends (using official API)
作者
Terry Djony
· GitHub ↗
· v1.0.0
· MIT-0
113
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install x-trends-api
功能描述
Get trending topics on X (Twitter) using the X API. Use when the user wants to see what's trending or check trends for a location.
安全使用建议
This skill appears to do what it says: it uses the X API to fetch trends and only requires your X bearer token and python3. Before installing: (1) ensure you trust the skill source because the bearer token grants read access to the API — treat it like a secret and consider creating a token with minimal scope or revoking it if necessary; (2) avoid leaking the token on the command line or history (use your OpenClaw config or environment management), and (3) on non-mac systems Homebrew install may not apply—just ensure python3 is installed by your OS package manager. If you need higher assurance, review the included scripts locally (trends.py and woeid.json) — they are short and readable.
功能分析
Type: OpenClaw Skill
Name: x-trends-api
Version: 1.0.0
The x-trends-api skill bundle is a well-implemented tool for fetching Twitter trends. The Python scripts (trends.py and woeid_lookup.py) include robust input validation using regular expressions to prevent injection attacks and a custom HTTP handler that explicitly blocks redirects to ensure the X_BEARER_TOKEN is not leaked to unauthorized domains. No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力评估
Purpose & Capability
Name/description match the included Python scripts and the single required env var (X_BEARER_TOKEN). Required binary (python3) and the bundled WOEID data are appropriate for a trends-by-location tool.
Instruction Scope
SKILL.md instructs only how to provide the bearer token and run the provided scripts; runtime instructions reference only the local woeid.json and the X API endpoint. The scripts do not read unrelated files or env vars.
Install Mechanism
Install spec uses the official 'python' Homebrew formula to provide python3 which is reasonable for macOS/homebrew users; systems without Homebrew must already have python3 available or install it via their package manager. No downloads from untrusted URLs or arbitrary code-execution installs are present.
Credentials
Only a single credential is requested (X_BEARER_TOKEN), which is necessary to call the X API. The skill does not ask for other unrelated secrets or config paths.
Persistence & Privilege
always:false (default) and the skill does not request permanent presence or modify other skills. It can be invoked by the agent but that is the platform default.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install x-trends-api - 安装完成后,直接呼叫该 Skill 的名称或使用
/x-trends-api触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of x-trends skill.
- Fetch trending topics from X (Twitter) using the X API.
- Supports trending topics lookup by location (WOEID), with adjustable result limits.
- Includes WOEID lookup tool to help find the code for any city or country.
- Requires an X API Bearer Token for authentication.
- Presents trend names and tweet counts where available.
元数据
常见问题
X Trends (using official API) 是什么?
Get trending topics on X (Twitter) using the X API. Use when the user wants to see what's trending or check trends for a location. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 113 次。
如何安装 X Trends (using official API)?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install x-trends-api」即可一键安装,无需额外配置。
X Trends (using official API) 是免费的吗?
是的,X Trends (using official API) 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
X Trends (using official API) 支持哪些平台?
X Trends (using official API) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 X Trends (using official API)?
由 Terry Djony(@terryds)开发并维护,当前版本 v1.0.0。
推荐 Skills