Agent skill

ComPDF Image to Document Converter

by ComPDFKit in ComPDFKit/compdf-skills

Plans ComPDF Server API requests that turn screenshots, scans, receipts and forms into Word, Excel, PPT, PDF, HTML, RTF, CSV, TXT or JSON output.

No licenceAuto-check passedDocuments & Office

Install ComPDF Image to Document Converter

skills CLI
$ npx skills add ComPDFKit/compdf-skills --skill compdf-convert-images-to-documents -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ComPDFKit/compdf-skills compdf-convert-images-to-documents --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ComPDFKit/compdf-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/compdf-convert-images-to-documents .claude/skills/compdf-convert-images-to-documents && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
compdf-convert-images-to-documents
GitHub stars
109
Token cost
~891 tokens
SKILL.md length
433 words
Files
4 (incl. references)
Skills in repo
14
Repo updated
First seen
Licence
None found

At a glance

Plans ComPDF Server API requests that turn screenshots, scans, receipts and forms into Word, Excel, PPT, PDF, HTML, RTF, CSV, TXT or JSON output.

  • Works in 8 steps: Identify the source file type, desired… → Read references/endpoint-index.md and… → Read the matching heading in… → …
  • Turning a scanned receipt into an Excel or CSV file
  • SKILL.md covers Overview, Supported Operations, Scope and Workflow, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

The skill picks the right ComPDF Server API endpoint for an image conversion and prepares an exact request plan. Nine targets are supported: Word, Excel, PPT, PDF, HTML, RTF, CSV, TXT and JSON. Only image sources are accepted, and PDF inputs or document-to-PDF requests are routed to other focused skills.

The agent identifies the source and the output you want, picks the operation from references/endpoint-index.md, and reads the matching section of references/official-api-reference.md for the exact path, fields and request mode, without guessing at unsupported options. Every final request carries sourceType=5. Synchronous mode suits small interactive jobs, while large, batch or sensitive uploads follow the documented asynchronous or presigned route. The API key is read only from an api_key file beside SKILL.md, you are asked for one if the file is missing, and the key is never displayed or logged.

When your agent uses it

  • Turning a scanned receipt into an Excel or CSV file
  • Converting a screenshot of a table into structured JSON
  • Making a photographed form editable as a Word document
  • Producing a PDF from a set of image files

Example prompts

  • “Convert ./scans/receipt-march.jpg into a CSV file with ComPDF.”
  • “Turn this screenshot of a pricing table into an editable Excel sheet.”
  • “Convert the photographed form at ./photos/form.png to Word so I can edit it.”

Requirements

  • A ComPDF API key stored in an api_key file beside SKILL.md
  • Network access to the ComPDF Server API

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. Identify the source file type, desired output, and requested operation.
  2. Read references/endpoint-index.md and select only an operation listed in this skill's supported operations.
  3. Read the matching heading in references/official-api-reference.md. Use its exact endpoint path, request fields, request mode, and response…
  4. Include sourceType=5 in every final ComPDF API request. Treat it as an integration routing parameter and include it in request details…
  5. Prefer synchronous mode for small interactive work. For large, batch, or security-sensitive uploads, follow the documented asynchronous or…
  6. Resolve credentials only from api_key in the directory containing this SKILL.md. Read its first non-empty line. Do not inspect environment…
  7. Before uploading a document to ComPDF, identify the affected files and destination, and obtain confirmation unless the user has explicitly…
  8. Return the endpoint, method, content type, complete request fields, expected task/result fields, and the next polling or download step…

What it can do on your machine

Read from SKILL.md and the folder at commit 6e2b116. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • compdf.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

ComPDF Image to Document Converter loads about 891 tokens when it runs, and up to ~58k if it reads all its reference files. Until then it costs about 61 tokens; SKILL.md has 433 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~61
When it runs · the whole SKILL.md, loaded when a task matches
~891
With references · SKILL.md plus every file in references/, read only if the agent opens them
~58k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 433 words (~891 tokens).

