Install
openclaw skills install x-mobile-longshotRender X (Twitter) posts, long articles, and mobile reading pages into mobile-style long screenshots and optional single-page PDFs using Playwright. Use when...
openclaw skills install x-mobile-longshotRender X links into phone-like dark-mode long screenshots, then optionally wrap the image into a single-page PDF.
Use the bundled script:
node skills/x-mobile-longshot/scripts/render_x_longshot.js \
--url 'https://x.com/i/status/2030475950752710891' \
--out-png 'outputs/x_render/example.png' \
--out-pdf 'outputs/x_render/example.pdf'
If the user only wants the PNG:
node skills/x-mobile-longshot/scripts/render_x_longshot.js \
--url 'https://x.com/i/status/2030475950752710891' \
--out-png 'outputs/x_render/example.png' \
--no-pdf
iPhone 14 Pro Maxzh-CNAsia/Shanghai1450pxUseful flags:
--device 'iPhone 14 Pro Max' to change the Playwright device preset--wait-ms 6000 to wait longer for slow pages--top-fix-px 1700 to replace more of the top area when the popup intrudes deeper--no-pdf to skip PDF creationPrefer this skill when the user wants:
Do not overclaim native-app fidelity. This is a browser-rendered mobile capture pipeline with cleanup, not a real iPhone App Store build of X.
If the output still contains overlays or sticky bars:
--wait-ms.--top-fix-px.references/notes.md and update the overlay text patterns in scripts/render_x_longshot.js.scripts/render_x_longshot.js: main rendererreferences/notes.md: v1 design notes, limits, and iteration guidance