Skip to content
Back to skills

Document Vision Rag

ASecurity

"Plan document/PDF/VQA/knowledge-cleaning/Agentic

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
toolspythonbashapibackend

Works with

  • cli
  • api

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill document-vision-rag --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Document Vision Rag?

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

Security grade badge for Document Vision Rag
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-document-vision-rag/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-document-vision-rag)

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: document-vision-rag
description: "Plan document/PDF/VQA/knowledge-cleaning/Agentic
  RAG/retrieval/speech/chemistry workflows, including pdf2model and PDF VQA CLI
  choices, optional MinerU/VLM/OCR backends, LightRAG retrieval, and
  training-side-effect limits."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Document Vision and RAG

Use this sub-skill for document-centric jobs: PDF/OCR cleanup, visual QA, Agentic RAG, retrieval over cleaned documents, speech transcription, and chemistry extraction from text/OCR output.

## Route by task

- Clean PDFs, URLs, HTML, or mixed documents into markdown or QA-ready chunks: use the workflow notes in `references/document-rag-workflows.md`.
- Decide between PDF VQA extraction, `dataflow pdf2model init --qa vqa`, `dataflow pdf2model train`, and `dataflow pdf2model chat`: use `references/pdf2model-and-vqa.md`.
- Compare API, LightRAG, MinerU, VLM, OCR, LlamaFactory, DataFlex, and audio extras: use `references/serving-and-dependencies.md`.
- Debug missing files, bad suffixes, absent credentials, GPU gaps, or training-state problems: use `references/troubleshooting.md`.

## Safe defaults

- Validate inputs before launching OCR, retrieval, or training.
- Treat MinerU, FlashMinerU, VLM, LightRAG, pdf2vqa, pdf2model, and DataFlex as optional heavy paths.
- Do not present GPU, VLM, OCR, or training behavior as CPU-verified.
- Stop when required documents, model paths, credentials, or hardware are missing; do not silently switch to a different backend.
- Use the bundled validator script for offline preflight checks.

## Bundled helper

- `scripts/check_document_workflow_inputs.py` checks document paths, PDF suffixes, JSON/JSONL columns, and requested env vars without any network call.

## Quick check

```bash
python scripts/check_document_workflow_inputs.py --profile pdf2vqa --doc sample.pdf --jsonl sample.jsonl --require-env MINERU_API_KEY
```

Files in this skill

  • SKILL.md1.9 KB
  • references/document-rag-workflows.md5.4 KB
  • references/pdf2model-and-vqa.md3.7 KB
  • references/serving-and-dependencies.md3.9 KB
  • references/troubleshooting.md2.9 KB
  • scripts/check_document_workflow_inputs.py17.6 KB

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.

Comments

Loading comments…

Newsletter

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