Preface¶
When handling contracts, invoices, or court documents within an Agent, a common scenario is that files can be uploaded, but the extracted content is blank, garbled, or consists of only a few pages of out-of-order characters. Digitally-born PDFs can often rely on built-in platform parsing; however, scanned PDFs, photos, OFD files, and other image-based documents frequently fall beyond the capabilities of native parsing. This article introduces the “File OCR Parsing” Skill available on SkillHub: when native parsing fails or a user explicitly requests it, this Skill guides the Agent to call the Deli OCR API, outputting the content as text or Markdown for downstream summarization, comparison, or Q&A tasks.
What is this¶
“File OCR Parsing” is a community-sourced (community) Agent Skill with the identifier @user_f26b93e2/deli-ocr-file-parse, currently at version 1.0.1, categorized under office-efficiency, and maintained by the publisher user_f26b93e2. The SkillHub page attributes authorship to Deli Technology. It addresses the following problem: scanned documents that Agents / platforms cannot read directly require OCR before entering the downstream reasoning pipeline.
The Skill is tagged with requires_api_key=true, indicating that actual recognition depends on Deli OCR-related APIs. Before use, you must prepare an API Key yourself and configure it according to the instructions within the Skill. The specific configuration fields are defined in the SKILL.md file included after installation.
Core Features¶
Based on the official description, the verified capability boundaries are as follows:
- Input types: Scanned PDFs, images, OFD files, as well as invoices, scanned contracts, scanned court documents, and other files that Agents cannot read directly.
- Output format: Parsed into text or Markdown, facilitating further editing, retrieval, or the generation of structured results by the Agent.
- Invocation strategy: Prioritize the use of the current Agent / platform’s native parsing; only fall back to the API corresponding to this Skill when native parsing fails, the result is clearly unusable, or the user explicitly requests the use of Deli OCR.
- Typical trigger semantics: OCR recognition, scanned document recognition, image-to-text, image-to-Markdown, PDF-to-Markdown, as well as scenarios such as “file parsing failed, document cannot be read, extraction result is empty, garbled text, scanned version cannot be parsed.”
On SkillHub, this Skill has a rating of 100000 and 866 downloads (statistics are based on the SkillHub page display).
Installation and Activation¶
Before installation, confirm that SkillHub CLI is present on your machine; if not, consult or install it via the official installation documentation:
command -v skillhub && skillhub --version
If not installed, you can execute the following (full installation, including CLI and default Skills):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
When installing this Skill, you must use --dir to point to the current Agent’s skills directory. Otherwise, it will default to ./skills/, and the Agent may not recognize it:
skillhub install @user_f26b93e2/deli-ocr-file-parse --dir <skills directory>
Common client skills directories (excerpted from the SkillHub installation documentation):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
If you use a conversational AI to assist with installation, the prompt provided on the official page is: Based on https://skillhub.cn/install/skillhub.md, install @user_f26b93e2/deli-ocr-file-parse.
Once installed, restart or refresh the Skill list as required by the respective client, and configure the API Key required for Deli OCR (requires_api_key=true).
Typical Usage¶
This Skill follows the general SKILL.md format; specific commands and parameters are defined in the documentation within the installation package. Based on the official description, the reproducible usage path is as follows:
- The user provides a scanned PDF, image, or OFD file to the Agent and specifies the need for the full text, a specific page, or conversion to Markdown.
- The Agent first attempts platform native parsing; if the result is empty, garbled, or clearly unusable, it loads the “File OCR Parsing” Skill.
- The Skill guides the invocation of the Deli OCR API, returning the recognition result as text or Markdown into the conversation context.
- The Agent continues to execute tasks based on the recognition result (e.g., clause extraction, field filling, multi-document comparison).
Users may also explicitly request “use Deli OCR” at the outset. In this case, native parsing retries can be skipped, though it is still recommended to confirm the API Key and network accessibility.
Use Cases and Notes¶
Who is it for
- Developers or business users who frequently handle scanned contracts, invoices, court documents, or paper-archived PDFs within Agents.
- Teams that have encountered the “can upload but cannot read” issue and need a unified OCR-to-LLM workflow.
Usage Notes
- Native first, then OCR: The Skill explicitly requires prioritizing native parsing to avoid unnecessary API calls and costs.
- API Key: The tag indicates an API Key is required; without configuration, the Skill cannot complete recognition. You must enable this on the Deli side and configure it according to
SKILL.md. - Compliance and Privacy: Contracts and court documents contain sensitive information; uploading to a third-party OCR service must comply with your organization’s data compliance requirements.
- Result Verification: OCR can still produce errors with blurry scans or complex layouts. It is recommended to perform manual or rule-based secondary verification for key fields.
Conclusion¶
“File OCR Parsing” consolidates the bottleneck of “scanned documents cannot enter the Agent context” into a repeatable Skill workflow: use OCR only after native parsing fails, outputting text or Markdown for downstream reasoning. Installation and identifiers are subject to SkillHub.
- SkillHub Page: https://www.skillhub.cn/skills/user_f26b93e2/deli-ocr-file-parse
- API Entry: https://api.skillhub.cn/user_f26b93e2/deli-ocr-file-parse