Agent skill

Compdf Documents To PDF

by ComPDFKit in ComPDFKit/compdf-skills

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

No licenceAuto-check passedDocuments & Office

Install Compdf Documents To PDF

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

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

GitHub CLI
$ gh skill install ComPDFKit/compdf-skills compdf-documents-to-pdf --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-documents-to-pdf .claude/skills/compdf-documents-to-pdf && 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-documents-to-pdf
GitHub stars
109
Token cost
~850 tokens
SKILL.md length
442 words
Files
4 (incl. references)
Skills in repo
14
Repo updated
First seen
Licence
None found

At a glance

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

  • Works in 8 steps: Identify the source file type, desired… → Read references/endpoint-index.md and… → Read the matching heading in… → …
  • A business document
  • 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

Compdf Documents To PDF is an agent skill from ComPDFKit/compdf-skills. Convert Word, Excel, PPT, HTML, TXT, CSV, RTF, PNG, and JPG files into PDF with ComPDF. Use when a business document or image needs fixed-layout PDF output for sharing, approvals, printing, or archiving.

Its SKILL.md is about 850 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `agents/openai.yaml`, `references/endpoint-index.md` and `references/official-api-reference.md`).

It sits in Documents & Office, covering PDF, Excel spreadsheets and CSV and tabular files. It works with ComPDF and Microsoft Excel. The repository describes itself as: ComPDF Skills are AI-agent-ready PDF processing skills for Claude Code, Cursor, Copilot, OpenCode, and 39+ coding agents to convert, edit, split, insert, compare, compress PDFs…

When your agent uses it

  • A business document
  • Image needs fixed-layout PDF output for sharing

Example prompts

  • “/compdf-documents-to-pdf”

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 Documents To PDF loads about 850 tokens when it runs, and up to ~58k if it reads all its reference files. Until then it costs about 57 tokens; SKILL.md has 442 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~57
When it runs · the whole SKILL.md, loaded when a task matches
~850
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 442 words (~850 tokens).

“ComPDF Documents to PDF helps AI agents and teams standardize office files and web content into PDF. It supports Word to PDF, Excel to PDF, Slide to PDF, HTML to PDF, TXT to PDF, CSV to PDF, PNG to PDF…”

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

Read the full SKILL.md on GitHub

Files

SKILL.md and 3 other files (references) in skills/compdf-documents-to-pdf 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 Documents To PDF 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 Documents To PDF compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Compdf Documents To PDF this skillComPDFKit/compdf-skills109—~850Automated safety check: PassNone
Compdf Conversion CLILeoYeAI/openclaw-master-skills2.2k—~5.9kAutomated safety check: PassProprietary
Instrument Data To Allotropeaws-samples/amazon-bedrock-agents-healthcare-lifesciences2742 repos~2.7kAutomated safety check: PassApache-2.0
Research Integrity Auditxuzhougeng/wisp-science1k—~2.6kAutomated safety check: PassAGPL-3.0
File ReadingWide-Moat/open-computer-use1261 repos~3.1kAutomated safety check: PassProprietary
Multi Source Data Integration ExtractionDrchronx/ai-agent-research-starter-kit134—~671Automated safety check: PassCustom licence

Similar skills

  • 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
  • Instrument Data To Allotrope

    aws-samples/amazon-bedrock-agents-healthcare-lifesciences

    Official

    Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV.

    274 GitHub starsUsed in 2 repos~2.7k tokens
    Documents & OfficeAuto-check passed
  • Research Integrity Audit

    xuzhougeng/wisp-science

    学术审查 / research-integrity screening of a manuscript's figures and reported numbers.

    1k GitHub stars~2.6k tokensUpdated today
    Documents & OfficeAuto-check passed
  • File Reading

    Wide-Moat/open-computer-use

    A skill your agent uses when a file has been uploaded but its content is NOT in your context — only its path at /mnt/user-data/uploads/ is listed in an uploadedfiles block.

    126 GitHub starsUsed in 1 repo~3.1k tokens
    Documents & OfficeAuto-check passed
  • Multi Source Data Integration Extraction

    Drchronx/ai-agent-research-starter-kit

    Automatically merge scattered Excel and CSV files, normalize column names, and extract structured tables from PDF, HTML, TXT, or Markdown documents.

    134 GitHub stars~671 tokensUpdated 4 mo ago
    Documents & OfficeAuto-check passed
  • Light File Reading

    Light0305/Light-skills

    Light 多格式文件深度理解常驻技能:强大地读 Word / PDF / PPTX / Excel / CSV / 图片 / 视频 / 代码 / 压缩包,不只提取文字,而是理解结构 / 图表 / 数据 / 格式要求 / 隐含意图,产结构化"理解笔记"五面 (结构逻辑·关键内容·格式约束·视觉风格·可复用)并映射到下游技能动作(这个文件→接下来能做什么)。

    640 GitHub stars~4.1k tokensUpdated 3 mo ago
    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 Image to Document Converter

    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.

    109 GitHub stars~891 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 Documents To PDF

What does Compdf Documents To PDF do?

Convert Word, Excel, PPT, HTML, TXT, CSV, RTF, PNG, and JPG files into PDF with ComPDF. Compdf Documents To PDF is an agent skill from ComPDFKit/compdf-skills. Convert Word, Excel, PPT, HTML, TXT, CSV, RTF, PNG, and JPG files into PDF with ComPDF.

When should I use Compdf Documents To PDF?

Compdf Documents To PDF fits situations like: A business document; image needs fixed-layout PDF output for sharing.

How do I install Compdf Documents To PDF in Claude Code?

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

How do I install Compdf Documents To PDF in Codex?

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

Can I use Compdf Documents To PDF 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-documents-to-pdf -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-documents-to-pdf, .gemini/skills/compdf-documents-to-pdf, .github/skills/compdf-documents-to-pdf and .opencode/skills/compdf-documents-to-pdf in your project.

What does Compdf Documents To PDF need to run?

SKILL.md names no scripts, command-line tools or credentials: Compdf Documents To PDF is instructions for the agent only.

Does Compdf Documents To PDF 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 Documents To PDF 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 Documents To PDF use?

No licence was found for Compdf Documents To PDF or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Compdf Documents To PDF use?

About 850 tokens (SKILL.md is roughly 3.4k 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 Documents To PDF?

Skills that share tags, products or a category with Compdf Documents To PDF: Compdf Conversion CLI (LeoYeAI/openclaw-master-skills, 2.2k stars), Instrument Data To Allotrope (aws-samples/amazon-bedrock-agents-healthcare-lifesciences, 274 stars), Research Integrity Audit (xuzhougeng/wisp-science, 1k stars) and File Reading (Wide-Moat/open-computer-use, 126 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Compdf Documents To PDF?

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.