← 返回 Skills 市场
286
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install x-mobile-longshot
功能描述
Render X (Twitter) posts, long articles, and mobile reading pages into mobile-style long screenshots and optional single-page PDFs using Playwright. Use when...
安全使用建议
This skill appears to do what it says (capture mobile-style screenshots of X pages), but the package metadata omits key runtime requirements. Before installing or running it: 1) Ensure the runtime has Node.js and the Playwright Node package (and its browsers) installed, and has python3 with Pillow available — the script calls python3 via spawnSync to process images. 2) Run it in an isolated environment (no sensitive credentials mounted) because it will fetch arbitrary URLs you supply and write files to disk. 3) Review the bundled script if you need stricter safety: it performs DOM clicks/removals (to dismiss overlays) and executes local Python code — both expected for this task but worth auditing. 4) Prefer adding explicit dependency/install steps (Playwright browser install, pip install Pillow) to the skill manifest or run within a container where you control installed packages. If you need higher assurance, ask the author to declare required binaries and provide an install spec rather than relying on implicit environment setup.
功能分析
Type: OpenClaw Skill
Name: x-mobile-longshot
Version: 1.0.1
The skill is classified as suspicious due to a code injection vulnerability in `scripts/render_x_longshot.js`. The script constructs a Python snippet using unsanitized input from the `--out-png` argument and executes it via `spawnSync`, which could allow arbitrary Python code execution if the output path is manipulated. While the tool's functionality for capturing and cleaning X (Twitter) screenshots appears legitimate and aligned with its stated purpose, this implementation flaw poses a significant security risk.
能力评估
Purpose & Capability
The skill's name/description align with the included script: it uses Playwright to render X (Twitter) pages, cleans overlay nodes, captures screenshots, and converts PNG→PDF. However the registry metadata lists no required binaries or environment requirements even though the runtime clearly needs Node.js (to run the script), the Playwright library (and its browser downloads), Python3, and Pillow. That gap is an inconsistency (likely sloppy packaging) that users should be aware of.
Instruction Scope
SKILL.md and the script stay within the stated purpose: they load a user-provided URL, manipulate the page DOM (click/ remove overlays), capture screenshots, and post-process images locally. The script does page DOM clicks/removals and runs local Python code via spawnSync, but it does not call external endpoints or read unrelated system files or environment variables.
Install Mechanism
There is no install spec (instruction-only + included script). That is lower risk than arbitrary remote downloads, but the absence of declared installs/dependencies is problematic because Playwright typically requires installing browser binaries and Python/Pillow must be available. The script will call python3 and expects PIL; the skill doesn't document how to provision those, so operators may be surprised by missing/automatic installs or by heavy Playwright browser downloads.
Credentials
The skill requests no environment variables or credentials, and the code does not attempt to access secrets or unrelated config paths. It does spawn local processes (python3) and writes output files under user-provided paths, which is consistent with its purpose.
Persistence & Privilege
The skill is not always-enabled and does not request elevated/persistent agent privileges. It does not modify other skills or system-wide agent settings. Autonomous invocation remains possible (platform default) but is not combined with other concerning flags here.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install x-mobile-longshot - 安装完成后,直接呼叫该 Skill 的名称或使用
/x-mobile-longshot触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Initial public release: Playwright-based X mobile long screenshot export with overlay cleanup and optional single-page PDF output.
v1.0.0
Initial release: Playwright-based X mobile long screenshot export with overlay cleanup and optional single-page PDF output.
元数据
常见问题
X Mobile Longshot / X 真机感长截图导出 是什么?
Render X (Twitter) posts, long articles, and mobile reading pages into mobile-style long screenshots and optional single-page PDFs using Playwright. Use when... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 286 次。
如何安装 X Mobile Longshot / X 真机感长截图导出?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install x-mobile-longshot」即可一键安装,无需额外配置。
X Mobile Longshot / X 真机感长截图导出 是免费的吗?
是的,X Mobile Longshot / X 真机感长截图导出 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
X Mobile Longshot / X 真机感长截图导出 支持哪些平台?
X Mobile Longshot / X 真机感长截图导出 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 X Mobile Longshot / X 真机感长截图导出?
由 Li Xin(@spyfree)开发并维护,当前版本 v1.0.1。
推荐 Skills