Skip to content
Back to skills

Vision Document Ai

ASecurity

"Use UniLM vision, vision-language, OCR, webpage, and document-AI

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
ai-agentsbackend

Security analysis

A100/100

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

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Vision Document Ai?

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

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

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: vision-document-ai
description: "Use UniLM vision, vision-language, OCR, webpage, and document-AI
  workflows across BEiT, DiT, LayoutLM, MarkupLM, XDoc, TrOCR, VLMo, and
  VL-BEiT."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Vision Document AI

Use this sub-skill when the task is about UniLM vision or document-AI models: image classification/pretraining, semantic segmentation, document layout/text detection, OCR, form understanding, token classification, relation extraction, visual question answering, captioning, retrieval, NLVR2, webpage extraction, or cross-format document understanding.

## Route Here

- Build or adapt command plans for BEiT, BEiT v2, BEiT-3, DiT, LayoutLM/LayoutLMv2/LayoutLMv3, LayoutXLM, MarkupLM, XDoc, TrOCR, VLMo, or VL-BEiT.
- Validate dataset assumptions for ImageFolder, ADE20K-style segmentation, FUNSD, CORD, XFUND, PubLayNet, ICDAR cTDaR, WebSRC, SWDE, SQuAD, COCO, Flickr30k, VQAv2, NLVR2, or pyarrow vision-language data.
- Diagnose vision/document dependency failures involving legacy PyTorch, CUDA wheels, Detectron2, MMCV/mmsegmentation, Apex, fairseq, Deepspeed, or Hugging Face Transformers drift.
- Choose among OCR, document layout, form extraction, webpage markup, image-only, and vision-language routes before constructing a command.

## Route Elsewhere

- Use `embeddings-retrieval` for E5, SimLM, dense retrieval, embedding indexing, or text-only retriever training.
- Use `multimodal-generation` for TextDiffuser, Kosmos, audio, LatentLM, image/text generation, or open-ended multimodal generation systems.
- Use `architectures-training` for architecture-only distributed training, generic TorchScale/Magneto/DeepNet wiring, optimizer schedules, or Deepspeed mechanics not tied to a vision/document task.

## Read Or Run

- Read [references/model-task-map.md](references/model-task-map.md) to pick the correct model family, task owner, native entry point class, dependency stack, and sibling route.
- Read [references/workflows.md](references/workflows.md) before building training, evaluation, data-conversion, OCR, or vision-language commands.
- Read [references/troubleshooting.md](references/troubleshooting.md) when a dependency stack, dataset schema, checkpoint, tokenizer, bounding-box, OCR, or Hugging Face version error blocks progress.
- Run [scripts/build_vision_doc_command.py](scripts/build_vision_doc_command.py) to print safe command templates for BEiT classification, BEiT-3 tasks, LayoutLMv3 FUNSD/CORD/XFUND, DiT detection, TrOCR inference, or VLMo runs without training, downloading, or requiring model/data files.

## Safe Default Workflow

1. Classify the request by modality: image-only, document OCR/layout, form/entity extraction, webpage markup, cross-format document QA, or vision-language.
2. Use the model-task map to select the family and confirm whether the original workflow expects legacy PyTorch, Detectron2/MMCV, fairseq, Deepspeed, or Transformers.
3. Use the command builder for a template, then replace placeholders only after confirming data layout, checkpoint availability, GPU count, and backend versions.
4. Treat original UniLM training and inference programs as heavy reference entry points; do not run them until the user confirms environment, data, checkpoint, and hardware readiness.

Files in this skill

  • SKILL.md3.3 KB
  • references/model-task-map.md9 KB
  • references/troubleshooting.md10.5 KB
  • references/workflows.md17 KB
  • scripts/build_vision_doc_command.py22.7 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.