Chat with PDF について
PDFへの質問、要約、情報抽出を行い、ページや節を示す引用付きで回答するスキルです。複数の文書を比較することもできます。
主な機能
- 01PDFへの質問応答
- 02詳細度を指定した要約
- 03指定情報の抽出
- 04複数文書の比較
- 05出典箇所付きの回答
活用シーン
- 01契約条項と義務の確認
- 02研究論文の分析
- 03財務報告書からの指標抽出
- 04複数契約の比較
インストール
コマンドをコピーしてターミナルで実行します。
$
npx skills add https:/ / github.com/ claude-office-skills/ skills --skill chat-with-pdfインストール後、Claude Code で/chat-with-pdfを入力して読み込まれたか確認します。
詳細
PDF とのチャット
PDF 文書について、質問したり、要約を取得したり、特定の情報を抽出したりして、対話できます。
概要
このスキルでは、次のことができます。
- PDF の内容について質問する
- 詳細度を変えて要約を取得する
- 特定のデータ項目を抽出する
- 複数の PDF 間で情報を比較する
- 関連するセクションをすばやく見つける
使用方法
基本的なやり取り
- PDF 文書を共有またはアップロードします
- 質問やリクエストを伝えます
- 引用付きで、文脈に沿った回答を取得します
質問の種類
事実に関する質問
"What is the contract value mentioned in this document?"
"Who are the parties involved in this agreement?"
"What are the key dates mentioned?"
要約
"Summarize this document in 3 bullet points"
"Give me an executive summary"
"What are the main topics covered?"
抽出
"Extract all names and titles mentioned"
"List all financial figures in the document"
"Find all action items or deliverables"
分析
"What are the risks mentioned in this contract?"
"Are there any ambiguous terms?"
"What obligations does Party A have?"
出力形式
質疑応答形式
**Question**: [Your question]
**Answer**: [Direct answer to your question]
**Source**: Page [X], Section [Y]
> "[Relevant quote from document]"
**Confidence**: [High/Medium/Low]
要約形式
## Document Summary
**Type**: [Contract/Report/Manual/etc.]
**Pages**: [X]
**Date**: [If mentioned]
### Key Points
1. [Main point 1]
2. [Main point 2]
3. [Main point 3]
### Important Details
- [Detail 1]
- [Detail 2]
抽出形式
## Extracted Information
### [Category 1]
| Item | Value | Location |
|------|-------|----------|
| [Item 1] | [Value] | Page X |
| [Item 2] | [Value] | Page Y |
### [Category 2]
...
ベストプラクティス
より良い回答を得るには
- 具体的に伝える:「契約について教えて」ではなく、「解除条項は何ですか?」
- セクションを指定する:「第 5.2 条には責任について何と書かれていますか?」
- 追加の質問をする:前の回答を踏まえて質問し、理解を深めます
より良く抽出するには
- 形式を指定する:「表形式で抽出」または「箇条書きで列挙」
- フィールドを指定する:「名前、日付、金額、説明を抽出」
- 条件を設定する:「$10,000 を超える金額のみを抽出」
より良い要約を得るには
- 長さを指定する:「100 語で要約」または「箇条書き 3 点」
- 焦点を指定する:「財務条件のみを要約」
- 対象読者を指定する:「経営陣向けに要約」または「法務チーム向けに要約」
ワークフローの例
契約書のレビュー
1. "What type of contract is this?"
2. "Who are the parties and what are their roles?"
3. "What are the key obligations for each party?"
4. "What is the term and renewal process?"
5. "What are the termination conditions?"
6. "Are there any unusual or concerning clauses?"
研究論文の分析
1. "What is the main thesis or hypothesis?"
2. "What methodology was used?"
3. "What are the key findings?"
4. "What are the limitations mentioned?"
5. "What future research do they suggest?"
財務報告書
1. "What is the total revenue reported?"
2. "How does this compare to last year?"
3. "What are the main expense categories?"
4. "What guidance is given for next quarter?"
5. "Extract all financial metrics into a table"
複数文書のサポート
複数の PDF を扱う場合:
"Compare the terms in Contract A vs Contract B"
"Which document mentions [topic]?"
"Create a summary table comparing key points across all documents"
比較結果の出力
## Document Comparison
| Aspect | Document A | Document B |
|--------|------------|------------|
| Term Length | 2 years | 3 years |
| Value | $50,000 | $75,000 |
| Termination | 30 days notice | 60 days notice |
### Key Differences
1. [Difference 1]
2. [Difference 2]
### Similarities
1. [Similarity 1]
2. [Similarity 2]
課題への対応
スキャンした PDF(画像ベース)
- OCR が自動的に適用されます
- 認識品質はスキャンの品質によって異なります
- 認識エラーが発生する場合があります
複雑なレイアウト
- 表は再フォーマットが必要な場合があります
- 複数段組みのテキストは左から右に処理されます
- 脚注は個別に処理されます
長い文書
- 正確性を高めるため、特定のセクションについて質問します
- 全体像を把握するには、ページごとの要約を依頼します
- 範囲の広い質問より、対象を絞った質問を使います
制限事項
- PDF に埋め込まれたコードは実行できません
- パスワードで保護された PDF にはパスワードが必要です
- 非常に大きな PDF(500 ページ以上)は分割が必要な場合があります
- 手書き文字の認識には限界があります
- スキャンした文書の正確性を 100% 保証することはできません
- グラフや画像は説明されますが、数値分析は行われません
プライバシーに関する注意
文書の内容は、AI プロバイダーのプライバシーポリシーに従って処理されます。機密文書を扱う場合は、次の方法をご検討ください。
- オンプレミスのソリューションを使用する
- 事前に機密情報をマスキングする
- データ保持ポリシーを確認する
コメント
Markdown 対応