PDF EDITOR: Complete PDF Editing, Conversion, and Extraction within Agent

Preface

In daily development or office work, PDF tasks often get stuck on operations like “changing a page of text,” “OCR for scanned documents,” or “splitting into parts or converting to Word/images.” The common approach is to open standalone desktop software or write scripts to call libraries, which creates a disconnect from the current conversation and code context. Below is an introduction to PDF EDITOR on SkillHub (coordinates @user_09701b7c/mainpdf): once installed into Agents that support Skills (such as Cursor or Claude Code), it allows you to trigger editing, conversion, extraction, and summarization via natural language. Notably, it is officially marked as requires_api_key=false, meaning it does not rely on additional API Keys.

What is this

PDF EDITOR is a community-sourced office efficiency Skill categorized under office-efficiency. Currently at version v1.0.1, it is maintained by the publisher user_09701b7c. The SkillHub page positions it as an “All-in-one PDF Editor”: targeting both scanned documents and standard PDFs, it covers text/table/image extraction, OCR, insertion and editing, format conversion (Word/Image/HTML), and document summarization. Its implementation follows the standard SKILL.md format, where the Agent loads the skill description and executes the corresponding workflow when relevant intents are matched.

Official access points:

  • SkillHub Display Page: https://www.skillhub.cn/skills/user_09701b7c/mainpdf
  • Skill Coordinate API Page: https://api.skillhub.cn/user_09701b7c/mainpdf

Core Functions

The capabilities below are sourced from the SkillHub description and Trigger instructions; details not present in the provided materials are not expanded upon.

Editing and Structure

  • PDF editing, merging (PDF merge), splitting (PDF split)
  • Inserting text and images into PDFs

Extraction and Recognition

  • Extracting PDF text and PDF tables
  • Extracting text, tables, and images from scanned and standard PDFs
  • PDF OCR, scanned document recognition

Format Conversion

  • PDF to Word (pdf to word)
  • PDF to Image (pdf to image)
  • Also supports conversion to HTML (stated in the introduction)

Understanding and Summarization

  • PDF Summarization: summarizing and synthesizing document content

Trigger Keywords

When the following types of expressions appear in the Agent’s conversation, it can mount this Skill (excerpted, consistent with the official Triggers): PDF editing, PDF conversion, PDF extraction, PDF OCR, scanned document recognition, extract PDF text, extract PDF table, insert text into PDF, insert image into PDF, PDF summary, pdf editor, etc.

Installation and Activation

The installation method follows SkillHub’s general documentation; the skill page also suggests: let the AI install @user_09701b7c/mainpdf based on https://skillhub.cn/install/skillhub.md.

1. Install SkillHub CLI (if not already installed)

First, check if the CLI is available:

command -v skillhub && skillhub --version

If not installed, use the official script for a complete installation (CLI + Default Skill):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

If only the CLI is needed:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

2. Install PDF EDITOR to the current Agent’s skills directory

Official requirement: You must use --dir to point to the current Agent’s skills directory; otherwise, installing to the default ./skills/ might not be recognized.

In Cursor, the common path is ~/.cursor/skills/:

skillhub install user_09701b7c/mainpdf --dir ~/.cursor/skills/

Paths for other clients (excerpted from SkillHub installation documentation, choose based on your actual environment):

  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project
  • Gemini CLI: ~/.gemini/skills/

After installation, restart or refresh the Agent as required by the specific client to activate the new Skill.

3. Conversational Installation (Optional)

If you are already using an Agent that supports reading URLs, you can also directly send the prompt provided by the official page, for example: “Please install @user_09701b7c/mainpdf based on https://skillhub.cn/install/skillhub.md.” This is equivalent to letting the Agent follow the same process to pull and place the skill in the correct skills directory.

Typical Usage

The public page does not provide separate command-line sub-tool instructions; the typical usage for this Skill is to describe the goal and files within the Agent conversation, and the Agent will complete the processing guided by the skill. The following expressions align with the official Triggers to facilitate reproduction of “when this Skill is activated”:

  1. “Perform OCR on this scanned PDF and extract the text.”
  2. “Split this PDF into multiple files named by chapter.”
  3. “Convert PDF to Word, keeping tables as editable as possible.”
  4. “Extract tables from the PDF and summarize the key points of the whole text.”
  5. “Merge these PDFs in the directory and insert an image on a specific page.”

For specific steps involving local toolchains or scripts within the skill, please refer to the instructions in the installed SKILL.md; this article does not fabricate unpublished parameters or interface names.

Suitable Scenarios and Notes

Who it is for

  • Those who frequently use Agents in IDEs/Terminals to process documents and want PDF operations to be completed within the same context as the current task.
  • Those who need combined capabilities such as OCR, merging/splitting, converting to Word/Image/HTML, extraction, and summarization, and wish to trigger them using mixed Chinese or English keywords.

Notes on Usage

  • Ratings and download counts are based on real-time data from the SkillHub page (at time of scraping: Rating 100000, Downloads 3520, Version 1.0.1).
  • This is a community Skill; behavior and dependencies depend on the documentation within the skill package. The actual performance on large files, complex layouts, or encrypted PDFs needs to be verified locally.
  • Incorrect installation paths are a common pitfall: ensure --dir points to the current Agent’s skills directory.

Conclusion

PDF EDITOR consolidates PDF editing, conversion, extraction, OCR, and summarization into a single chain within Agent Skills, making it suitable for office efficiency scenarios to reduce tool switching. Installation and coordinates are subject to SkillHub:

  • https://www.skillhub.cn/skills/user_09701b7c/mainpdf
  • https://api.skillhub.cn/user_09701b7c/mainpdf
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye