[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75DVA24WTNE0WM12PQXYH1S":3,"skill-same:01M75DVA24WTNE0WM12PQXYH1S":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M75DVA24WTNE0WM12PQXYH1S","full-page-screenshot",null,"Use when the user asks to capture a full-page screenshot, long screenshot, or complete page capture of a web page. Handles SPA scroll containers, lazy-loaded images, and very tall pages via Chrome DevTools Protocol with zero external dependencies.","agisota\u002Fold-one","agisota","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F121413592?v=4","01M75B4BRNT67EC1NDRT8QZEP2","01M75B4BS7QR9VP580MSCPTS3X",3,"MIT","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Ffull-page-screenshot\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: \"full-page-screenshot\"\ndescription: \"Use when the user asks to capture a full-page screenshot, long screenshot, or complete page capture of a web page. Handles SPA scroll containers, lazy-loaded images, and very tall pages via Chrome DevTools Protocol with zero external dependencies.\"\n---\n\n# Full Page Screenshot\n\nCapture a full-page screenshot of any web page via Chrome DevTools Protocol. Produces a single PNG that includes all content — even portions that require scrolling. Zero external dependencies beyond Node.js 22+ and Chrome with remote debugging enabled.\n\n## Prerequisites\n\n- **Node.js 22+** (uses built-in `WebSocket`)\n- **Chrome\u002FChromium** with remote debugging enabled\n\nCheck environment readiness:\n\n```bash\nnode \"${SKILL_DIR}\u002Fscripts\u002Ffull-page-screenshot.mjs\" --check\n```\n\nIf Chrome check fails, instruct user to open `chrome:\u002F\u002Finspect\u002F#remote-debugging` and enable **\"Allow remote debugging for this browser instance\"**.\n\n## Workflow\n\n### Option A: Screenshot an already-open tab (recommended for authenticated pages)\n\n1. List available tabs:\n\n```bash\nnode \"${SKILL_DIR}\u002Fscripts\u002Ffull-page-screenshot.mjs\" --list\n```\n\n2. Identify the target by title\u002FURL, then capture:\n\n```bash\nnode \"${SKILL_DIR}\u002Fscripts\u002Ffull-page-screenshot.mjs\" \u003CtargetId> \u002Ftmp\u002Fscreenshot.png --width 1200 --dpr 1\n```\n\n### Option B: Screenshot a URL (opens a background tab, captures, closes)\n\n```bash\nnode \"${SKILL_DIR}\u002Fscripts\u002Ffull-page-screenshot.mjs\" --url \"https:\u002F\u002Fexample.com\" \u002Ftmp\u002Fscreenshot.png --width 1200 --dpr 1 --wait 15000\n```\n\n> **Note:** `--url` mode creates a background tab. Pages requiring authentication (SSO, login walls) should use Option A instead.\n\n### Parameters\n\n| Parameter | Description | Default |\n|-----------|-------------|---------|\n| `output` | Output PNG file path | `\u002Ftmp\u002Fscreenshot.png` |\n| `--width` | Viewport width in CSS pixels (articles: 1200, dashboards: 1440-1920) | 1200 |\n| `--dpr` | Device pixel ratio (2 = Retina, but 4x file size) | 1 |\n| `--wait` | Page load timeout in ms (`--url` mode only) | 15000 |\n| `--css` | Custom CSS to inject before capture (e.g., hide elements) | — |\n\n### Verify Output\n\n```bash\n# macOS\nsips -g pixelWidth -g pixelHeight \u002Ftmp\u002Fscreenshot.png\n\n# Linux\nfile \u002Ftmp\u002Fscreenshot.png\n```\n\n## Core Capabilities\n\n1. **SPA scroll container expansion** — Detects `overflow-y: auto\u002Fscroll` containers, scrolls through them to trigger lazy-loading, then removes overflow constraints (including Tailwind `h-[calc(...)]`) so all content renders in a single pass.\n\n2. **DOM stability detection** — After `readyState=complete`, monitors DOM element count until it stabilizes. This ensures SPA frameworks finish rendering dynamic content.\n\n3. **Lazy-load triggering** — Scrolls the viewport incrementally to fire `IntersectionObserver` callbacks, then waits for all `\u003Cimg>` elements to complete loading.\n\n4. **Tiled capture for very tall pages** — Pages exceeding 16,000px are captured in 8,000px tiles and automatically stitched using Python PIL. Falls back to saving tiles separately if PIL is unavailable.\n\n5. **Auto-discovery of Chrome** — Reads `DevToolsActivePort` file to find the debugging port. Falls back to probing ports 9222, 9229, 9333.\n\n6. **CDP Proxy fallback** — When a CDP proxy holds the browser WebSocket, the script falls back to proxy API endpoints (`\u002Feval`, `\u002Fscreenshot`, `\u002Fscroll`) for capture.\n\n## How It Works\n\n```\n1. Discover Chrome debugging port\n2. Connect via WebSocket (CDP)\n3. Attach to target \u002F create background tab\n4. Set viewport width via Emulation domain\n5. Wait: readyState + DOM stability\n6. Detect & expand scroll containers\n7. Scroll through page (trigger lazy-load)\n8. Wait for images to complete\n9. Measure final content height\n10. Page.captureScreenshot (or tiled capture)\n11. Stitch tiles if needed (PIL)\n12. Restore viewport, detach, clean up\n```\n\n## Anti-Patterns\n\n| Do NOT | Do instead |\n|--------|-----------|\n| Use `--dpr 2` on pages > 10,000px tall | Use `--dpr 1` to avoid Chrome memory issues |\n| Use `--url` for authenticated\u002FSSO pages | Use `--list` + targetId on a tab where user is logged in |\n| Set `--wait` below 5000 for SPAs | SPAs need time to fetch data and render; use 10000-15000 |\n| Capture without checking `--check` first | Always verify Chrome debugging is available |\n| Hardcode viewport widths for all pages | Use 1200 for articles, 1440+ for dashboards\u002Ftables |\n| Skip output verification | Always verify with `sips` or `file` command after capture |\n\n## Troubleshooting\n\n| Symptom | Cause | Fix |\n|---------|-------|-----|\n| \"Cannot find Chrome debugging port\" | Remote debugging not enabled | Open `chrome:\u002F\u002Finspect\u002F#remote-debugging`, enable it |\n| \"WebSocket connection timeout\" | CDP proxy holding the connection | Script auto-falls back to proxy API |\n| Blank\u002Fwhite screenshot | Page not loaded yet | Increase `--wait` value |\n| Truncated at bottom | Scroll container not expanded | Script handles this automatically; file an issue if it persists |\n| Out of memory | Very tall page + high DPR | Reduce `--dpr` to 1 and\u002For reduce `--width` |\n| \"PIL not available for stitching\" | Python Pillow not installed | Install with `pip3 install Pillow` or accept separate tile files |\n\n## Cross-References\n\n- [`engineering\u002Fbrowser-automation`](..\u002Fbrowser-automation\u002FSKILL.md) — General browser automation patterns via CDP\u002FPlaywright\n- [`engineering\u002Fperformance-profiler`](..\u002Fperformance-profiler\u002FSKILL.md) — Performance analysis that may complement visual captures\n","# Full Page Screenshot\n\nCapture a full-page screenshot of any web page via Chrome DevTools Protocol. Produces a single PNG that includes all content — even portions that require scrolling. Zero external dependencies beyond Node.js 22+ and Chrome with remote debugging enabled.\n\n## Prerequisites\n\n- **Node.js 22+** (uses built-in `WebSocket`)\n- **Chrome\u002FChromium** with remote debugging enabled\n\nCheck environment readiness:\n\n```bash\nnode \"${SKILL_DIR}\u002Fscripts\u002Ffull-page-screenshot.mjs\" --check\n```\n\nIf Chrome check fails, instruct user to open `chrome:\u002F\u002Finspect\u002F#remote-debugging` and enable **\"Allow remote debugging for this browser instance\"**.\n\n## Workflow\n\n### Option A: Screenshot an already-open tab (recommended for authenticated pages)\n\n1. List available tabs:\n\n```bash\nnode \"${SKILL_DIR}\u002Fscripts\u002Ffull-page-screenshot.mjs\" --list\n```\n\n2. Identify the target by title\u002FURL, then capture:\n\n```bash\nnode \"${SKILL_DIR}\u002Fscripts\u002Ffull-page-screenshot.mjs\" \u003CtargetId> \u002Ftmp\u002Fscreenshot.png --width 1200 --dpr 1\n```\n\n### Option B: Screenshot a URL (opens a background tab, captures, closes)\n\n```bash\nnode \"${SKILL_DIR}\u002Fscripts\u002Ffull-page-screenshot.mjs\" --url \"https:\u002F\u002Fexample.com\" \u002Ftmp\u002Fscreenshot.png --width 1200 --dpr 1 --wait 15000\n```\n\n> **Note:** `--url` mode creates a background tab. Pages requiring authentication (SSO, login walls) should use Option A instead.\n\n### Parameters\n\n| Parameter | Description | Default |\n|-----------|-------------|---------|\n| `output` | Output PNG file path | `\u002Ftmp\u002Fscreenshot.png` |\n| `--width` | Viewport width in CSS pixels (articles: 1200, dashboards: 1440-1920) | 1200 |\n| `--dpr` | Device pixel ratio (2 = Retina, but 4x file size) | 1 |\n| `--wait` | Page load timeout in ms (`--url` mode only) | 15000 |\n| `--css` | Custom CSS to inject before capture (e.g., hide elements) | — |\n\n### Verify Output\n\n```bash\n# macOS\nsips -g pixelWidth -g pixelHeight \u002Ftmp\u002Fscreenshot.png\n\n# Linux\nfile \u002Ftmp\u002Fscreenshot.png\n```\n\n## Core Capabilities\n\n1. **SPA scroll container expansion** — Detects `overflow-y: auto\u002Fscroll` containers, scrolls through them to trigger lazy-loading, then removes overflow constraints (including Tailwind `h-[calc(...)]`) so all content renders in a single pass.\n\n2. **DOM stability detection** — After `readyState=complete`, monitors DOM element count until it stabilizes. This ensures SPA frameworks finish rendering dynamic content.\n\n3. **Lazy-load triggering** — Scrolls the viewport incrementally to fire `IntersectionObserver` callbacks, then waits for all `\u003Cimg>` elements to complete loading.\n\n4. **Tiled capture for very tall pages** — Pages exceeding 16,000px are captured in 8,000px tiles and automatically stitched using Python PIL. Falls back to saving tiles separately if PIL is unavailable.\n\n5. **Auto-discovery of Chrome** — Reads `DevToolsActivePort` file to find the debugging port. Falls back to probing ports 9222, 9229, 9333.\n\n6. **CDP Proxy fallback** — When a CDP proxy holds the browser WebSocket, the script falls back to proxy API endpoints (`\u002Feval`, `\u002Fscreenshot`, `\u002Fscroll`) for capture.\n\n## How It Works\n\n```\n1. Discover Chrome debugging port\n2. Connect via WebSocket (CDP)\n3. Attach to target \u002F create background tab\n4. Set viewport width via Emulation domain\n5. Wait: readyState + DOM stability\n6. Detect & expand scroll containers\n7. Scroll through page (trigger lazy-load)\n8. Wait for images to complete\n9. Measure final content height\n10. Page.captureScreenshot (or tiled capture)\n11. Stitch tiles if needed (PIL)\n12. Restore viewport, detach, clean up\n```\n\n## Anti-Patterns\n\n| Do NOT | Do instead |\n|--------|-----------|\n| Use `--dpr 2` on pages > 10,000px tall | Use `--dpr 1` to avoid Chrome memory issues |\n| Use `--url` for authenticated\u002FSSO pages | Use `--list` + targetId on a tab where user is logged in |\n| Set `--wait` below 5000 for SPAs | SPAs need time to fetch data and render; use 10000-15000 |\n| Capture without checking `--check` first | Always verify Chrome debugging is available |\n| Hardcode viewport widths for all pages | Use 1200 for articles, 1440+ for dashboards\u002Ftables |\n| Skip output verification | Always verify with `sips` or `file` command after capture |\n\n## Troubleshooting\n\n| Symptom | Cause | Fix |\n|---------|-------|-----|\n| \"Cannot find Chrome debugging port\" | Remote debugging not enabled | Open `chrome:\u002F\u002Finspect\u002F#remote-debugging`, enable it |\n| \"WebSocket connection timeout\" | CDP proxy holding the connection | Script auto-falls back to proxy API |\n| Blank\u002Fwhite screenshot | Page not loaded yet | Increase `--wait` value |\n| Truncated at bottom | Scroll container not expanded | Script handles this automatically; file an issue if it persists |\n| Out of memory | Very tall page + high DPR | Reduce `--dpr` to 1 and\u002For reduce `--width` |\n| \"PIL not available for stitching\" | Python Pillow not installed | Install with `pip3 install Pillow` or accept separate tile files |\n\n## Cross-References\n\n- [`engineering\u002Fbrowser-automation`](..\u002Fbrowser-automation\u002FSKILL.md) — General browser automation patterns via CDP\u002FPlaywright\n- [`engineering\u002Fperformance-profiler`](..\u002Fperformance-profiler\u002FSKILL.md) — Performance analysis that may complement visual captures\n",{"name":5,"description":7},"main","f37de8f681f0c0ca0e0ebab6e5fddf764ca7553d","skills\u002Ffull-page-screenshot",1,"https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one","https:\u002F\u002Fagisota.github.io\u002Fold-one\u002F","https:\u002F\u002Fgithub.com\u002Fagisota","pzd.world","2026-07-04 22:32:06",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add agisota\u002Fold-one --skill full-page-screenshot",{"tool":38,"command":39},"bunx","bunx skills add agisota\u002Fold-one --skill full-page-screenshot",{"tool":41,"command":42},"pnpm","pnpm dlx skills add agisota\u002Fold-one --skill full-page-screenshot","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Ffull-page-screenshot\u002FSKILL.md",true,[],[47,54,61,70,77,84],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":18},"01M75KRGZWQWE9JDBS6RX42NWV","zoom-out","Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fzoom-out\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M75KRCZHKE0ZYAQFFYHS0YNP","zeroize-audit","Detects missing zeroization of sensitive data in source code and identifies zeroization removed by compiler optimizations, with assembly-level analysis, and control-flow verification. Use for auditing C\u002FC++\u002FRust code handling secrets, keys, passwords, or other sensitive data.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fzeroize-audit\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":65,"licenseFileUrl":66,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M75KR94KYQ30DTE1P9WNDAE0","yeet","Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":18},"01M75KR3H13YJ9QHMD49818FA1","yara-rule-authoring","Guides authoring of high-quality YARA-X detection rules for malware identification. Use when writing, reviewing, or optimizing YARA rules. Covers naming conventions, string selection, performance optimization, migration from legacy YARA, and false positive reduction. Triggers on: YARA, YARA-X, malware detection, threat hunting, IOC, signature, crx module, dex module.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyara-rule-authoring\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M75KQMPY8A4Y8XTDD2DT0M9T","x-twitter-growth","X\u002FTwitter growth engine for building audience, crafting viral content, and analyzing engagement. Use when the user wants to grow on X\u002FTwitter, write tweets or threads, analyze their X profile, research competitors on X, plan a posting strategy, or optimize engagement. Complements social-content (generic multi-platform) with X-specific depth: algorithm mechanics, thread engineering, reply strategy, profile optimization, and competitive intelligence via web search.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fx-twitter-growth\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M75KQHNZ0ANZNJGZY6M8MDAK","x-api","X\u002FTwitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fx-api\u002FSKILL.md",[],[]]