Agent skill

PDF

by manor-os in manor-os/manor-ai

A skill your agent uses whenever the user wants to do anything with PDF files.

ProprietaryAuto-check passedDocuments & Office

Install PDF

skills CLI
$ npx skills add manor-os/manor-ai --skill pdf -a claude-code

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

GitHub CLI
$ gh skill install manor-os/manor-ai 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/manor-os/manor-ai.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/core/ai/skills/pdf .claude/skills/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
pdf
GitHub stars
162
Token cost
~4.9k tokens
SKILL.md length
1,544 words
Files
29 (incl. scripts, references, assets)
Skills in repo
21
Repo updated
First seen
Licence
Proprietary

At a glance

A skill your agent uses whenever the user wants to do anything with PDF files.

  • Works in 5 steps: Preserve the source PDF. Treat chat… → Inspect structure with pypdf or… → Put temporary work under tmp/pdfs/ and… → …
  • The user wants to do anything with PDF files
  • SKILL.md covers Overview, Required Workflow, Rendering and Validation and Image-First Visual Documents, plus 9 more sections
  • Calls python, qpdf and pdftotext

What it does

PDF is an agent skill from manor-os/manor-ai. Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs with user-provided, downloaded, or generated imagery, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.

Its SKILL.md is about 4.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 32 other files, including scripts, reference files and assets (for example `assets/templates/academic-paper.json`, `assets/templates/business-report.json` and `assets/templates/examples/academic-paper.json`).

It sits in Documents & Office, covering PDF. The repository describes itself as: Source-available, self-hosted AI agent workspace for small businesses and lean teams — with BYOK, workflows, tools, and human approvals.

When your agent uses it

  • The user wants to do anything with PDF files
  • Tasks that involve PDF

Example prompts

  • “/pdf”

Requirements

  • Python 3

Workflow steps

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

  1. Preserve the source PDF. Treat chat uploads, Knowledge files, and /workspace/ files as read-only inputs. Never overwrite a mounted source…
  2. Inspect structure with pypdf or pdfplumber, but render every relevant page to PNG for layout review. Text extraction alone is not a visual…
  3. Put temporary work under tmp/pdfs/ and final files under output/pdf/ inside the skill workspace.
  4. After each meaningful edit, run python scripts/verify_pdf.py , then inspect every rendered page for alignment, spacing, clipping, glyphs…
  5. Before returning, save the verified file with sandbox_save_result. That creates a new managed artifact through Manor's file-action…

What it can do on your machine

Read from SKILL.md and the folder at commit 140c09a. 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

    Ships 1 file in scripts/, which the agent can run.

    Shell commands in SKILL.md call:

    • python
    • qpdf
    • pdftotext
    • pdftoppm

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

  • Network

    No URLs in SKILL.md.

    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

PDF loads about 4.9k tokens when it runs, and up to ~6.1k if it reads all its reference files. Until then it costs about 124 tokens; SKILL.md has 1,544 words of instructions outside code blocks.

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

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); the scripts in this folder are not scanned.

SKILL.md

Its licence (Proprietary) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,544 words (~4,886 tokens).

“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.”

— opening of SKILL.md by manor-os, Proprietary
name
pdf
license
Proprietary. LICENSE.txt has complete terms

Read the full SKILL.md on GitHub

Files

SKILL.md and 28 other files (scripts, references, assets) in packages/core/ai/skills/pdf of manor-os/manor-ai.

  • SKILL.md
  • LICENSE.txt
  • assets/templates/academic-paper.json
  • assets/templates/business-report.json
  • assets/templates/examples/academic-paper.json
  • assets/templates/examples/business-report.json
  • assets/templates/examples/invoice.json
  • assets/templates/examples/project-proposal.json
  • assets/templates/invoice.json
  • assets/templates/manifest.json
  • assets/templates/project-proposal.json
  • config.json
  • forms.md
  • reference.md
  • references/visual-document-schema.md
  • requirements.txt
  • scripts
  • … and 12 more

Open the folder on GitHubat commit 140c09a

Compare with similar skills

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.

PDF compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
PDF this skillmanor-os/manor-ai162—~4.9kAutomated safety check: PassProprietary
MarkitdownImCa0/just-laws78114 repos~3.2kAutomated safety check: NotesMIT
Gzh Designisjiamu/gzh-design-skill3.9k1 repos~2.2kAutomated safety check: PassAGPL-3.0
GenOffice Document CLIgenspark-ai/genoffice8.9k—~19kAutomated safety check: PassApache-2.0
Harness Book Best Practicewquguru/harness-books3.2k—~4.1kAutomated safety check: PassNone
Bookforge Korean Ebook PDF Makergongnyang/bookforge3141 repos~1.7kAutomated safety check: PassMIT

