← 返回 Skills 市场
X Extract
作者
Chunhua Liao
· GitHub ↗
· v1.0.0
796
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install x-extract
功能描述
Extract tweet content from x.com URLs without credentials using browser automation. Use when user asks to "extract tweet", "download x.com link", "get tweet...
安全使用建议
This skill is internally consistent for scraping public x.com/twitter.com tweet pages via the platform browser tool and does not request credentials. Before installing, consider: 1) Media download option uses shell tools (curl/wget) to fetch and write remote URLs — only download media you trust and be mindful of disk storage and copyright. 2) Excessive automated requests may trigger X.com rate-limiting or IP blocking. 3) The included helper script is primarily an instructions writer (it prints snapshot instructions) and has a minor mismatch: SKILL.md supports both x.com and twitter.com but the script currently checks only for 'x.com'. If you require twitter.com domain support, review/adjust the code. 4) Ensure your OpenClaw agent’s browser tool access is intentional, since the skill relies on that tool to load pages. If you need higher assurance, review the script and selectors file line-by-line before enabling downloads or granting the agent broad autonomous access.
功能分析
Type: OpenClaw Skill
Name: x-extract
Version: 1.0.0
The skill is suspicious due to a potential shell injection vulnerability in `SKILL.md`. The instructions for the AI agent explicitly use `exec` with `curl` to download media, constructing a shell command with `<media-url>` directly from an external source (x.com). If a malicious actor could control the content of `<media-url>` (e.g., by posting a tweet with a specially crafted URL containing shell metacharacters), this could lead to arbitrary command execution on the agent's host. This is a high-risk vulnerability, even if the stated purpose of downloading media is benign.
能力评估
Purpose & Capability
The name/description (extract tweets via browser automation) matches the provided SKILL.md, selectors reference, and the included script. No unrelated credentials, binaries, or config paths are requested. The skill's features (text, author, timestamp, media, engagement, optional media download) are all supported by the instructions and selector references.
Instruction Scope
Instructions stay within the stated purpose: they direct the agent to open the tweet URL with the platform browser tool, capture ARIA snapshots, extract fields, and optionally download media. One caution: the SKILL.md suggests using shell commands (curl/wget via exec) to download media URLs — that will cause the agent to fetch and write arbitrary remote URLs to disk if the user requests downloads. This is expected for media-download functionality but is a side-effect users should be aware of (disk writes, potentially untrusted URLs, and copyright considerations). Also, SKILL.md and references include both x.com and twitter.com, whereas the shipped scripts/extract.mjs enforces a simple check for 'x.com' only — a minor inconsistency in domain handling.
Install Mechanism
No install spec is included (instruction-only plus a small helper script). Nothing is downloaded from external URLs during installation and no archives are extracted. This is the lowest-risk install profile.
Credentials
The skill requests no environment variables, no credentials, and no config paths. The code and SKILL.md do not access environment secrets. This is proportionate to a public-web scraping/browser-automation tool.
Persistence & Privilege
always is false (default). The skill does not request permanent/system-wide configuration changes and contains no steps to alter other skills. Autonomous invocation is allowed (platform default) and acceptable given the skill's purpose.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install x-extract - 安装完成后,直接呼叫该 Skill 的名称或使用
/x-extract触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of x-extract skill.
- Extracts tweet content (text, media, author, metadata) from x.com/twitter.com URLs without requiring Twitter API credentials.
- Uses browser automation to fully load tweets and extract data from the rendered HTML.
- Outputs results in structured markdown, including optional media download.
- Handles single tweets, threads, and error situations (invalid URLs, restricted tweets, layout changes).
- Does not support protected tweets or content requiring login.
元数据
常见问题
X Extract 是什么?
Extract tweet content from x.com URLs without credentials using browser automation. Use when user asks to "extract tweet", "download x.com link", "get tweet... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 796 次。
如何安装 X Extract?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install x-extract」即可一键安装,无需额外配置。
X Extract 是免费的吗?
是的,X Extract 完全免费(开源免费),可自由下载、安装和使用。
X Extract 支持哪些平台?
X Extract 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 X Extract?
由 Chunhua Liao(@chunhualiao)开发并维护,当前版本 v1.0.0。
推荐 Skills