lwmxiaobei/xbcode · Archived

pdf

Process and extract content from PDF files

First seen Jun 12, 2026

Installation

$ npx skills add lwmxiaobei/xbcode --skill pdf

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 41
License LICENSE
Default branch main
Open issues 0
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 614 B
  • docs SUMMARY.md 53 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

PDF Processing

To work with PDF files:

  1. Use bash to check if pdftotext is available: which pdftotext
  2. If not installed, suggest: brew install poppler (macOS) or apt install poppler-utils (Linux)
  3. Extract text: pdftotext input.pdf - (outputs to stdout)
  4. For structured extraction: pdftotext -layout input.pdf -
  5. For page-specific extraction: pdftotext -f 1 -l 5 input.pdf - (pages 1-5)

For PDF metadata: pdfinfo input.pdf For PDF to images: pdftoppm -png input.pdf output_prefix