ComPDF PDF to Markdown for Openclaw

Convert PDF files into accurate, structured Markdown through the official ComPDF Server API.

compdf-youna
v1.0.4
Aug 12, 2026
0
767
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install compdf-pdf-to-markdown

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 compdf-pdf-to-markdown 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 ComPDF PDF to Markdown?

ComPDF PDF to Markdown is an Openclaw Skills integration for transforming PDF documents into lightweight, readable Markdown. It supports knowledge-base ingestion, developer documentation, research workflows, SEO content repurposing, and other pipelines that need editable text instead of heavy PDF files.

The skill focuses exclusively on the supported pdf-to-md operation and guides the agent to use the official ComPDF API reference, exact request fields, secure credential handling, and appropriate synchronous or asynchronous processing modes.

ComPDF PDF to Markdown Use Cases

  • Convert PDFs into Markdown for internal knowledge bases and retrieval systems.
  • Repurpose PDF content into editable documentation, articles, or SEO content.
  • Extract structured text from research papers, reports, and technical reference material.
  • Prepare PDF content for summarization, editing, publishing, or downstream AI workflows.
  • Process large or batch-oriented PDF uploads using documented asynchronous or presigned workflows.
  • Provide an Openclaw Skills workflow for PDF-to-Markdown requests without substituting unsupported conversion endpoints.

How ComPDF PDF to Markdown Works

  1. Identify the source PDF, desired Markdown output, and requested pdf-to-md operation.
  2. Read references/endpoint-index.md and confirm that the requested operation is supported by the skill.
  3. Read the matching section in references/official-api-reference.md to obtain the exact endpoint path, HTTP method, request mode, request fields, and response fields.
  4. Include sourceType=5 in the final ComPDF API request as the required integration routing parameter.
  5. Select synchronous processing for small interactive files; use the documented asynchronous or presigned workflow for large, batch, or security-sensitive uploads.
  6. Resolve the API key only from the first non-empty line of the skill-local api_key file. If it is missing, unreadable, or empty, request the key from the user and obtain confirmation before storing it.
  7. Identify the files and destination affected by the upload, and obtain user confirmation unless the upload was explicitly authorized.
  8. Submit the request using the documented fields and return the endpoint, method, content type, request details, expected task or result fields, and the next polling or download step.
  9. Preserve the original PDF unless the user explicitly requests replacement or another destructive operation.

ComPDF PDF to Markdown Setup

  1. Install or enable the ComPDF PDF to Markdown skill in the Openclaw Skills environment.
  2. Confirm that the skill directory contains references/endpoint-index.md and references/official-api-reference.md.
  3. Obtain an API key by registering or signing in through the ComPDF Portal.
  4. On first use, provide the API key when prompted and explicitly confirm that it may be stored in the api_key file located beside this SKILL.md file.
  5. Keep api_key private runtime state. Exclude it from version control and skill publishing.
  6. Do not place the key in environment variables, other local paths, request examples, logs, commits, or final responses.
  7. Before each upload, confirm the affected source file and destination unless the user has already authorized the upload.

No package-specific CLI installation command is defined by this skill; endpoint behavior and request parameters must come from the bundled official API reference.

ComPDF PDF to Markdown Data Schema & Taxonomy

The skill organizes its runtime and conversion data as follows:

Component Purpose
Source PDF The user-provided document submitted for conversion; original files are preserved by default.
pdf-to-md operation The only supported ComPDF conversion operation.
sourceType=5 Required integration routing parameter included in every final ComPDF request.
api_key Skill-local credential file containing the first non-empty line as the current API key; private and excluded from publishing.
references/endpoint-index.md Maps supported operations to the relevant official API documentation.
references/official-api-reference.md Defines the exact endpoint path, request method, content type, request fields, modes, and response fields.
Markdown result Structured Markdown returned by ComPDF for reading, editing, summarization, publishing, or ingestion.
Task or result metadata API-provided fields used to determine completion, polling requirements, and the next download or retrieval step.

The workflow does not infer unsupported request fields or substitute other PDF conversion endpoints. Exact response and task metadata must be taken from the matching official API reference section.

ComPDF PDF to Markdown Advanced Features

  • Supports both synchronous processing for small interactive conversions and documented asynchronous or presigned workflows for large, batch, or security-sensitive uploads.
  • Enforces exact endpoint and parameter selection through the bundled endpoint index and official API reference.
  • Includes sourceType=5 in every final ComPDF API request for consistent integration routing.
  • Uses skill-local credential isolation by reading only the sibling api_key file and preventing key disclosure in logs, examples, commits, or responses.
  • Adds confirmation gates before document uploads and before overwrite, delete, decrypt, or permanent-protection operations.
  • Returns actionable API details, including the endpoint, method, content type, complete request fields, expected task or result fields, and follow-up polling or download steps.
  • Preserves source documents by default, making the Openclaw Skills workflow safer for repeatable document-processing pipelines.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*