skills/screenshot/SKILL.md
--- name: screenshot description: Take a screenshot of a local web page using Playwright for visual debugging. Use when you need to see what a page looks like. argument-hint: [url] [--selector "css"] [--wait ms] [--full] --- # screenshot Take a screenshot of a local web page using Playwright (Chromium) for visual debugging. ## Usage ``` /screenshot # Default: http://localhost:8081, viewport screenshot /screenshot http://localhost:3000 # Custom URL /screensh
npx skillsauth add tomashrdlicka/engram skills/screenshotInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Take a screenshot of a local web page using Playwright (Chromium) for visual debugging.
/screenshot # Default: http://localhost:8081, viewport screenshot
/screenshot http://localhost:3000 # Custom URL
/screenshot --selector ".my-component" # Screenshot a specific element
/screenshot --wait 3000 # Wait 3s for animations/loading before capture
/screenshot --full # Full-page screenshot (not just viewport)
/screenshot http://localhost:8081 --wait 5000 --full
Parse arguments:
http://localhost:8081)--selector "css" = screenshot only that element--wait N = wait N milliseconds after load before screenshot (default: 2000)--full = full page screenshot instead of viewport only--width N = viewport width (default: 1440)--height N = viewport height (default: 900)--dark = inject localStorage.setItem('yc-dark-mode', 'true') before navigatingRun a Node.js script using npx playwright that:
/private/tmp/claude-501/screenshots/screenshot-{timestamp}.pngUse the Read tool to view the screenshot image file and analyze it
Write a temporary Node.js script and run it with node. The script uses playwright (already installed globally).
const { chromium } = require('playwright');
(async () => {
const browser = await chromium.launch();
const context = await browser.newContext({
viewport: { width: WIDTH, height: HEIGHT }
});
const page = await context.newPage();
// Optional: set dark mode in localStorage before navigation
// if (dark) { await page.addInitScript(() => localStorage.setItem('yc-dark-mode', 'true')); }
await page.goto(URL, { waitUntil: 'networkidle' });
await page.waitForTimeout(WAIT);
// Optional: element screenshot
// if (selector) { await page.locator(selector).screenshot({ path: OUTPUT }); }
// else { await page.screenshot({ path: OUTPUT, fullPage: FULL }); }
await page.screenshot({ path: OUTPUT, fullPage: FULL_PAGE });
await browser.close();
console.log(OUTPUT);
})();
--wait 5000 to ensure force simulation + entrance animation completemkdir -p /private/tmp/claude-501/screenshotstools
Show vault statistics, queue count, and reading suggestions. Use when the user wants an overview of their knowledge base.
development
Search the Web Capture Obsidian vault for ideation and research. Use when the user wants to find or explore saved content.
tools
Show articles queued for posting on Twitter/X. Use when the user wants to see what to share.
development
Process all queued links from the web capture queue into Obsidian notes. Use when the user wants to process their captured links.