정보
이 스킬은 웹 페이지의 전체 페이지 스크린샷을 PNG 이미지로 캡처하며, 열린 브라우저 탭과 지정된 URL을 모두 처리합니다. SPA 스크롤 컨테이너, 지연 로딩 이미지를 자동으로 관리하고 긴 페이지를 이어붙입니다. 이 도구는 외부 의존성 없이 Chrome DevTools Protocol에 직접 연결됩니다.
빠른 설치
Claude Code
추천npx skills add LewisLiu007/full-page-screenshot -a claude-code/plugin add https://github.com/LewisLiu007/full-page-screenshotgit clone https://github.com/LewisLiu007/full-page-screenshot.git ~/.claude/skills/full-page-screenshotClaude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요
문서
Full Page Screenshot
对浏览器中的网页生成一张完整的长截图 PNG,覆盖页面全部内容(包括需要滚动才能看到的部分)。直连 Chrome DevTools WebSocket,无需 CDP Proxy 或其他中间层。
前置条件
只需 Node.js 22+ 和 Chrome 开启远程调试:
node "${CLAUDE_SKILL_DIR}/scripts/full-page-screenshot.mjs" --check
如果 chrome 检查失败,引导用户:打开 chrome://inspect/#remote-debugging,勾选 "Allow remote debugging for this browser instance"。
工作流程
用户描述了已打开的 tab(推荐,尤其是需要登录的页面)
先列出所有 tab,匹配用户描述找到 targetId:
node "${CLAUDE_SKILL_DIR}/scripts/full-page-screenshot.mjs" --list
然后截图该 tab:
node "${CLAUDE_SKILL_DIR}/scripts/full-page-screenshot.mjs" <targetId> <output> [--width N] [--dpr N]
用户给了 URL
一条命令完成全部流程(建 tab → 等加载 → 截图 → 关 tab):
node "${CLAUDE_SKILL_DIR}/scripts/full-page-screenshot.mjs" --url "<URL>" <output> [--width N] [--dpr N] [--wait N]
注意:--url 模式创建后台 tab。对于需要登录的内部系统(如 SAP、企业 SSO),后台 tab 可能无法完成认证。此时应引导用户先在 Chrome 中打开页面,然后使用 targetId 模式截图。
参数说明
| 参数 | 说明 | 默认值 |
|---|---|---|
output | 输出文件路径 | /tmp/screenshot.png |
--width | 视口宽度(CSS 像素)。文章页 1200,宽表格/面板 1440-1920 | 1200 |
--dpr | 设备像素比。2 可获 Retina 清晰度,但体积翻 4 倍 | 1 |
--wait | 页面加载超时(毫秒),仅 --url 模式 | 15000 |
验证输出
sips -g pixelWidth -g pixelHeight <output>
裁剪局部验证(需要 Pillow):
from PIL import Image
img = Image.open("<output>")
w, h = img.size
img.crop((0, 0, w, 1500)).save("/tmp/check_top.png")
img.crop((0, h-1500, w, h)).save("/tmp/check_bottom.png")
核心能力
- SPA 内部滚动容器:自动检测
overflow-y: auto/scroll的容器,用!important覆盖 CSS 高度约束(含 Tailwindh-[calc(...)]等),展开全部内容后截图 - DOM 稳定等待:
readyState=complete后继续监测 DOM 元素数量变化,直到 SPA 数据渲染完成 - 懒加载处理:逐步滚动触发 IntersectionObserver,等待所有
img.complete - 超长页面分片:>16000px 的页面自动分片截取(每片 8000px),用 Python PIL 拼接
- Proxy 兼容:当 web-access CDP Proxy 运行时,自动检测并通过 proxy API 完成截图(滚动容器分片拼接)
注意事项
- 超长页面(> 20000px)在高 DPR 下可能导致 Chrome 内存问题。遇到此情况降低
--dpr到 1 或减小--width。 --url模式会自动创建后台 tab 并在截图后关闭,不影响用户已有 tab。- 截图期间会临时改变页面视口尺寸和滚动容器样式,完成后自动恢复。
- 脚本通过读取
DevToolsActivePort文件发现 Chrome 调试端口,直连 WebSocket,无需任何代理或中间服务。 - 分片拼接需要 Python 3 + Pillow(macOS 通常已安装)。无 Pillow 时会保留分片文件。
- 当 web-access 的 CDP Proxy 在运行时,脚本先尝试直连,超时后降级到 proxy API(通过 /eval 和 /screenshot 端点操作)。
GitHub 저장소
Frequently asked questions
What is the full-page-screenshot skill?
full-page-screenshot is a Claude Skill by LewisLiu007. Skills package instructions and resources that Claude loads on demand, so Claude can perform full-page-screenshot-related tasks without extra prompting.
How do I install full-page-screenshot?
Use the install commands on this page: add full-page-screenshot to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.
What category does full-page-screenshot belong to?
full-page-screenshot is in the Other category, tagged general.
Is full-page-screenshot free to use?
Yes. full-page-screenshot is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.
연관 스킬
LlamaGuard는 폭력 및 혐오 발언 등 6가지 안전 범주에서 LLM 입력과 출력을 조정하기 위한 Meta의 70-80억 파라미터 모델입니다. 94-95% 정확도를 제공하며 vLLM, Hugging Face 또는 Amazon SageMaker를 사용해 배포할 수 있습니다. 이 기술을 사용하여 AI 애플리케이션에 콘텐츠 필터링 및 안전 가드레일을 손쉽게 통합하세요.
이 Claude Skill은 리소스 적정화, 태깅 전략, 지출 분석을 통해 개발자들이 클라우드 비용을 최적화할 수 있도록 지원합니다. AWS, Azure, GCP에서 클라우드 비용을 절감하고 비용 거버넌스를 구현하기 위한 프레임워크를 제공합니다. 인프라 비용을 분석하거나, 리소스를 적정화하거나, 예산 제약을 충족해야 할 때 사용하세요.
이 Claude Skill은 스프레드, 오버/언더, 프로프 베트를 포함한 스포츠 베팅 시장을 분석합니다. 역사적 추이와 상황별 통계를 검토하여 가치 베트를 발견하고, 교육적 목적으로 실행 가능한 권장 사항이 담긴 구조화된 마크다운 결과를 제공합니다. 개발자는 이 기능을 스포츠 베팅 분석 도구에 활용할 수 있으며, 단순히 엔터테인먼트/교육 목적으로만 설계되었음을 유의해야 합니다.
이 스킬은 bitsandbytes를 사용하여 LLM을 8비트 또는 4비트 정밀도로 양자화하며, 최소한의 정확도 손실로 50-75%의 메모리 감소를 달성합니다. 제한된 GPU 메모리에서 더 큰 모델을 실행하거나 추론을 가속화하는 데 이상적이며, INT8, NF4, FP4와 같은 형식을 지원합니다. 이 스킬은 HuggingFace Transformers와 통합되어 QLoRA 학습 및 8비트 옵티마이저를 가능하게 합니다.
