본문으로 건너뛰기
Skillpedia
PDF, Word, 슬라이드260k · #611

pdf

하는 일

이 스킬은 보고서 작성부터 양식 채우기까지 다양한 PDF 작업을 AI가 처리하도록 합니다. PDF 파일을 다루며 그 작업을 자동으로 맡기고 싶은 사람을 위한 스킬입니다.

사용하는 경우

  • ✓보고서, 청구서, 여러 페이지 문서를 PDF로 만들고 싶을 때.
  • ✓채울 수 있는 PDF 양식을 작성하거나 PDF에서 텍스트와 표를 뽑고 싶을 때.
  • ✓PDF 파일을 합치거나, 나누거나, 회전하거나, 워터마크를 넣거나, 암호화하고 싶을 때.

스킬 링크

https://github.com/NousResearch/hermes-agent/blob/main/skills/productivity/pdf/SKILL.md

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

사용 방법

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

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

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

AI에게 요청하는 예시

“이 PDF 청구서 세 개를 하나의 파일로 합치고, 각 페이지에 Draft 워터마크를 넣어 주세요.”

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

작동 방식

이 스킬은 pypdf, reportlab, pdfplumber 같은 파이썬 도구로 PDF를 읽고, 만들고, 수정합니다. 스캔 파일에는 별도의 OCR 참조 파일을, 텍스트 편집에는 별도의 편집 도구를 사용합니다.

기술 내용 (원본 SKILL.md)

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

PDF Skill

Create PDFs from structured specs, build and fill AcroForm forms (with layout linting and visual overlays), extract text/tables/metadata, merge/split/rotate/watermark/stamp pages, export page images, manage metadata and attachments, and encrypt/decrypt — using pypdf, reportlab, and pdfplumber. Two absorbed capabilities live in references/ (read the matching file before those tasks):

  • Scanned/image-only PDFs and OCR (pymupdf fast path, marker-pdf quality path, scripts/extract_pymupdf.py + scripts/extract_marker.py): references/ocr-extraction.md
  • Editing text inside an existing PDF via natural-language prompts (nano-pdf CLI): references/nano-pdf-editing.md

When to Use

  • Generate a report, invoice, or multi-page document as PDF.
  • Build a fillable AcroForm (text/checkbox/radio/dropdown) from a JSON spec, linting the layout first.
  • Pull text, tables (JSON/CSV), metadata, or form-field values out of a PDF.
  • Merge, split, rotate, extract page subsets, watermark, stamp text/images at coordinates, bookmark, or compress PDFs.
  • Export pages as PNGs for visual review or for OCR hand-off; set/clear document metadata; add/extract file attachments.
  • Fill or flatten AcroForm forms; encrypt or decrypt with passwords.
  • NOT for scanned/image-only PDFs (use references/ocr-extraction.md) and NOT for pixel-perfect HTML-to-PDF rendering (use a headless browser).

Prerequisites

  • Python 3.10+ with pypdf, reportlab, pdfplumber.

  • Pick the interpreter with terminal. Use python when it already imports the libraries (the Hermes Docker image ships them). Otherwise, when hermes is on PATH, let Hermes build its shared, pinned documents environment under the Hermes home: it survives container restarts, never touches the Hermes install itself, and is safe to run from several agents at once. When it is not (the terminal runs in a Docker sandbox, which has no Hermes), the block builds a venv in the sandbox home with the same pinned versions. Use this exact block in every document skill so they all share one environment:

    python -c "import pypdf, reportlab, pdfplumber" 2>/dev/null && PY=python || if command -v hermes >/dev/null 2>&1; then
      PY="$(hermes pm environment documents --extra documents --extra documents-pdf)"
    else
      PY="$HOME/.cache/hermes-docs-venv/bin/python"
      "$PY" -c "import docx, openpyxl, pptx, reportlab, pypdf, pdfplumber, pypdfium2" 2>/dev/null || (
        # Safe to run from several agents at once: each caller builds a private venv,
        # a symlink publishes the first finished one atomically, the others delete theirs;
        # a published build is replaced and deleted only while it still fails to import.
        mkdir -p "$HOME/.cache" && cd "$HOME/.cache" && stage="$(mktemp -d hermes-docs-venv.XXXXXX)" || exit 1
        old="$(readlink hermes-docs-venv)"  # the published build, if any (another agent may have just published it)
        python3 -m venv "$stage" &&
          "$stage/bin/python" -m pip install -q --disable-pip-version-check python-docx==1.2.0 openpyxl==3.1.5 python-pptx==1.0.2 reportlab==5.1.0 pypdf==6.21.2 pdfplumber==0.11.10 pypdfium2==5.14.0 &&
          "$stage/bin/python" -c "import docx, openpyxl, pptx, reportlab, pypdf, pdfplumber, pypdfium2" &&
          if [ -z "$old" ]; then python3 -c 'import os, sys; os.symlink(*sys.argv[1:])' "$stage" hermes-docs-venv
          elif [ "$(readlink hermes-docs-venv)" = "$old" ] && ! "$old/bin/python" -c "import docx, openpyxl, pptx, reportlab, pypdf, pdfplumber, pypdfium2" 2>/dev/null; then
            ln -s "$stage" "$stage.lnk" && python3 -c 'import os, sys; os.replace(*sys.argv[1:])' "$stage.lnk" hermes-docs-venv &&
              case "$old" in hermes-docs-venv.??????) rm -rf "$old" ;; esac
          fi 2>/dev/null
        [ "$(readlink hermes-docs-venv)" = "$stage" ] || rm -rf "$stage" "$stage.lnk"
      )
    fi
    export PY
    "$PY" scripts/pdf_create.py --help
    

    Run every helper below with "$PY". In PowerShell (Hermes runs on that host, so it is on PATH): $env:PY = hermes pm environment documents --extra documents --extra documents-pdf. Never pip install into the interpreter that runs Hermes or into the hermes pm environment one; Hermes owns both.

  • Page rasterization (pdf_page_image.py, overlay rendering) uses pypdfium2, which the documents environment already has (if your python lacks it, switch PY to that environment with the command above), or poppler's pdftoppm on PATH.

자주 묻는 질문

스캔한 PDF에도 작동하나요?

직접은 아닙니다. 스킬에 따르면 스캔된 PDF에는 다른 도구를 쓰는 OCR 참조 파일이 필요합니다.

양식을 채울 수 있나요?

네. 스킬은 텍스트, 체크박스, 라디오, 드롭다운 필드가 있는 채울 수 있는 양식을 만들고 채우는 방법을 다룹니다.

웹 페이지를 픽셀 단위로 똑같이 PDF로 만들 수 있나요?

아니요. 스킬은 그런 HTML-PDF 렌더링에는 헤드리스 브라우저가 더 낫다고 말합니다.

상세 정보

작성자의 원본 설명

PDF files: create, read, merge, fill, OCR, edit text.

repo: NousResearch/hermes-agent

인기도

GitHub 스타
260k
순위
#611
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