Similar skills

  • 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
  • Gzh Design

    isjiamu/gzh-design-skill

    微信公众号文章排版引擎,将 Markdown 转换为可直接粘贴到公众号编辑器的 HTML。主题风格从 references/theme-index.md 注册的自定义主题库中选取,自动章节编号、关键词下划线标记、引言卡片、目录导航、代码块、图片/GIF、作者签名。支持 Markdown / Word(.docx) / PDF / 纯文本输入(非 Markdown…

    3.9k GitHub starsUsed in 1 repo~2.2k tokens
    Documents & OfficeAuto-check passed
  • GenOffice Document CLI

    genspark-ai/genoffice

    Creates, converts, reads and edits real pptx, xlsx, docx and PDF files locally through the genoffice command line.

    8.9k GitHub stars~19k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Harness Book Best Practice

    wquguru/harness-books

    Best practices for working on the Harness books repo. An agent skill from wquguru/harness-books.

    3.2k GitHub stars~4.1k tokensUpdated 5 mo ago
    Documents & OfficeAuto-check passed
  • Produces book-style Korean ebook PDFs from a topic or finished manuscript, with six design styles, real book parts and quality-check gates before output.

    314 GitHub starsUsed in 1 repo~1.7k tokens
    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

More from manor-os/manor-ai

All 21 skills in this repo
  • Manor Workspace Blueprint

    manor-os/manor-ai

    A skill your agent uses when creating, exporting, hand-authoring, installing, upgrading, reverting, reviewing, or debugging any Manor Workspace Blueprint, especially when Workspace behavior differs…

    162 GitHub stars~1.4k tokensUpdated 1 mo ago
    Auto-check passed
  • PPTX

    manor-os/manor-ai

    A skill your agent uses to generate high-quality editable PowerPoint/PPTX decks from user requirements, topic prompts, or provided text/Markdown.

    162 GitHub stars~12k tokensUpdated 1 mo ago
    Auto-check passed
  • Video Edit

    manor-os/manor-ai

    Default workflow for editing, composing, or creating a finished video from screenshots, UI captures, uploaded clips, images, audio, or a written brief.

    162 GitHub stars~2.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Intro

    manor-os/manor-ai

    Public English guide to the Manor AI OSS self-hosted product, its visible capabilities, and end-user workflows.

    162 GitHub stars~781 tokensUpdated 1 mo ago
    Auto-check passed
  • Skill Creator

    manor-os/manor-ai

    Create, update, review, and evaluate reusable Manor Skills. An agent skill from manor-os/manor-ai.

    162 GitHub stars~1.6k tokensUpdated 1 mo ago
    Auto-check passed
  • Solo Business Idea Finder

    manor-os/manor-ai

    Generate and rank practical one-person business ideas from a founder's experience, reachable buyers, credibility, reusable assets, distribution, delivery ability, time, budget, and risk limits.

    162 GitHub stars~3.2k tokensUpdated 1 mo ago
    Auto-check passed

Questions about PDF

What does PDF do?

A skill your agent uses whenever the user wants to do anything with PDF files. PDF is an agent skill from manor-os/manor-ai. Use this skill whenever the user wants to do anything with PDF files.

When should I use PDF?

PDF fits situations like: the user wants to do anything with PDF files; tasks that involve PDF.

How do I install PDF in Claude Code?

Run `npx skills add manor-os/manor-ai --skill pdf -a claude-code`. Or copy the skill folder (packages/core/ai/skills/pdf in manor-os/manor-ai) into .claude/skills/pdf in your project. Claude Code loads it when a task matches its description.

How do I install PDF in Codex?

Run `npx skills add manor-os/manor-ai --skill pdf -a codex`. Or copy the skill folder (packages/core/ai/skills/pdf in manor-os/manor-ai) into .agents/skills/pdf in your project. Codex loads it when a task matches its description.

Can I use 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 manor-os/manor-ai --skill 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/pdf, .gemini/skills/pdf, .github/skills/pdf and .opencode/skills/pdf in your project.

What does PDF need to run?

Going by SKILL.md and its folder, PDF needs the command-line tools its instructions call (python, qpdf, pdftotext and pdftoppm). Our summary lists: Python 3.

Does PDF access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does PDF use?

PDF carries a proprietary licence (declared in SKILL.md). It is published on GitHub, but it is not open source: read the licence file before using or sharing it.

How many tokens does PDF use?

About 4.9k tokens (SKILL.md is roughly 20k 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 1.2k tokens, read only when the agent opens those files.

What are the alternatives to PDF?

Skills that share tags, products or a category with PDF: Markitdown (ImCa0/just-laws, 781 stars), Gzh Design (isjiamu/gzh-design-skill, 3.9k stars), GenOffice Document CLI (genspark-ai/genoffice, 8.9k stars) and Harness Book Best Practice (wquguru/harness-books, 3.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains PDF?

manor-os (a GitHub organization) maintains it in manor-os/manor-ai, which has 162 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on September 7, 2026.

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