← Back to Skills Marketplace
spyfree

X Mobile Longshot / X 真机感长截图导出

by Li Xin · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
286
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install x-mobile-longshot
Description
Render X (Twitter) posts, long articles, and mobile reading pages into mobile-style long screenshots and optional single-page PDFs using Playwright. Use when...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install x-mobile-longshot
  3. After installation, invoke the skill by name or use /x-mobile-longshot
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug x-mobile-longshot
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 286 downloads so far.

How do I install X Mobile Longshot / X 真机感长截图导出?

Run "/install x-mobile-longshot" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is X Mobile Longshot / X 真机感长截图导出 free?

Yes, X Mobile Longshot / X 真机感长截图导出 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does X Mobile Longshot / X 真机感长截图导出 support?

X Mobile Longshot / X 真机感长截图导出 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created X Mobile Longshot / X 真机感长截图导出?

It is built and maintained by Li Xin (@spyfree); the current version is v1.0.1.

💬 Comments