“ComPDF Convert Images to Documents helps AI agents transform screenshots, scans, receipts, forms, and photo-based business files into editable or structured outputs. It supports image-to-Word, image-to-Excel, image-to-PPT, image-to-PDF, image-to-HTML, image-to-RTF, image-to-CSV, image-to-TXT, and image-to-JSON workflows, making it easy to bridge…”

— opening of SKILL.md by ComPDFKit
name
compdf-convert-images-to-documents

Read the full SKILL.md on GitHub

Files

SKILL.md and 3 other files (references) in skills/compdf-convert-images-to-documents of ComPDFKit/compdf-skills.

  • SKILL.md
  • agents/openai.yaml
  • references/endpoint-index.md
  • references/official-api-reference.md

Open the folder on GitHubat commit 6e2b116

Compare with similar skills

ComPDF Image to Document Converter next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

ComPDF Image to Document Converter compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
ComPDF Image to Document Converter this skillComPDFKit/compdf-skills109—~891Automated safety check: PassNone
MinerU Document Readeropendatalab/MinerU81k—~9.4kAutomated safety check: WarnCustom licence
Document Converterwentorai/Research-Claw858—~1.3kAutomated safety check: PassCustom licence
Compdf Conversion CLILeoYeAI/openclaw-master-skills2.2k—~5.9kAutomated safety check: PassProprietary
MarkitdownImCa0/just-laws78114 repos~3.2kAutomated safety check: NotesMIT
Toxynissl-lab/toxy463—~1.7kAutomated safety check: PassApache-2.0

