← ClaudeAtlas

rjv-hidpi-fullpagelisted

Take a full-page, full-width, genuinely high-DPI (2x) screenshot of a web page or signed-in web app with agent-browser, including apps whose content scrolls inside a fixed panel. Also the procedure for crawling an app's read-only pages (reports, tables, detail pages, tabs) into a screenshot catalogue. Triggers: 'high resolution screenshot', 'full page screenshot', 'retina screenshot', '2x screenshot', 'hi-dpi capture', 'screenshot every page', 'capture all reports', 'catalogue this app'.
rjvim/ai-skills · ★ 0 · AI & Automation · score 61
Install: claude install-skill rjvim/ai-skills
# High-DPI full-page capture Goal: one PNG per page where the page fills the full image width, every pixel is real 2x rendering, and nothing is cut off or padded with blank space. ## Find your symptom | Symptom | Go to | |---|---| | Image is not twice the layout width | The one rule | | Page rendered small inside a large blank canvas | The one rule (launch flag) | | Only the first screen of the body shows, or a blank band sits above the footer | Why inner panels are unclipped | | A marketing site's layout changed in the shot | `UNCLIP=0` | | `capture.sh` exited 3 | Very tall pages, under Crawling | | Asked to screenshot every page or report | Crawling an app | ## The one rule that makes it high-DPI Set density through viewport emulation, as the third number: agent-browser --session S set viewport 1920 1080 2 This gives a 3840 px wide image of a 1920 px wide layout. Never use the Chrome launch flag `--force-device-scale-factor=2`. It renders the page small inside a large blank canvas. Get more resolution only from the viewport scale: upscaling an image or changing its DPI metadata adds no detail. ## Capture a page Open the page in a session, sign in, click the tab you want, close popups. Then run the `capture.sh` bundled in this skill's folder (`~/.agents/skills/rjv-hidpi-fullpage/` when installed with `npx skills`): capture.sh SESSION out.png [1920] [2] The script: 1. sets the viewport to the width at 2x, 2. waits for network idle and fonts, 3. scrolls the