본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

url2pdf

guoqiao 제작

Browser & Automation
946clawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Convert URL to PDF suitable for mobile reading.

설명

이 스킬이 하는 일

Converts a webpage URL to a PDF formatted for mobile reading. Uses Playwright with a headless Chromium browser to render the page accurately. The output PDF path is returned for delivery to the user.

Uses a real browser engine to render pages accurately, capturing styles and layout that simpler HTML-to-PDF converters miss.

사용 시점

  • Save a long article for offline reading on your phone
  • Archive a recipe page as a portable document
  • Convert documentation to PDF for commute reading
  • Preserve a news article before it goes behind a paywall
  • Share a webpage as a file attachment

예시 워크플로

입력

User asks: 'Save https://example.com/article as a PDF for mobile'

에이전트
  1. 1

    Runs url2pdf.py with the provided URL as an argument

  2. 2

    Playwright renders the page in a headless Chromium browser

  3. 3

    Script outputs the path to the generated PDF file

  4. 4

    Agent sends the PDF to the user as a document message

출력

PDF file of the webpage delivered to the user, optimized for mobile screen dimensions

요구 사항

  • uv package manager installed
  • Chromium browser installed via: uvx playwright install chromium

설치

clawhub install guoqiao/url2pdf

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크