Communitygithub.com

Rylai PDF

로컬 오픈소스 도구로 PDF 파일을 생성, 검사, 추출, 병합, 분할, 회전 및 렌더링하며, 구조적 및 시각적 검증을 포함합니다.

Rylai PDF란 무엇인가요?

Rylai PDF는 개발자와 AI 에이전트 사용자가 Python 기반의 로컬 오픈소스 도구를 통해 PDF 파일을 완전히 제어할 수 있도록 설계된 스킬입니다. 이 스킬은 pypdf, pdfplumber, pypdfium2, Poppler, LibreOffice 등 다양한 도구를 활용하여 PDF의 페이지 수준 검사, 텍스트 추출, 페이지 추출, 병합, 분할, 회전 및 렌더링을 수행합니다. 주요 특징으로는 모든 작업이 로컬에서 이루어지며, 사용자의 명시적 요청 없이 외부 서비스에 문서를 업로드하지 않아 보안과 프라이버시를 보장합니다. 또한 작업 전후에 문서의 무결성을 검증하고, 선택적 종속성이 없는 경우 이를 건너뛰고 결과를 보고합니다. 스킬은 Claude Code, Cursor, Codex 등 다양한 AI 에이전트 플랫폼과 호환되며, 번들 CLI를 통해 명령어 기반으로 직관적으로 사용할 수 있습니다. 사용자는 입력 파일 경로, 작업 유형, 출력 경로 및 페이지 범위를 지정하면, 스킬이 자동으로 필요한 도구를 확인하고 설치한 후 작업을 수행하며 최종 결과의 품질을 확인합니다.

지원 대상✓Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/Rylaispirit/rylai-codex-hermes-skills/tree/HEAD/skills/pdf

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

Rylai PDF은(는) 무엇을 하나요?

Rylai가 제작한 Codex-Hermes-Claude 스킬입니다.

로컬 파일과 결정론적 도구를 사용하세요. 사용자가 명시적으로 제자리 교체를 요청하지 않는 한 원본 문서를 보존하십시오. 암호를 임의로 생성하거나, 자격 증명을 포함시키거나, 직접 승인 없이 문서를 외부 서비스에 업로드하지 마세요.

런타임

Python 3과 함께 다음을 사용하세요:

  • pypdf: 페이지 수준 검사 및 편집용.
  • pdfplumber: 더 높은 품질의 텍스트 추출이 필요할 때 유용.
  • pypdfium2 또는 Poppler pdftoppm: 선택적인 페이지 렌더링용.
  • LibreOffice: Office 소스를 PDF로 변환할 때만 사용.

설치 전에 먼저 확인:

python -c "import pypdf; print(pypdf.__version__)"
python -c "import pdfplumber; print(pdfplumber.__version__)"

누락된 Python 패키지만 설치:

python -m pip install pypdf pdfplumber pypdfium2

scripts/rylai_pdf.py를 이 스킬 디렉토리를 기준으로 상대 경로로 해결하세요.

워크플로우

  1. 입력 경로, 요청된 작업, 출력 경로 및 페이지 범위를 확인합니다.
  2. 익숙하지 않거나 암호화된 PDF를 편집하기 전에 info를 실행합니다.
  3. 새 출력 경로에 작성합니다. 교체가 의도된 경우에만 --force를 사용합니다.
  4. 결과를 다시 열고 페이지 수, 메타데이터 및 해당되는 경우 추출된 텍스트를 확인합니다.
  5. 레이아웃에 민감한 작업의 경우 대표 페이지를 렌더링하고 PNG 출력을 검사합니다.
  6. Poppler, LibreOffice, OCR 또는 다른 선택적 종속성이 없는 경우 건너뛴 검사를 보고합니다.

유용한 텍스트 레이어가 없는 스캔된 페이지의 경우, 사용 가능한 로컬 OCR 엔진을 사용하세요. 원본 PDF를 유지하고 어떤 OCR 도구와 언어 모델이 사용되었는지 명시하세요.

번들 CLI

검사:

python scripts/rylai_pdf.py info input.pdf

선택된 페이지 추출:

python scripts/rylai_pdf.py extract input.pdf output.txt --pages 1-3,7

병합:

python scripts/rylai_pdf.py merge output.pdf first.pdf second.pdf

선택된 페이지를 개별 파일로 분할:

python scripts/rylai_pdf.py split input.pdf output-pages --pages 2-5

선택된 페이지를 시계 방향으로 회전:

python scripts/rylai_pdf.py rotate input.pdf rotated.pdf 90 --pages 1,3

로컬 PDFium 또는 Poppler로 렌더링:

python scripts/rylai_pdf.py render input.pdf rendered-pages --dpi 144

사용자가 해당 문서의 암호를 제공한 경우에만 --password를 추가하세요.

품질 기준

  • 출력 파일이 복구 경고 없이 열려야 합니다.
  • 페이지 순서, 개수, 회전 및 선택된 범위가 요청과 일치해야 합니다.
  • 추출된 텍스트가 조용히 비어 있지 않아야 하며, 스캔된 페이지를 식별해야 합니다.
  • 렌더링된 페이지에 예상치 못한 잘림이나 빈 출력이 없어야 합니다.
  • 소스 파일, 임시 파일, 암호 또는 사용자 경로가 스킬에 포함되지 않아야 합니다.

Individual skills in this repo

This repo contains 12 individual skills — each has its own dedicated page.

Rylaispirit/rylai-codex-hermes-skills

Plan, build, render, and verify academic presentation decks with citations, accessible visuals, clear argument flow, speaker-ready pacing, and visual QA.

Rylaispirit/rylai-codex-hermes-skills

Create publication-quality chart images from supplied data using an available plotting library, with explicit scales, labels, and visual QA.

Rylaispirit/rylai-codex-hermes-skills

Plan, draft, and review persuasive copy for landing pages, product pages, ads, email, headlines, offers, calls to action, positioning, and message variants.

Rylaispirit/rylai-codex-hermes-skills

Plan, draft, revise, and audit creative or long-form writing with a portable core workflow that does not depend on missing legacy templates.

Rylaispirit/rylai-codex-hermes-skills

Create, inspect, edit, and verify Word DOCX files with python-docx, including Markdown conversion, text replacement, metadata inspection, and optional PDF render.

Rylaispirit/rylai-codex-hermes-skills

Create or optimize marketing images, social graphics, product mockups, banners, cover art, listing visuals, brand assets, image prompts, WebP files, and OG images.

Rylaispirit/rylai-codex-hermes-skills

Create, inspect, extract, edit, render, and verify PowerPoint presentations with python-pptx and optional LibreOffice.

Rylaispirit/rylai-codex-hermes-skills

Create editable PowerPoint decks from a local JSON specification using Rylai's visual system, python-pptx, deterministic slide types, and optional rendering.

Rylaispirit/rylai-codex-hermes-skills

Perform an evidence-led SEO audit using accessible pages, source code, crawl data, and current search documentation without assuming missing plugins.

Rylaispirit/rylai-codex-hermes-skills

Extract a practical design system from screenshots or mockups and produce implementation-ready UI specifications using vision and repository context.

Rylaispirit/rylai-codex-hermes-skills

Plan and produce video with available AI tools or programmatic frameworks. Use for video prompts, avatars, explainers, demos, templates, pipelines, and generation.

Rylaispirit/rylai-codex-hermes-skills

Create, inspect, edit, and verify Excel XLSX workbooks with openpyxl, including CSV import, formulas, styling, error checks, and optional LibreOffice rendering.

관련 스킬