できること
このスキルは、エージェントがPDFファイルに関する多くのよくある作業を行えるようにします。PDFを読んだり、作ったり、変更したりする必要がある人向けです。
使う場面
- ✓PDFファイルからテキストや表を取り出したいとき。
- ✓複数のPDFを一つにまとめる、またはファイルを分割したいとき。
- ✓PDFの記入可能なフォームに記入する、またはページに透かしを追加する必要があるとき。
スキルのリンク
https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/pdf/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私が挙げる順番で、この3つのPDFレポートを1つのファイルに結合してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントはまずPDFを調べ、その後、変更を加えた新しい出力ファイルを作ります。あなたが別の指示をしない限り、元のファイルは変えません。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
PDF documents
Use this Skill for PDF extraction, generation, page operations, forms, metadata, attachments, encryption, and visual review.
Start here
Call skill_view for this Skill first and use the returned baseDirectory for all bundled helpers under <baseDirectory>/scripts.
Default to a new output file. Do not overwrite or remove source PDFs unless the user explicitly asks. Inspect an input before transforming it, and preserve page order, orientation, dimensions, annotations, and form intent unless the request says otherwise.
Common dependencies:
python3 -m pip install pypdf reportlab pdfplumber
Page rendering uses pypdfium2 when available and can fall back to Poppler's pdftoppm. Check dependencies first; do not install them silently.
Helpers
- pdf_read.py: extract text and document information.
- pdf_page_image.py: render selected pages to images.
- pdf_create.py: create a PDF from structured input.
- pdf_merge.py and pdf_split.py: page composition.
- pdf_fill_form.py, pdf_form_layout.py, and pdf_make_form.py: AcroForm inspection, filling, and creation.
- pdf_watermark.py and pdf_stamp.py: page overlays.
- pdf_meta.py: metadata and attachment operations.
- pdf_secure.py: encrypt or decrypt using password files.
Run helpers with terminal_exec, using python3 as the command and an argument array. Use --help to inspect exact arguments.
python3 <baseDirectory>/scripts/pdf_read.py input.pdf --json
python3 <baseDirectory>/scripts/pdf_page_image.py input.pdf -o rendered --pages 1-3
python3 <baseDirectory>/scripts/pdf_merge.py first.pdf second.pdf -o merged.pdf
python3 <baseDirectory>/scripts/pdf_split.py input.pdf -o pages
For form work, read references/forms.md through skill_view before editing.
Workflow
- Inspect text, metadata, page count, page sizes, encryption state, and form fields as relevant.
- Perform the smallest requested transformation into a new output.
- Re-read the output to verify page count, text, metadata, attachments, or field values.
- Render every changed page, or a representative sample for a large generated document, and inspect it with view_image. Check crop boxes, rotation, clipping, font rendering, overlays, and form appearance.
- Return the absolute output path and list any validation limitations.
Use OCR only when normal text extraction is empty or clearly incomplete. Route scanned documents through the ocr-and-documents Skill.
Passwords and sensitive PDFs
- Do not put PDF passwords in chat, logs, or command arguments.
- Store a supplied password in a temporary file with restrictive permissions and pass --password-file, --user-password-file, or --owner-password-file. Remove that temporary file after the operation.
- PDF permission flags are advisory; do not describe them as strong access control.
- Do not send sensitive PDF contents to external services without the user's authorization.
よくある質問
元のPDFを上書きしますか?
いいえ。既定では新しいファイルを書き、元のファイルはあなたが依頼しない限り削除しません。
パスワードで保護されたPDFも扱えますか?
はい。パスワードファイルを使ったPDFの暗号化と復号に対応しています。
フォームに記入できますか?
はい。記入可能なフォーム項目、つまりPDFの標準のフォーム項目を調べ、記入し、作成できます。
詳細
作者による元の説明
Read, create, merge, split, fill, watermark, stamp, secure, inspect, render, and visually verify PDF files, including AcroForm workflows.
repo: EKKOLearnAI/ekko-studio
人気
- GitHubのスター
- 12k
- ランキング
- #11573
- ライセンス
- —
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
1password
12kエージェントが、1PasswordのCLIを使って、コマンドや設定ファイルに必要な秘密情報を、チャット、ログ、保存されたファイルに表示せずに取得できるよう支援します。
apple-notes
12kエージェントが、memoコマンドラインツールを使って、Macのメモ(Apple Notes)を作成、検索、読み取り、編集、移動、削除できるよう支援します。
apple-reminders
12kエージェントが、remindctlツールを使って、Macのリマインダーとリマインダーのリストを一覧表示、作成、編集、完了、削除できるよう支援します。
document-to-action-items
12kエージェントが、文書、会議の書き起こし、メモを、タスク、担当者、期限、決定事項の明確な表に変換できるよう支援します。
似ているスキル
feishu-doc
394kテキスト、画像、表を含むFeishuのクラウドドキュメントを、ドキュメントツールを使って読み、作成し、編集するようエージェントを支援します。
feishu-drive
394kボットと共有されたFeishuのクラウドフォルダ内のファイルを閲覧、整理、コメントできるようエージェントを支援します。
feishu-perm
394kFeishuのファイルにアクセスできる人を確認し、変更するようエージェントを支援します。依頼を満たす最小の権限を選びます。