Логотип Pdf Extraction

Pdf Extraction

Спільнота
andreaswasita
pdf-extraction

Extract text, tables, citations, forms, and metadata from PDFs as grounded context for downstream M365 Copilot work. Use whenever a source for research-synthesis, decision-memo, or document-summarization arrives as a PDF (contracts, regulatory filings, policy documents, vendor reports, scanned forms, fillable intake forms, academic papers), including encrypted, permission-restricted, hybrid native-plus-scan, or large multi-hundred-page packs. Triggers: "extract from this PDF", "summarize this filing", "pull table from PDF", "OCR this scan", "read the fillable form", "this PDF is password-protected".

Огляд

Видавецьandreaswasita
Репозиторійcopilot-cowork-dojo
Назва навичкиpdf-extraction
Зірки
36
Форки
9
Файли в пакеті
Лише інструкції
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Усе необхідне — в інструкціях

    Усе потрібне моделі міститься в інструкціях — жодних додаткових файлів для синхронізації.

  • Відкритий вихідний код

    Видавець на GitHub: andreaswasita. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Pdf Extraction у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/andreaswasita/copilot-cowork-dojo/tree/main/skills/pdf-extraction
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/andreaswasita/copilot-cowork-dojo.git /tmp/copilot-cowork-dojo
mkdir -p .claude/skills
cp -r /tmp/copilot-cowork-dojo/skills/pdf-extraction .claude/skills/pdf-extraction
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Pdf Extraction в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Pdf Extraction, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Pdf Extraction не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

PDF Extraction

PDFs are where evidence goes to die. Extract it cleanly before you synthesize, or you'll synthesize on top of OCR garbage.

Cowork skill. The deliverable is grounded context for downstream skills (synthesis, memo, summary), not the PDF itself. For programmatic PDF parsing, use the agents dojo.


Quick Reference

TaskApproach
Triage a new PDFClassify (native vs. scan); pull metadata; identify sections
Summarize a long filingSection-by-section extraction -> synthesis, never one-shot summary
Pull a tableRequest markdown / CSV; verify column alignment on a known row
Cite a clauseQuote verbatim with section reference, not page number
Multi-PDF researchPer-PDF metadata first -> cross-document synthesis matrix
Scanned docVerify OCR quality on three random sentences before trusting
Fillable formExtract field values (not glyphs); pair each with its label; flag flattened forms
Encrypted / restrictedNote the restriction; request an unrestricted copy, don't OCR around copy-protection
Hybrid native + scanClassify per section; OCR only the image pages; tag confidence per section

When to Use

  • Any PDF that will become a source citation in a downstream deliverable.
  • Multi-PDF research (regulatory filings, vendor responses, academic papers, due-diligence packs).
  • Tables embedded in PDFs (financial statements, pricing schedules, org charts).
  • Contracts where exact wording matters.

How to Use

  1. Classify the PDF first. Native (selectable text) or scanned (image)? Try selecting a sentence — if it selects cleanly, it's native. Scanned PDFs need OCR; flag if quality is poor.
  2. Pull metadata before content. Title, author, date, version, jurisdiction. Without these you cannot cite the source.
  3. Extract by structure, not by page. Ask for sections / headings / clauses, not "page 3". Page numbers shift between versions.
  4. Tables as tables. Request markdown or CSV — never paragraph form. Verify column alignment on a known row (first total, last row, a row with empty cells).
  5. Quote, don't paraphrase, when the citation matters. Pull the verbatim sentence, then reference it in your synthesis.
  6. Footnotes and endnotes — extract them with the body. They often hold the qualifications.
  7. Hand off cleanly. The output of this skill is a structured context block (sections, quotes, tables) ready for research-synthesis, decision-memo, or document-summarization.

Hard Cases

Most PDFs extract cleanly with the steps above. These are the ones that quietly corrupt your evidence if you treat them like a plain native PDF.

Fillable forms (intake forms, applications, government PDFs). The thing you want is the field value, not the rendered glyphs sitting on top of the field. Extract values paired with their field labels (Applicant Name: Jordan Lee), not a free-floating list of strings. Two traps: a flattened form has been printed-to-PDF, so the values are now just text or an image and the label-to-value pairing is gone — treat it as native text or a scan and reconstruct pairs by position. A live form may also hold values you can't see on the page (cleared, off-page, or default-but-unsubmitted) — extract the visible answer and ignore stale defaults, and say so. Checkboxes and radio buttons read as state, not text: record Citizen: Yes / [X] Married, never the box character.

Encrypted or permission-restricted PDFs. If it asks for a password to open, you need the password — request it, don't guess. If it opens but blocks copy/extract (an owner-permission restriction), that is a signal, not a speed bump: do not OCR-screenshot around a copy restriction to launder protected content. Note the restriction in the context block and ask the owner for an extractable copy. Many "broken extraction" reports are really silent permission blocks.

Hybrid native + scanned. A native document with scanned exhibits stapled in (a typed contract with signed-signature-page images, a filing with photographed appendices) is the most-missed case. Classify per section, not per file: extract the native pages as text, OCR only the image pages, and tag confidence per section so downstream sees Body: verbatim next to Exhibit C: OCR-best-effort.

