← Back to Skills Marketplace
99
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install pdf-ocr-layout-free
Description
Full OCR pipeline for scanned PDFs with layout preservation. Use this skill whenever the user wants to OCR a PDF, convert a scanned document to searchable te...
Usage Guidance
This skill will upload entire PDF chunks to a third‑party OCR service (paddleocr.aistudio-app.com) and will fetch remote images referenced by OCR results. The code expects an environment variable PADDLEOCR_TOKEN, but the skill metadata does not declare that — you must set it yourself or the script will attempt to use a placeholder token. Before installing or running: (1) Do not process sensitive documents unless you trust the remote service and token; (2) Verify the OCR endpoint and its privacy/security policy; (3) Prefer using a self-hosted/local OCR alternative if you need confidentiality; (4) Run the script in an isolated environment (sandbox or VM) if you must test it; (5) Consider asking the publisher to update the registry metadata to declare PADDLEOCR_TOKEN and to explicitly disclose that PDFs are uploaded externally. If you want, I can point out the exact lines that send files and read the token so you can review them or suggest edits to make the behavior local-only.
Capability Analysis
Type: OpenClaw Skill
Name: pdf-ocr-layout-free
Version: 1.0.0
The skill provides a legitimate PDF OCR pipeline using the PaddleOCR API (aistudio-app.com). It includes logic for splitting PDFs, submitting chunks to the API, and reconstructing the document with layout preservation using the reportlab library. All actions, including external API communication and image fetching from the API's response, are consistent with the stated purpose. No malicious patterns, obfuscation, or prompt injection attempts were identified in the code or instructions.
Capability Assessment
Purpose & Capability
The code and SKILL.md implement exactly a remote-OCR pipeline (split → submit → poll → render) which fits the stated purpose. However, the script requires an API token (PADDLEOCR_TOKEN) and uses a remote endpoint (paddleocr.aistudio-app.com) while the skill's declared requirements list no environment variables or credentials. The missing declaration is an incoherence.
Instruction Scope
Runtime instructions tell the agent to pip-install dependencies and run the included pipeline script. The SKILL.md does not tell the user to set the API token, does not warn that full PDF contents will be uploaded to a remote service, and does not surface the exact remote endpoint — the agent will therefore transmit potentially sensitive documents without an explicit consent/notice step.
Install Mechanism
This is an instruction-only skill with an included script; there is no installer that downloads arbitrary code from unknown URLs. Dependencies are installed via pip at runtime per SKILL.md. No high-risk install URLs or archive extraction are present.
Credentials
The Python code reads PADDLEOCR_TOKEN from the environment (and falls back to a placeholder), but the skill metadata declares no required env vars or primary credential. Requesting a single OCR API token would be proportional to the task, but failing to declare it in the registry is a transparency issue and increases risk of accidental data leaks.
Persistence & Privilege
The skill is not always-enabled and does not request special agent privileges. It writes resumable state and intermediate files to a work directory (jobs.json, chunk_* files) which is normal for a pipeline; nothing in the package attempts to alter other skills or agent-wide settings.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install pdf-ocr-layout-free - After installation, invoke the skill by name or use
/pdf-ocr-layout-free - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Full OCR pipeline: split → PaddleOCR-VL-1.5 API → layout PDF → merge
- Bbox-based text placement with auto font-size calibration
- Dynamic source image size detection (handles any scan resolution)
- Image embedding via API CDN URLs (bbox-based matching for JSONL format)
- Multi-line block font cap (fixes reference list / footnote line spacing)
- Overflow protection: shrinks font if text exceeds bbox
- Resume-safe: caches job IDs, JSONL results, and chunk PDFs
Metadata
Frequently Asked Questions
What is 完美排版ocr?
Full OCR pipeline for scanned PDFs with layout preservation. Use this skill whenever the user wants to OCR a PDF, convert a scanned document to searchable te... It is an AI Agent Skill for Claude Code / OpenClaw, with 99 downloads so far.
How do I install 完美排版ocr?
Run "/install pdf-ocr-layout-free" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is 完美排版ocr free?
Yes, 完美排版ocr is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does 完美排版ocr support?
完美排版ocr is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created 完美排版ocr?
It is built and maintained by gamhtoi (@biabia-55); the current version is v1.0.0.
More Skills