Xpersona
P

pdf-extract-skill

CLAWHUB · Unverified

OpenClaw PDF extraction skill using OpenDataLoader. Use when the user wants to extract and process PDF content for RAG, embeddings, or coordinate-based citat...

62
Rank
84
Safety
987
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 987 downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s179ahkfdzh1qnx7qjs00q0m3x83nmbm:pdf-extract-skill
  1. Install using `clawhub skill install s179ahkfdzh1qnx7qjs00q0m3x83nmbm:pdf-extract-skill` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/secondport/pdf-extract-skill before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-secondport-pdf-extract-skill/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

150,468 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: pdf-extract-skill
description: "OpenClaw PDF extraction skill using OpenDataLoader. Use when the user wants to extract and process PDF content for RAG, embeddings, or coordinate-based citations."
license: "Apache-2.0"
metadata: {"openclaw":{"emoji":"📄","requires":{"bins":["java","python3","opendataloader-pdf"],"runtimes":["Java 11+","Python 3.10+"]}},"clawdbot":{"emoji":"📄","requires":{"bins":["java","python3","opendataloader-pdf"],"runtimes":["Java 11+","Python 3.10+"]}}}
---
# SKILL: OpenClaw PDF Supercharger with OpenDataLoader

## 0) Modular Map (.md)
To improve maintainability and allow targeted calls to specific .md files, this skill relies on helper documents:

- CLI quick start: docs/quickstart-cli.md
- Security before install: docs/security-before-install.md
- OpenClaw ready profiles: docs/profiles-openclaw.md
- Hybrid + OCR: docs/hybrid-mode-ocr.md
- RAG and bounding-box citations: docs/rag-citations.md
- Troubleshooting: docs/troubleshooting.md

Usage rules:
- If the task is setup/startup: load quickstart-cli.md
- Before any installation: load security-before-install.md
- If the task is command execution by scenario: load profiles-openclaw.md
- If the task involves scanned or complex table PDFs: load hybrid-mode-ocr.md
- If the task is RAG/citations: load rag-citations.md
- If there are errors: load troubleshooting.md

## 1) Goal
This skill maximizes PDF reading quality for OpenClaw in ClawHub using OpenDataLoader PDF.

Pillars:
- Local extraction (no cloud) for privacy.
- High-quality reading order and structure (columns, tables, layout).
- RAG and LLM-ready outputs (json + markdown).
- Simple end-user flow (CLI, no MCP).

## 2) When to Use This Skill
Use this skill when the user needs to:
- Extract clean text from PDFs.
- Improve table and multi-column parsing.
- Prepare data for RAG, embeddings, or coordinate-based citations.
- Process scanned PDFs with OCR.
- Describe images/charts to make them searchable.

Do not use this skill for:
- OCR of standalone image files outside PDF workflows.
- Cloud-only pipelines where local Java execution is not allowed.

## 3) Core Architecture Rule (No MCP)
Since the MCP does not exist yet, this skill must operate with CLI only:
- Client command: opendataloader-pdf
- Hybrid backend command: opendataloader-pdf-hybrid

Do not create complex wrappers or intermediate services unless strictly needed.

## 4) Robust Prerequisites
Always validate before conversion:
- Java 11+ in PATH.
- Python 3.10+.
- Package install policy:
    - Do not use unpinned installs in production.
    - Use isolated environments (venv/container/VM).
    - Prefer pinned versions and verified sources.
    - See: docs/security-before-install.md

Quick checks:
- java -version
- pip index versions opendataloader-pdf
- pip show opendataloader-pdf
- opendataloader-pdf --help

If Java fails on Windows, reopen the terminal and verify PATH.

## 5) Standard

_meta.json

{
  "ownerId": "kn74t49dt3yxkhyjxtykwwv1qh83ne24",
  "slug": "pdf-extract-skill",
  "version": "0.0.10",
  "publishedAt": 1774537921825
}

docs/hybrid-mode-ocr.md

# Hybrid Mode + OCR

## When to enable hybrid
- Complex tables
- Scanned PDFs
- Multi-language OCR
- Image/chart descriptions

## Start backend
Standard:
opendataloader-pdf-hybrid --port 5002

Forced OCR:
opendataloader-pdf-hybrid --port 5002 --force-ocr

Multi-language OCR:
opendataloader-pdf-hybrid --port 5002 --force-ocr --ocr-lang "es,en"

Image description:
opendataloader-pdf-hybrid --port 5002 --enrich-picture-description

## Use backend from client
Auto mode (triage):
opendataloader-pdf --hybrid docling-fast file1.pdf file2.pdf ./folder/ -o ./output -f json,markdown

With timeout and fallback:
opendataloader-pdf --hybrid docling-fast --hybrid-timeout 120000 --hybrid-fallback file1.pdf ./folder/ -o ./output -f json

## Critical rule
If --enrich-picture-description is used on the backend, the client must use --hybrid-mode full.

Example:
opendataloader-pdf --hybrid docling-fast --hybrid-mode full file1.pdf ./folder/ -o ./output -f json,markdown

docs/profiles-openclaw.md

# OpenClaw Profiles (Ready Commands)

## Profile 1: Fast reading
opendataloader-pdf ./pdfs/ -o ./output -f markdown

## Profile 2: Recommended for RAG
opendataloader-pdf ./pdfs/ -o ./output -f json,markdown

## Profile 3: Specific pages only
opendataloader-pdf report.pdf -o ./output -f json --pages "1,3,5-7"

## Profile 4: Sanitize sensitive data
opendataloader-pdf report.pdf -o ./output -f markdown --sanitize

## Profile 5: Keep line breaks
opendataloader-pdf report.pdf -o ./output -f markdown --keep-line-breaks

## Profile 6: External images
opendataloader-pdf report.pdf -o ./output -f json --image-output external

## Profile 7: Embedded images
opendataloader-pdf report.pdf -o ./output -f json --image-output embedded

docs/quickstart-cli.md

# Quickstart CLI (OpenClaw + OpenDataLoader)

## Goal
Provide a minimal and robust path to convert PDFs without MCP, using CLI only.

## Step 0 (required): installation security
Before running any pip install command, review:
docs/security-before-install.md

## Requirements
- Java 11+
- Python 3.10+
- Installed package

## Recommended installation (safe baseline)
1) Create and activate an isolated environment:
python -m venv .venv
.venv\Scripts\activate

2) Verify package metadata before install:
pip install --upgrade pip
pip index versions opendataloader-pdf
pip show opendataloader-pdf

3) Install a pinned version (example pattern):
pip install "opendataloader-pdf[hybrid]==<version>"

4) Freeze dependencies for reproducibility:
pip freeze > requirements.lock.txt

## Quick checks
java -version
opendataloader-pdf --help

## Base conversion
opendataloader-pdf file1.pdf file2.pdf ./folder/ -o ./output -f json,markdown

## Performance rule
Always process files in batches (single call) to avoid JVM startup overhead per invocation.

## Recommended output for OpenClaw
- json for metadata and bounding boxes
- markdown for natural LLM context
- default combination: json,markdown

Sponsored

Ads related to pdf-extract-skill and adjacent AI workflows.