← Back to Skills Marketplace
zhuo-yoyowz

Local Document AI OpenVINO

by Zhuo Wu · GitHub ↗ · v0.1.2 · MIT-0
cross-platform ✓ Security Clean
80
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install local-document-ai-openvino
Description
Parse local PDFs and document images with PaddleOCR-VL or PaddleOCR-VL-1.5 on OpenVINO, then route the structured parse into downstream document-to-data or d...
README (SKILL.md)

Local Document AI with OpenVINO

Use this skill as a local document-to-action pipeline:

  1. Parse the document into a canonical structured representation.
  2. Optionally continue into to-data or to-code.
  3. Save outputs into a predictable artifact folder with traceability.

Read only if needed

Load these references when you need the schema or output contracts:

  • {baseDir}/references/schema.md
  • {baseDir}/references/mode_guide.md
  • {baseDir}/references/output_contracts.md

Primary entrypoints

Use exactly one of these entrypoints:

  • CLI orchestrator: {baseDir}/scripts/run_skill.py
  • Optional local demo UI: {baseDir}/scripts/serve_skill_ui.py

Do not call these implementation scripts directly from the skill:

  • parse_document.py
  • transform_doc_to_data.py
  • transform_doc_to_code.py

Local readiness

Check the environment before processing real documents:

python "{baseDir}/scripts/check_env.py"

Install the base dependencies in a virtual environment:

python -m pip install -r "{baseDir}/requirements.txt"

Install the third-party paddleocr_vl_openvino package only after reviewing the source or wheel and only when you intend to run the real OCR pipeline. Prefer installing from a reviewed local wheel path inside a virtual environment.

Run a quick orchestration smoke test:

python "{baseDir}/scripts/smoke_test.py"

Model assets are discovered from:

  • PADDLEOCR_VL_OPENVINO_MODEL_DIR
  • PADDLEOCR_VL_LAYOUT_MODEL_DIR plus PADDLEOCR_VL_VLM_MODEL_DIR
  • {baseDir}/models/paddleocr-vl-1.5-openvino/
  • {baseDir}/models/paddleocr-vl-openvino/

Allow model auto-download only when the user explicitly approves it.

Supported modes

parse

Use when the user wants the structured parse only.

Outputs:

  • parsed.json
  • parsed.md
  • result_report.html
  • extracted layout, tables, or figures when available

to-data

Use when the user wants structured extraction, normalization, or document classification.

Typical outputs under task_output/:

  • entities.json
  • kv_pairs.json
  • table_index.json
  • normalized.json
  • structured_record.json
  • traceability.json

to-code

Use when the user wants implementation-oriented output from the parse result.

Supported targets:

  • react
  • html-css
  • json-schema
  • jupyter-notebook

Typical outputs under task_output/:

  • component_map.json
  • field_schema.json
  • ui_blueprint.json
  • notes.md
  • traceability.json
  • target-specific artifacts such as app.jsx, index.html, styles.css, schema.json, notebook.ipynb, or notebook_plan.json

Treat all generated code and notebooks as drafts. Review them before running, publishing, or connecting them to real systems.

Pipeline rules

Always follow these rules:

  1. Prefer local execution.
  2. Always parse first into parsed.json.
  3. Generate downstream artifacts from parsed.json, not raw OCR text alone.
  4. Preserve page numbers, reading order, block types, and source anchors when possible.
  5. Write traceability for downstream outputs.
  6. Mark low-confidence regions or assumptions explicitly.
  7. Do not silently drop tables, figures, formulas, charts, or key-value regions.
  8. Save outputs into one artifact folder per run.
  9. For confidential documents, prefer an explicit private --out directory and remove artifacts after review.

Output contract

Default output folder:

./artifacts/\x3Cdocument_stem>/

Expected top-level outputs:

  • effective_config.json
  • run_report.json
  • parsed.json
  • parsed.md
  • result_report.html
  • task_output/

to-code runs may also emit:

  • code_preview.html

CLI examples

Parse

python "{baseDir}/scripts/run_skill.py" \
  --mode parse \
  --file "/absolute/path/to/report.pdf" \
  --out "/absolute/path/to/artifacts/report_parse"

To-data

python "{baseDir}/scripts/run_skill.py" \
  --mode to-data \
  --file "/absolute/path/to/invoice.pdf" \
  --out "/absolute/path/to/artifacts/invoice_data" \
  --extract "tables,entities,kv_pairs"

To-code

python "{baseDir}/scripts/run_skill.py" \
  --mode to-code \
  --file "/absolute/path/to/ui_mockup.png" \
  --out "/absolute/path/to/artifacts/ui_code" \
  --target "react" \
  --title "Generated App"

To-code notebook target