Rotated, skewed, or multi-orientation pages. Landscape tables dropped into a portrait filing, or a scan fed in sideways, will OCR into nonsense or reflow columns wrong. Confirm orientation before trusting any table from those pages.

Large packs (hundreds of pages). Don't one-shot a 400-page pack. Pull the metadata and the real section map first, then extract the sections the deliverable actually needs. A whole-document dump you can't verify is worse than three verified sections.

Examples

Don't: Anti-exampleDo: Good example
"Summarize this PDF.""Extract the executive summary, the risk-factors section, and Table 4 (revenue by segment) — preserve table structure."
Citing "page 7" of a 200-page filing.Citing "Section 3.2 — Material Risks, paragraph 4."
Paraphrasing a contract clause for a memo.Quoting the clause verbatim; paraphrasing only in the analysis around it.
Treating a scanned PDF as ground truth.Verifying OCR on three random spots; flagging "OCR quality: medium" in the context block.
Dumping a fillable form's text as one flat list.Pairing each value with its field label; recording checkbox state as [X] Married, not the box glyph.
OCR-screenshotting around a copy-restricted PDF.Noting the permission restriction and requesting an extractable copy from the owner.

Critical Rules

  • Native vs. scanned classification is step zero. Skip it and you risk citing OCR garbage as fact.
  • Cite by structure (section / clause / table), never by page. Page numbers drift across PDF readers, exports, and versions.
  • Quote verbatim when binding. Contracts, regulations, financial figures, named-entity references.
  • Preserve tables as tables — markdown or CSV. Paragraph-ified tables lose the column relationships that matter.
  • Tag confidence — "verbatim", "OCR-best-effort", "inferred-from-context". Downstream skills consume this tag.
  • Sensitivity label travels with the content. A Confidential PDF stays Confidential when its content lands in a memo.

Common Pitfalls

  • Treating an OCR'd scan as ground truth without spot-checking three random sentences.
  • Re-flowing a multi-column PDF and not noticing the columns interleaved (very common with academic and legal docs).
  • Losing footnotes / endnotes — that's often where the qualifications live.
  • Tables that span pages reassembled with row offsets — totals end up off by one.
  • Header/footer text (page number, doc title) interleaved into body text.
  • Hyperlinks in the PDF lost during extraction.
  • Encoding artifacts (fi ligature, smart quotes, em-dash) that break downstream search/find.
  • Redacted regions that OCR happily "reads" as random characters.
  • Flattened forms where the value-to-label pairing is already gone, read as a flat string list.
  • A live form's stale default or off-page value extracted as if it were the submitted answer.
  • A native filing with scanned exhibits classified once for the whole file, so the OCR'd exhibits get tagged verbatim.
  • A permission-restricted PDF mistaken for a "broken" extraction instead of a deliberate copy block.

Anti-Patterns

  • Pasting screenshots of PDF pages into chat instead of attaching the file.
  • Asking Copilot to "summarize" before extraction — you can't verify what was summarized.
  • Trusting an exec summary's numbers without cross-checking the body of the document.
  • Using the PDF's auto-generated outline as the section structure when the author obviously hand-numbered sections differently.

Verify Before Hand-Off

  • Source metadata captured (title, author, date, version, jurisdiction).
  • Native / scanned classification recorded; OCR quality noted if scan. For hybrid files, classification + confidence recorded per section.
  • Form fields extracted as label-value pairs; checkbox/radio state recorded as state; flattened-vs-live noted.
  • Encryption / permission restriction noted; no copy-protection bypassed; extractable copy requested if blocked.
  • Sections numbered as the author numbered them (not auto-generated).
  • Tables preserved with correct column alignment; totals tie out.
  • Verbatim quotes flagged; paraphrases flagged separately.
  • Footnotes / endnotes extracted with the body.
  • Sensitivity label propagated to the downstream artifact.
  • Citation format ready for downstream skills.

Related

Поширені запитання

Що робить навичка ШІ Pdf Extraction?

Extract text, tables, citations, forms, and metadata from PDFs as grounded context for downstream M365 Copilot work. Use whenever a source for research-synthesis, decision-memo, or document-summarization arrives as a PDF (contracts, regulatory filings, policy documents, vendor reports, scanned forms, fillable intake forms, academic papers), including encrypted, permission-restricted, hybrid native-plus-scan, or large multi-hundred-page packs. Triggers: "extract from this PDF", "summarize this filing", "pull table from PDF", "OCR this scan", "read the fillable form", "this PDF is password-pr...

Навіщо використовувати Pdf Extraction у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Pdf Extraction — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Pdf Extraction у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/andreaswasita/copilot-cowork-dojo/tree/main/skills/pdf-extraction. TypingMind прочитає файл SKILL.md і встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Pdf Extraction?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Pdf Extraction?

Зі скількома забажаєте. У TypingMind ви можете використовувати Pdf Extraction із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Pdf Extraction?

Так. На GitHub цю навичку публікує andreaswasita за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