본문으로 건너뛰기
Skillpedia
이미지 및 아이콘40k · #7267

latchshot-page-capture

하는 일

이 도구는 공개 웹 페이지의 사진(스크린샷)을 찍어 PNG, JPEG, PDF 파일로 컴퓨터에 저장합니다. 페이지 전체를 저장하거나 PDF를 만들 수도 있습니다.

사용하는 경우

  • ✓보고서용으로 웹 페이지를 이미지로 저장할 때.
  • ✓소셜 미디어용 웹사이트 썸네일을 만들 때.
  • ✓보관을 위해 웹 페이지를 PDF 파일로 바꿀 때.

스킬 링크

https://github.com/github/awesome-copilot/blob/main/skills/latchshot-page-capture/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/latchshot-page-capture/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“NASA 웹사이트 홈페이지의 스크린샷을 찍어 PNG로 저장해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

공개 웹 페이지의 링크를 제공하면, 도구가 그 페이지에 접속해 이미지나 PDF 파일을 만듭니다. 화면에 보이는 내용을 저장하는 방식으로 작동합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Latchshot page capture

Use the bundled dependency-free client to turn one public webpage URL into a validated local PNG, JPEG, or PDF. Start with a constrained no-key JPEG demo when appropriate. Authenticated commands send the API key only to the fixed https://latchshot.fly.dev origin, and every artifact is written atomically.

Latchshot is a hosted third-party service maintained by this skill's contributor. Keep its use optional and preserve an existing local-browser workflow when the task needs private pages or unsupported browser actions.

Prerequisite

Require Node.js 20 or newer and network access. Read the key only from LATCHSHOT_API_KEY for authenticated capture and usage commands.

If the variable is missing, use the no-key demo for one bounded JPEG when it fits the request. For PNG, PDF, full-page, cleanup, or repeat work, direct the user to the Agent Skills setup documentation, then stop. Never ask the user to paste a key into chat, a command argument, source code, a committed file, or output. Never print or return the key.

No-key demo

Use this command for a public page when a viewport JPEG is acceptable:

node scripts/latchshot.mjs demo \
  --url 'https://example.com' \
  --output './artifacts/example-demo.jpg'

The demo is JPEG-only, does not use an account or render quota, and allows three attempts per IP address per hour. It accepts only width, height, query confirmation, and explicit overwrite options. The public URL is still sent to Latchshot, and the request carries the coarse agentskill acquisition label. Reject private pages, secrets, signed URLs, and authenticated access exactly as in the capture workflow. Treat the result as a proof artifact, not as a customer activation or plan signup.

Capture workflow

  1. Confirm the target is a public HTTP or HTTPS page. Reject credentials, private/internal pages, non-web ports, signed URLs, query secrets, and any request requiring login, cookies, CAPTCHA handling, proxy rotation, arbitrary scripts, clicks, typing, or anti-bot bypass.

  2. Choose a user-approved output path. Infer the format from .png, .jpg/.jpeg, or .pdf, or pass the matching --format explicitly.

  3. Run the client from this skill directory:

    node scripts/latchshot.mjs capture \
      --url 'https://example.com' \
      --output './artifacts/example.png'
    
  4. For a bounded full-page screenshot that activates lazy content:

    node scripts/latchshot.mjs capture \
      --url 'https://example.com' \
      --output './artifacts/example-full.png' \
      --full-page \
      --scroll-page
    
  5. For a PDF:

    node scripts/latchshot.mjs capture \
      --url 'https://example.com' \
      --output './artifacts/example.pdf' \
      --paper A4
    
  6. Parse the one-line JSON result. Confirm ok, output, format, contentType, and bytes; inspect the local artifact when the surrounding task requires visual or document verification. Report the path and relevant render/quota diagnostics without exposing the key.

Run node scripts/latchshot.mjs --help for the exact bounded options. Use --block-ads, --block-trackers, --block-chats, --hide-cookie-banners, and --hide-popups only as best-effort cleanup—not bypass. Use --allow-query only after confirming that the query contains no credential, signature, token, customer data, or other secret. The client refuses to overwrite a file unless --force is explicit.

Read quota

Use the read-only command when the user asks about remaining renders or reset time:

node scripts/latchshot.mjs usage

This does not consume render quota or change a plan.

Failure handling

  • Read the structured error code and message from stderr; do not retry validation or authentication failures.
  • For demo_limit, wait for the hourly reset rather than looping or switching identities.
  • For rate_limited, wait for the reported reset or retry-after boundary rather than looping.
  • For a render failure, state the failure and preserve any existing output file. Do not silently substitute a local browser, a different provider, or unsupported private-page access.
  • Do not initiate an upgrade, checkout, payment, implementation request, or other commercial action. Those remain user- and owner-controlled.

Hard boundaries

…

자주 묻는 질문

로그인이 필요한 페이지에도 쓸 수 있나요?

아니요. 이 도구는 누구나 로그인하거나 개인 정보를 제공하지 않고도 접근할 수 있는 웹 페이지에서만 작동합니다.

페이지에서 특정 정보를 추출할 수 있나요?

아니요. 이 도구는 페이지를 이미지나 PDF로 캡처할 뿐, 특정 텍스트나 데이터를 추출해 주지는 않습니다.

페이지가 완전히 로드되지 않으면 어떻게 되나요?

도구는 콘텐츠가 천천히 로드되더라도 전체 페이지를 캡처하려고 시도하지만, 로딩 문제가 있으면 모든 것이 캡처된다고 보장할 수 없습니다.

상세 정보

작성자의 원본 설명

Use this skill when a user needs a screenshot, website thumbnail, full-page capture, or PDF of a public HTTP(S) webpage saved as a local artifact through Latchshot, including report, QA, archive, and social-preview workflows. Do not use it for private or authenticated pages, raw HTML, scraping or extraction, arbitrary browser actions, CAPTCHA or anti-bot bypass, or local-file capture.

repo: github/awesome-copilot

인기도

GitHub 스타
40k
순위
#7267
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