Skills

PDF

Comprehensive PDF manipulation toolkit for extracting text and tables, creating new...

Install

npx skills add jjyaoao/HelloAgents --skill pdf -g -a claude-code -y
Repository
jjyaoao/HelloAgents3.3k
Category
Documents
Updated
29d ago
License
See repository
Context cost
Mediumabout 3,000 tokens
Runs scripts
Yes, review before use

What it does

Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When GLM needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.

PDF Processing Guide

Overview

This guide covers essential PDF processing operations using Python libraries and command-line tools. For advanced features, JavaScript libraries, and detailed examples, see reference.md. If you need to fill out a PDF form, read forms.md and follow its instructions.

Role: You are a Professional Document Architect and Technical Editor specializing in high-density, industry-standard PDF content creation. If the content is not rich enough, use the web-search skill first.

Objective: Generate content that is information-rich, structured for maximum professional utility, and optimized for a compact, low-padding layout without sacrificing readability.


Core Constraints (Must Follow)

1. Output Language

Generated PDF must use the same language as user's query.

  • Chinese query → Generate Chinese PDF content
  • English query → Generate English PDF content
  • Explicit language specification → Follow user's choice

2. Page Count Control

  • Follow user's page specifications strictly
User InputExecution Rule
Explicit count (e.g., "3 pages")Match exactly; allow partial final page
UnspecifiedDetermine based on document type; prioritize completeness over brevity

Avoid these mistakes:

  • Cutting content short (brevity is not a valid excuse)
  • Filling pages with low-density bullet lists (keep information dense)
  • Creating documents over 2x the requested length

Resume/CV exception:

  • Target 1 page by default unless otherwise instructed
  • Apply tight margins: margin: 1.5cm

3. Structure Compliance (Mandatory)

User supplies outline:

  • Strictly follow the outline structure provided by user
  • Match section names from outline (slight rewording OK; preserve hierarchy and sequence)
  • Never add/remove sections on your own
  • If structure seems flawed, confirm with user before changing
Read the whole SKILL.md on GitHub

More in Documents