Skip to content
Back to skills

Pdf Word Reader Zh

ASecurity

End-to-end document understanding for `.pdf`, `.docx`, and `.pptx` (auto convert to PDF). Use when users ask to read, summarize, extract, analyze, compare, audit, or fully understand document content with evidence-based chunk citations.

  • 225 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 4, 2026
researchpythonbash

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 13 files and shows the line behind each finding

Scanned September 4, 2026

npx -y skills add NeverSight/skills_feed --skill pdf-word-reader-zh --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pdf Word Reader Zh?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pdf Word Reader Zh
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/neversight-pdf-word-reader-zh/badge)](https://www.skillsdirectory.com/skills/neversight-pdf-word-reader-zh)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pdf-word-reader-zh
description: End-to-end document understanding for `.pdf`, `.docx`, and `.pptx` (auto convert to PDF). Use when users ask to read, summarize, extract, analyze, compare, audit, or fully understand document content with evidence-based chunk citations.
---

# PDF Word Reader ZH

## Purpose

Turn a document path into three analysis artifacts:

- structured extraction
- chunked evidence index
- understanding report scaffold

Use this skill when output quality requires traceable evidence, not only a short summary.

## Input Support

- `.pdf`
- `.docx`
- `.pptx` (convert to PDF first)

For `.doc`, convert to `.docx` before using this skill.

## One-Command Execution

```bash
python scripts/prepare_document_context.py "<input-file>" --output-dir "output/document-understanding"
```

## Decision Flow

1. Detect input type by extension.
2. If `.pptx`, convert to PDF:
- Prefer `soffice` when available.
- Fallback to Microsoft PowerPoint COM on Windows.
3. Extract content:
- PDF: page text + table extraction; use OCR fallback for low-text pages.
- DOCX: paragraphs + table extraction.
4. Normalize and chunk long text into stable chunk IDs (`C001`, `C002`, ...).
5. Generate understanding scaffold with evidence index.

## Output Contract

Write the following files to output directory:

- `01_extracted.json`
- `02_chunks.json`
- `03_understanding_report.md`

### `01_extracted.json`

Must include:

- `source_file`
- `file_type`
- `full_text`
- structure fields (`pages` or `paragraphs/tables`)
- warnings and runtime metadata when available

### `02_chunks.json`

Must include:

- `chunk_count`
- `chunks[]` with fields:
- `chunk_id`
- `char_count`
- `estimated_tokens`
- `text`

### `03_understanding_report.md`

Must include:

- document profile
- key lines
- chunk evidence index
- deliverable template for final analysis

## Recommended Parameters

- `--disable-ocr`: disable OCR fallback
- `--max-pages N`: quick verification on first N pages
- `--fail-on-empty`: stop when no text extracted

## Error Handling Rules

If conversion/extraction fails:

1. Return a concrete cause (missing dependency, unsupported format, conversion error).
2. Provide exact next action (install command or format conversion step).
3. Do not fabricate extracted content.

If extracted text is low quality:

1. Keep warnings in output metadata.
2. Continue chunking with available text.
3. Explicitly mark uncertainty in report.

## Dependency Baseline

Install Python deps:

```bash
python -m pip install -r requirements.txt
```

Recommended system tools:

- `tesseract` + `chi_sim`
- `pdftoppm` (Poppler)
- `soffice` (LibreOffice), or Microsoft PowerPoint (Windows)

## Final Analysis Rules

When producing final conclusions from output artifacts:

1. Read all chunks before writing conclusions.
2. Cite chunk IDs for key claims, e.g. `[C003][C011]`.
3. Separate facts from assumptions.
4. List missing evidence and unresolved questions.
5. Keep numeric claims exactly aligned with extracted text.

## Minimal Working Examples

PDF:

```bash
python scripts/prepare_document_context.py "./report.pdf" --output-dir "./out"
```

DOCX:

```bash
python scripts/prepare_document_context.py "./report.docx" --output-dir "./out"
```

PPTX:

```bash
python scripts/prepare_document_context.py "./slides.pptx" --output-dir "./out"
```

Files in this skill

  • SKILL.md3.3 KB
  • description_ar.txt443 B
  • description_cn.txt229 B
  • description_de.txt324 B
  • description_en.txt237 B
  • description_es.txt300 B
  • description_fr.txt335 B
  • description_it.txt308 B
  • description_ja.txt357 B
  • description_ko.txt296 B
  • description_ru.txt537 B
  • description_tw.txt235 B
  • stats.json69 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in research →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.