In short.
PDF Analysis is a skill for developers and technical analysts working with PDFs, but scanned pages depend on a separately configured captioning script. Its examples cover every page and offer separate methods for selectable text, tables, scans, mixed documents and embedded images. The number helper can pair a scaled amount with an inconsistent unit label, and captioning failures can interrupt processing or leave gaps. Nothing was executed; extraction accuracy, runtime compatibility and operating costs are unknown.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage comprises skills/sn-da-non-spreadsheet-analysis/capability/pdf-analysis/SKILL.md and the repository-root LICENSE at revision 07e7ff8c4bdfd7b79e7402fe94af59d2a5a9749b. The supplied manifest identifies complete coverage of that skill folder. Parent skills, the separate sn-da-image-caption implementation, dependency documentation and captioning services are outside this material. No code, installation, extraction, transcription or end-to-end document workflow was executed.
The overview
identity
PDF Analysis, named pdf-analysis in its metadata, is a capability skill inside OpenSenseNova/SenseNova-Skills. Its location is skills/sn-da-non-spreadsheet-analysis/capability/pdf-analysis. The supplied resource is a SKILL.md document containing assistant instructions and Python examples.
Original source folder: [https://github.com/OpenSenseNova/SenseNova-Skills/tree/main/skills/sn-da-non-spreadsheet-analysis/capability/pdf-analysis]. The separate sn-da-image-caption script referenced by the examples is outside this folder and was not supplied.
assessment
This is a useful starting point for developers who want an assistant to choose an extraction approach and retain page references. Its practical strengths are explicit loops over every page, a method for mixed documents, and reminders to inspect table alignment and units.
Adoption requires development work. The examples share imports and settings, reference a placeholder caption-script path, and contain incomplete error handling and a unit-label mismatch. Reliability for unattended document processing is unassessed.
users
The examples suit developers and technical analysts extracting information from invoices, bank statements, organization charts and long PDF reports. They are particularly relevant when one document contains both selectable text and scanned pages.
Beginners will likely need help preparing Python dependencies and the captioning component. Experienced developers receive adaptable extraction patterns, but no documented agent installation procedure or complete application interface.
capabilities
The document provides examples for detecting text versus scanned PDFs, extracting text across all pages, converting tables into pandas DataFrames, transcribing rendered page images, and routing mixed documents page by page.
Additional helpers extract embedded images, find keyword context throughout a document, identify invoice tables through amount-column names, and parse numbers with several Chinese scale and currency terms. These are documented methods; their accuracy and coverage have not been measured.
Using it
requirements
The examples require Python and PyMuPDF, imported as fitz. Table extraction also uses pdfplumber and pandas; embedded-image filtering uses Pillow. Scan transcription needs a separate caption.py script that accepts an image path and returns JSON containing a description field.
The code requires access to input PDFs and permission to write temporary images. Python and dependency versions, supported operating systems, hardware requirements, caption-model configuration and host-assistant compatibility are unspecified. Whether the captioning backend processes images locally or sends them to a service is unknown.
mechanism
The initial detector samples up to three pages and classifies the document as text-based when their average extracted text exceeds 50 characters. The hybrid method instead makes a decision on each page using a threshold of more than 50 characters.
Text extraction uses PyMuPDF. Table extraction uses pdfplumber and treats each table's first row as column headers. Pages routed to captioning are rendered at 150 DPI by default and passed sequentially to caption.py with a 90-second subprocess timeout. The default Chinese prompts request transcription of text and tables.
The embedded-image helper saves image objects and returns those meeting a default minimum size of 100 by 100 pixels. Captioning those images is a further integration step shown only as a commented example.
setup
Prepare the dependencies required by the chosen methods and assemble their imports, functions and settings from SKILL.md. Replace the CAPTION placeholder with the location of sn-da-image-caption/scripts/caption.py and configure that component separately. Its installation instructions and backend requirements are not included.
The caption subprocess invokes python3, so that interpreter also needs the caption script's dependencies. Adapt input paths, temporary output paths and transcription prompts for the intended documents. The hybrid example reuses earlier definitions, while the suggested caption_image call for embedded charts has no supplied implementation.
example
For an invoice bundle containing selectable-text pages and scanned receipts, the hybrid method could retain extracted text from text-rich pages and request transcription for the others. Page markers would help a reviewer trace extracted amounts back to their source pages.
Where invoice tables have usable PDF structure, the table helper could produce DataFrames for inspection. The invoice example then searches column names for amount-related terms. It does not establish correct invoice identification, deduplication or totals; those steps need document-specific logic and verification. This is an illustrative use, with no execution results.
Assessment & evidence
limitations
The character-count heuristic can misclassify sparse text pages, and sampling the first three pages cannot establish the type of later pages. The text-only extraction function reports pages with no text but does not itself transcribe them. Table extraction assumes the first row contains headers and provides no automatic joining of tables across pages.
By inspection, the number helper multiplies amounts by scale factors while retaining those factors in the returned unit label. For 1,760 千港元, its logic would pair 1,760,000 with a label meaning thousand Hong Kong dollars. That mismatch needs correction before downstream calculations. The expression also lacks explicit handling for negative amounts.
A nonzero caption exit causes the scanned-page helper to log an error and omit that page's text; the hybrid helper inserts a failure marker. Neither shows handling for subprocess timeouts or invalid JSON, which can interrupt processing.
Temporary image names are reused across documents, and cleanup is not shown. Embedded-image extraction may miss charts composed of PDF drawing commands. Transcription accuracy, chart interpretation and sensitive-document handling by the separate captioning backend are unknown.
reasoning
The design is useful because it gives different extraction routes to selectable text and page images. Page markers support tracing results, while inspecting table headers and sample rows can reveal alignment problems before calculations.
For mixed documents, the page-by-page hybrid method is a more suitable starting point than applying one classification to the entire file. However, neither looping through all pages nor generating transcription establishes that every relevant value was captured correctly. The code's unit mismatch and failure paths make independent comparison with source pages necessary.
alternatives
For PDFs with usable selectable text, the included PyMuPDF extraction method can serve directly without captioning. For structured tables, the included pdfplumber and pandas method offers a focused route to inspectable rows and columns.
Scanned documents still require an image transcription component. The supplied material contains no comparison with other OCR engines, document services or assistant skills, so relative accuracy, speed and cost are unknown.
evidence
The available material consists of the complete PDF Analysis SKILL.md and the repository-root MIT licence at revision 07e7ff8c4bdfd7b79e7402fe94af59d2a5a9749b. The document supplies implementation examples and cautions, but no benchmark results, execution logs or evaluated sample documents.
Pinned document: [https://raw.githubusercontent.com/OpenSenseNova/SenseNova-Skills/07e7ff8c4bdfd7b79e7402fe94af59d2a5a9749b/skills/sn-da-non-spreadsheet-analysis/capability/pdf-analysis/SKILL.md]. The separate caption script and its backend were not available for assessment. Findings about failure handling and unit scaling follow from reading the supplied code; nothing was run.
Access & freshness
costs
The MIT notice grants permission to use and copy the supplied software without a licence charge. Total operating cost is unknown.
The scan and hybrid examples launch a captioning process for each page routed to image transcription. The caption model, provider, hosting arrangement, prices and usage limits are unspecified. There are no measurements of processing time, memory use or temporary storage.
rights
The repository-root LICENSE is the MIT License, copyright 2026 SenseNova. It permits use, modification, redistribution, sublicensing and sale, provided the copyright and permission notice accompanies copies or substantial portions. It supplies no warranty.
Licence source: [https://raw.githubusercontent.com/OpenSenseNova/SenseNova-Skills/07e7ff8c4bdfd7b79e7402fe94af59d2a5a9749b/LICENSE]. Dependency and caption-service terms are not supplied. This notice does not establish rights to input PDFs or their contents.
freshness
The supplied snapshot was captured on 17 November 2026 at 11:34:15 UTC and identifies revision 07e7ff8c4bdfd7b79e7402fe94af59d2a5a9749b. These findings apply to that revision.
The document provides no release number, dependency version pins or compatibility matrix. Its last substantive update date and changes after this revision are unknown.
actions
Choose the methods needed for the intended PDFs, prepare their dependencies, and configure the separate caption script if scans or image transcription are required. Establish where that script processes page images before using confidential documents.
Correct the number helper's scale/unit pairing, make caption failures visible in the returned result, and handle timeouts and malformed responses. Use distinct temporary paths and define cleanup.
Before relying on extracted totals, compare results with known text PDFs, scans and mixed documents. Include negative amounts, scaled currency units, tables continuing across pages and a forced caption failure. These are recommended evaluation steps; their outcomes are unknown.
