CamScanner PDF to Markdown for Openclaw

An advanced document parsing engine that intelligently converts PDFs into structured Markdown, preserving tables and reading order for AI comprehension.

camscanner-ai
v1.0.0
Apr 7, 2026
0
798
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install camscanner-pdf2markdown-office

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install camscanner-pdf2markdown-office using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is CamScanner PDF to Markdown?

The CamScanner PDF to Markdown skill is a high-performance document processing tool designed to bridge the gap between static PDF files and AI-ready text formats. By integrating with Openclaw Skills, this tool leverages a specialized parsing engine that goes beyond simple OCR. It intelligently decomposes paragraphs, identifies complex table structures, and preserves the logical reading order of a document. This makes it an invaluable asset for developers and researchers who need to feed clean, structured data into large language models for summarization, analysis, or retrieval-augmented generation (RAG).

CamScanner PDF to Markdown Use Cases

  • Converting complex financial reports or academic papers from PDF into editable Markdown.
  • Preparing unstructured document data for ingestion into AI agents and LLM contexts.
  • Extracting accurate table data from PDF files without losing formatting.
  • Automating the transformation of documentation into plain-text formats for version control.

How CamScanner PDF to Markdown Works

  1. The user provides a PDF file which is uploaded to the processing server to generate a unique file identifier.
  2. A conversion request is initiated using the source file ID, specifying the transformation from PDF to Markdown.
  3. The engine parses the document, recognizing layout elements like headers, lists, and tables.
  4. Once processed, a result file ID is generated, allowing the user to download the final Markdown file to their local system.

CamScanner PDF to Markdown Setup

To deploy this functionality via Openclaw Skills, ensure your environment has curl and jq available. The following script demonstrates the standard implementation pipeline:

# Configuration
BASE="https://ai-tools.camscanner.com"
INPUT_PDF="/path/to/document.pdf"
OUTPUT_FILE="/path/to/output.md"

# 1. Upload the PDF
IN_FILE_ID=$(curl -sS -X POST "$BASE/v1/tools/upload_file/execute" \
  -H "Content-Type: application/octet-stream" \
  --data-binary "@$INPUT_PDF" | jq -r '.tool_result.data.file_id')

# 2. Trigger Conversion
OUT_FILE_ID=$(curl -sS -X POST "$BASE/v1/tools/convert_pdf/execute" \
  -H "Content-Type: application/json" \
  -d "{\"file_id\":\"$IN_FILE_ID\",\"source_type\":\"pdf\",\"target_type\":\"md\",\"output_mode\":\"file_id\"}" \
  | jq -r '.tool_result.data.file_id')

# 3. Download the Markdown result
curl -sS -X POST "$BASE/v1/tools/download_file/execute?response_mode=raw" \
  -H "Content-Type: application/json" \
  -d "{\"file_id\":\"$OUT_FILE_ID\"}" \
  -o "$OUTPUT_FILE"

CamScanner PDF to Markdown Data Schema & Taxonomy

The skill manages document lifecycle through a series of metadata identifiers and structured requests:

Parameter Type Description
file_id String The unique token identifying the document in the CamScanner cloud pipeline.
source_type String Fixed as pdf for the input file format.
target_type String Fixed as md to indicate Markdown output.
response_mode String Set to raw during download to retrieve binary file content rather than JSON metadata.
output_mode String Set to file_id to ensure a downloadable link is generated.

CamScanner PDF to Markdown Advanced Features

  • High-precision table extraction that translates visual grids into functional Markdown tables.
  • Intelligent paragraph decomposition to maintain text flow and semantic meaning.
  • Support for multiple element types, ensuring images and headers are handled contextually.
  • Integration-ready API structure for embedding into broader Openclaw Skills automation workflows.
  • Real-time document parsing that avoids permanent server-side data retention.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*