← 返回 Skills 市场
X
作者
Oliver Drobnik
· GitHub ↗
· v1.0.0
258
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install x-api-v2
功能描述
Access X (Twitter) via API v2: user profiles, timelines, threads, search, bookmarks, likes, and posting. Use when asked to: (1) get user info or profile, (2)...
安全使用建议
This skill appears to do what it claims, but review and protect the credentials it asks you to create: ~/.openclaw/x/credentials.json, oauth2.json, and tokens.json will contain your bearer token, client secrets, and OAuth tokens in plaintext. Before installing, (1) verify the skill source/trustworthiness, (2) inspect scripts/x.py yourself for unexpected network targets or obfuscation (the included code is human-readable in this bundle), (3) set strict file permissions on ~/.openclaw/x and use disk encryption if possible, and (4) configure spending limits in your X developer account to avoid unexpected billing from API usage triggered by the tool.
功能分析
Type: OpenClaw Skill
Name: x-api-v2
Version: 1.0.0
The bundle is a functional X (Twitter) API v2 client implemented in pure Python using only the standard library. It correctly implements Bearer token authentication and the OAuth 2.0 PKCE flow for user-context actions like bookmarks and posting, including a local callback server (scripts/x.py). The code is well-structured, lacks obfuscation, and contains no evidence of data exfiltration, unauthorized file access, or malicious prompt injection instructions.
能力评估
Purpose & Capability
Name/description (X API v2 client) aligns with what's present: a Python CLI script that performs user lookup, timelines, search, bookmarks, likes, and posting. Requested binary (python3) and on-disk credential files (~/.openclaw/x) are appropriate for this purpose; no unrelated services or permissions are requested.
Instruction Scope
SKILL.md instructs the agent to run the included Python CLI and to create credential files in ~/.openclaw/x. The code performs expected actions (HTTP calls to X API, local OAuth PKCE flow that opens a browser and runs a localhost callback server, and saves tokens to ~/.openclaw/x/tokens.json). This is within scope, but note that the OAuth flow binds to localhost:8080 and the tool stores secrets on disk unencrypted.
Install Mechanism
No install spec or external downloads; the skill is instruction-only with an included Python script (stdlib-only). Nothing is fetched from third-party URLs during install, reducing supply-chain risk.
Credentials
No environment variables are required; credentials are supplied via files (credentials.json, oauth2.json) in the user's home directory as documented. This is proportionate to the feature set, but storing bearer tokens/client secrets/tokens unencrypted in ~/.openclaw/x is a sensitive action the user should be aware of and protect (file permissions, disk encryption).
Persistence & Privilege
always is false and the skill does not request platform-wide privileges. It does persist OAuth tokens and app credentials to its own config path (~/.openclaw/x) which is normal for CLI tools; it does not modify other skills or system-wide agent settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install x-api-v2 - 安装完成后,直接呼叫该 Skill 的名称或使用
/x-api-v2触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of x-api-v2 skill.
- Access X (Twitter) via API v2 for user profiles, timelines, threads, search, bookmarks, likes, and posting tweets.
- Supports public data (via bearer token) and user-private actions (via OAuth 2.0).
- Pure Python stdlib implementation — no dependencies required.
- All commands output clean, readable text for easy integration and scripting.
- Includes rate limit and billing/costs info, advanced search operators, and troubleshooting guidance.
元数据
常见问题
X 是什么?
Access X (Twitter) via API v2: user profiles, timelines, threads, search, bookmarks, likes, and posting. Use when asked to: (1) get user info or profile, (2)... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 258 次。
如何安装 X?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install x-api-v2」即可一键安装,无需额外配置。
X 是免费的吗?
是的,X 完全免费(开源免费),可自由下载、安装和使用。
X 支持哪些平台?
X 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 X?
由 Oliver Drobnik(@odrobnik)开发并维护,当前版本 v1.0.0。
推荐 Skills