Similar skills

  • MinerU Document Reader

    opendatalab/MinerU

    Reads, OCRs, searches and cites local documents through the mineru CLI, covering PDF, images, Office files, EPUB, HTML and CSV.

    81k GitHub stars~9.4k tokensUpdated yesterday
    Documents & OfficeAuto-check: warnings
  • Document Converter

    wentorai/Research-Claw

    Convert Office documents (PPTX, DOCX, XLSX, PDF, HTML, CSV, JSON, XML, images) to Markdown using Microsoft MarkItDown.

    858 GitHub stars~1.3k tokensUpdated 1 mo ago
    Documents & OfficeAuto-check passed
  • Compdf Conversion CLI

    LeoYeAI/openclaw-master-skills

    MUST use for ANY PDF or image format conversion task — converting PDF and images (JPG/JPEG/PNG/BMP/TIFF/TIF/WEBP/JPEG2000) to 10 formats (Word, Excel, PPT, HTML, Image, TXT, JSON, Markdown, RTF…

    2.2k GitHub stars~5.9k tokensUpdated 2 mo ago
    Documents & OfficeAuto-check passed
  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    781 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • Toxy

    nissl-lab/toxy

    A skill your agent uses whenever the user wants to extract text or data from documents using Toxy (the .NET text extraction library).

    463 GitHub stars~1.7k tokensUpdated 3 mo ago
    Documents & OfficeAuto-check passed
  • Markitdown

    jimmc414/Kosmos

    Convert various file formats (PDF, Office documents, images, audio, web content, structured data) to Markdown optimized for LLM processing.

    594 GitHub starsUsed in 2 repos~1.7k tokens
    Documents & OfficeAuto-check passed

More from ComPDFKit/compdf-skills

All 14 skills in this repo
  • ComPDF Watermark Manager

    ComPDFKit/compdf-skills

    Prepares ComPDF Server API requests to add or remove text and image watermarks in PDFs, selecting the right endpoint and listing the complete request details.

    109 GitHub stars~817 tokensUpdated 1 mo ago
    Auto-check passed
  • Compdf Compress PDF

    ComPDFKit/compdf-skills

    Compress PDF files with ComPDF while balancing file size and readable visual quality.

    109 GitHub stars~826 tokensUpdated 1 mo ago
    Auto-check passed
  • Compdf Documents To PDF

    ComPDFKit/compdf-skills

    Convert Word, Excel, PPT, HTML, TXT, CSV, RTF, PNG, and JPG files into PDF with ComPDF.

    109 GitHub stars~850 tokensUpdated 1 mo ago
    Auto-check passed
  • ComPDF Encrypt and Decrypt PDF

    ComPDFKit/compdf-skills

    Plans ComPDF Server API requests to encrypt PDFs with AES-128, AES-256 or RC4, set passwords and permissions, and remove passwords from files you are authorized to open.

    109 GitHub stars~812 tokensUpdated 1 mo ago
    Auto-check passed
  • Compdf OCR

    ComPDFKit/compdf-skills

    Recognize and extract text from scanned PDFs and images with ComPDF OCR workflows.

    109 GitHub stars~837 tokensUpdated 1 mo ago
    Auto-check passed
  • Compdf Page Editor

    ComPDFKit/compdf-skills

    Merge, split, rotate, insert, delete, and extract PDF pages with ComPDF.

    109 GitHub stars~838 tokensUpdated 1 mo ago
    Auto-check passed

Questions about ComPDF Image to Document Converter

What does ComPDF Image to Document Converter do?

Plans ComPDF Server API requests that turn screenshots, scans, receipts and forms into Word, Excel, PPT, PDF, HTML, RTF, CSV, TXT or JSON output. The skill picks the right ComPDF Server API endpoint for an image conversion and prepares an exact request plan. Nine targets are supported: Word, Excel, PPT, PDF, HTML, RTF, CSV, TXT and JSON.

When should I use ComPDF Image to Document Converter?

ComPDF Image to Document Converter fits situations like: turning a scanned receipt into an Excel or CSV file; converting a screenshot of a table into structured JSON; making a photographed form editable as a Word document; producing a PDF from a set of image files.

How do I install ComPDF Image to Document Converter in Claude Code?

Run `npx skills add ComPDFKit/compdf-skills --skill compdf-convert-images-to-documents -a claude-code`. Or copy the skill folder (skills/compdf-convert-images-to-documents in ComPDFKit/compdf-skills) into .claude/skills/compdf-convert-images-to-documents in your project. Claude Code loads it when a task matches its description.

How do I install ComPDF Image to Document Converter in Codex?

Run `npx skills add ComPDFKit/compdf-skills --skill compdf-convert-images-to-documents -a codex`. Or copy the skill folder (skills/compdf-convert-images-to-documents in ComPDFKit/compdf-skills) into .agents/skills/compdf-convert-images-to-documents in your project. Codex loads it when a task matches its description.

Can I use ComPDF Image to Document Converter in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ComPDFKit/compdf-skills --skill compdf-convert-images-to-documents -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/compdf-convert-images-to-documents, .gemini/skills/compdf-convert-images-to-documents, .github/skills/compdf-convert-images-to-documents and .opencode/skills/compdf-convert-images-to-documents in your project.

What does ComPDF Image to Document Converter need to run?

SKILL.md names no scripts, command-line tools or credentials: ComPDF Image to Document Converter is instructions for the agent only. Our summary lists: A ComPDF API key stored in an api_key file beside SKILL.md; Network access to the ComPDF Server API.

Does ComPDF Image to Document Converter access the network?

SKILL.md names 1 domain. As links in the text: compdf.com. This is read from the text; nothing was executed.

Is ComPDF Image to Document Converter safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does ComPDF Image to Document Converter use?

No licence was found for ComPDF Image to Document Converter or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does ComPDF Image to Document Converter use?

About 891 tokens (SKILL.md is roughly 3.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 57k tokens, read only when the agent opens those files.

What are the alternatives to ComPDF Image to Document Converter?

Skills that share tags, products or a category with ComPDF Image to Document Converter: MinerU Document Reader (opendatalab/MinerU, 81k stars), Document Converter (wentorai/Research-Claw, 858 stars), Compdf Conversion CLI (LeoYeAI/openclaw-master-skills, 2.2k stars) and Markitdown (ImCa0/just-laws, 781 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains ComPDF Image to Document Converter?

ComPDFKit (a GitHub organization) maintains it in ComPDFKit/compdf-skills, which has 109 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on August 12, 2026.

Source: ComPDFKit/compdf-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.