python "{baseDir}/scripts/run_skill.py" \
  --mode to-code \
  --file "/absolute/path/to/architecture_diagram.png" \
  --out "/absolute/path/to/artifacts/notebook_code" \
  --target "jupyter-notebook" \
  --title "OpenVINO Notebook"

Slash-command examples

/skill local-document-ai-openvino parse file=./docs/report.pdf
/skill local-document-ai-openvino to-data file=./docs/invoice.pdf extract=tables,entities,kv_pairs
/skill local-document-ai-openvino to-code file=./mockups/architecture.png target=jupyter-notebook

Optional local demo UI

Start the local UI when the user wants an interactive demo page:

python "{baseDir}/scripts/serve_skill_ui.py"

The UI lets the user:

  • preview a local file
  • choose parse, to-data, or to-code
  • choose the to-code target
  • run the pipeline and inspect the generated local HTML reports

The bundled UI only allows preview/run access for local files under the skill directory and common user content folders such as Downloads, Documents, Desktop, and Pictures.

Failure behavior

If a run fails:

  • state which stage failed
  • do not claim outputs were created if they were not
  • prefer writing error.json with failure details
  • recommend parse first when the downstream request is ambiguous
  • surface stderr or a concise failure summary when available

Safety notes

  • Use a virtual environment for dependency installation.
  • Review and approve model downloads only when you explicitly intend to.
  • Keep outputs in a private local folder when documents are sensitive.
  • Review generated code and notebooks before execution.
  • Delete artifacts when they are no longer needed.
  • The wrapper always uses the bundled local scripts and the current Python interpreter. It does not allow custom interpreter or script-directory overrides.

Short reminder

Present this skill as a local document-understanding workflow with downstream actions, not as a plain OCR wrapper.

Usage Guidance
This looks appropriate for a local document OCR workflow. Before installing or running it, use a virtual environment, review external dependencies and model downloads, choose an output folder that is not publicly shared or cloud-synced for confidential documents, and inspect any generated code or notebooks before running them.
Capability Analysis
Type: OpenClaw Skill Name: local-document-ai-openvino Version: 0.1.2 The skill bundle provides a legitimate local document AI pipeline for parsing PDFs and images using OpenVINO and PaddleOCR-VL. It features a well-structured orchestration system (run_skill.py) and a local web UI (serve_skill_ui.py) that includes security measures like path-restriction checks (is_within_allowed_roots) to prevent arbitrary file access. The scripts include safety warnings regarding the manual installation of third-party wheels and the review of generated code, demonstrating a security-conscious design without any evidence of malicious intent, exfiltration, or unauthorized execution.
Capability Tags
cryptocan-make-purchases
Capability Assessment
Purpose & Capability
The document parsing, structured extraction, and code/notebook artifact generation match the stated purpose; users should remember generated code is only a draft and is not meant to be run without review.
Instruction Scope
The skill allows implicit invocation and processes user-specified local files, which is reasonable for this purpose but means users should be clear about which documents may be parsed.
Install Mechanism
There is no install spec in registry metadata, but SKILL.md and requirements.txt disclose Python dependencies and advise manual review before installing the third-party PaddleOCR-VL OpenVINO package or allowing model downloads.
Credentials
Local PDF/image access and writes to artifact folders are proportionate for local document AI, but the outputs may contain sensitive document contents.
Persistence & Privilege
The skill writes parsed JSON, Markdown, HTML reports, extracted data, and generated artifacts to disk; this is disclosed and purpose-aligned, but confidential documents require careful output-directory handling and cleanup.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install local-document-ai-openvino
  3. After installation, invoke the skill by name or use /local-document-ai-openvino
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.2
Harden the local UI file preview path handling, restrict UI file access to approved local folders, remove raw path preview URLs, and block custom interpreter/script override keys in the wrapper config.
v0.1.1
Remove non-essential screen/demo helpers, stop auto-installing remote OCR wheel by default, and clarify safety guidance for dependencies, generated code, and artifact handling.
v0.1.0
Initial public release
Metadata
Slug local-document-ai-openvino
Version 0.1.2
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

What is Local Document AI OpenVINO?

Parse local PDFs and document images with PaddleOCR-VL or PaddleOCR-VL-1.5 on OpenVINO, then route the structured parse into downstream document-to-data or d... It is an AI Agent Skill for Claude Code / OpenClaw, with 80 downloads so far.

How do I install Local Document AI OpenVINO?

Run "/install local-document-ai-openvino" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Local Document AI OpenVINO free?

Yes, Local Document AI OpenVINO is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Local Document AI OpenVINO support?

Local Document AI OpenVINO is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Local Document AI OpenVINO?

It is built and maintained by Zhuo Wu (@zhuo-yoyowz); the current version is v0.1.2.

💬 Comments