Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

pdf

Skill by AstrBotDevs

Lets AstrBot assistants read, create, inspect, merge, split, rotate, encrypt, fill and validate PDF files. Built on pypdf and ReportLab, it suits users who work with PDFs or need Markdown converted into a PDF.

  • Score 92
  • 48k stars
  • AGPL-3.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install pdf

Built from the published package, never by AI.

git clone --depth 1 https://github.com/AstrBotDevs/AstrBot /tmp/AstrBot && mkdir -p ~/.claude/skills && cp -r /tmp/AstrBot/astrbot/builtin_stars/astrbot/skills/pdf ~/.claude/skills/pdf

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install pdf in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This AstrBot skill lets an assistant read, create, inspect, merge, split, rotate, encrypt, fill and validate PDF files. It uses pypdf for PDF structure operations and validation, and ReportLab for new page layout. The skill tells the assistant to preserve source files unless an in-place change is requested, and to reopen every output to check its page count, expected text and encryption state.

A bundled script converts a limited Markdown subset into PDF. The supported subset covers headings, paragraphs, flat lists, block quotes, fenced code blocks, horizontal rules, and bold, italic, inline code and HTTP(S) or mail links. Font selection can use an explicit font file, a readable system Chinese font, or ReportLab's built-in Simplified Chinese fallback. It is intended for AstrBot users who need to work with PDF files or turn supported Markdown into a polished PDF.

Written from the project's SKILL.md and checked against it.

What it can do

  • Read and inspectReads page count, metadata, encryption, page sizes, text, annotations and form fields with pypdf.
  • Create from MarkdownConverts supported Markdown into a PDF with a bundled deterministic converter.
  • MergeCombines several PDF files into one in the requested order.
  • SplitExtracts selected pages into a new PDF without modifying the source.
  • RotateRotates pages by a multiple of 90 degrees.
  • EncryptPassword-protects a PDF when the user asks, and reopens it to confirm.
  • Fill formsFills AcroForm fields while preserving interactivity unless a flattened result is requested.
  • Validate outputReopens outputs to check page count, expected text or fields, and encryption state.

What you need

  • Python with pypdf and ReportLab
  • pdftoppm, for rendering pages to images (optional)
  • A readable Chinese font file, if a specific font is required (optional)

Try asking

  • Merge these three PDFs in order into one file called report.pdf
  • Convert my notes.md into a polished PDF using the bundled converter
  • Rotate pages 2 and 3 of scan.pdf by 90 degrees and keep the original

Good to know

  • The Markdown converter does not support raw HTML, images, tables, nested lists or footnotes.
  • Visual checks need pdftoppm. Without a renderer, only structural validation is done.
  • Font downloads need user approval and are kept in the workspace, not installed system-wide.
  • Password-protected files must be opened with the password before reporting success.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: astrbot/builtin_stars/astrbot/skills/pdf/SKILL.md, astrbot/builtin_stars/astrbot/skills/pdf/scripts/markdown_to_pdf.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB
  • references/forms.md2 KB
  • scripts/markdown_to_pdf.py21 KB

Alternatives to pdf

All alternatives →

Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr

pdf: common questions

Can this skill convert Markdown with tables or images to PDF?

No. The source says the converter does not interpret tables, images, raw HTML, nested lists, footnotes or arbitrary Markdown extensions. Unsupported content should be simplified or explained.

Does the skill modify my original PDF files?

It preserves source files unless the user explicitly asks for an in-place change. Outputs are written to separate files.

How does it handle Chinese text in generated PDFs?

It uses an explicit font if provided, otherwise a suitable system Chinese font, otherwise ReportLab's built-in Simplified Chinese fallback. It stops rather than emitting missing glyphs.

How do I install pdf?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is pdf free?

The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.

Is pdf safe to use?

It scores 92 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to pdf?

Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.

Add to stack

Loading.