Skill Definition WF2 - Bundle Browser
Source: c92 skill-definition — wireframe 2. Argument: a skill is a directory on disk, and the honest way to show it is as one — a file tree on the left, the selected file raw on the right, SKILL.md open by default. What you see is byte-for-byte what the harness will read.
Files
12 · 48.8 KB · ~/.claude/skills/pdfThe skill directory as scanned on the canonical install. ● referenced from SKILL.md · ⚙ executable.
1---2name: pdf3description: 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, 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.4license: Proprietary. LICENSE.txt has complete terms5---6# PDF Processing Guide78## Overview910This 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.1112## Quick Start1314```python15from pypdf import PdfReader, PdfWriter1617# Read a PDF18reader = PdfReader("document.pdf")19print(f"Pages: {len(reader.pages)}")2021# Extract text22text = ""23for page in reader.pages:24 text += page.extract_text()25```2627## Python Libraries2829### pypdf - Basic Operations3031**Merge PDFs**3233```python34writer = PdfWriter()35for pdf_file in ["doc1.pdf", "doc2.pdf"]:36 reader = PdfReader(pdf_file)37 for page in reader.pages:38 writer.add_page(page)39with open("merged.pdf", "wb") as output:40 writer.write(output)41```4243### pdfplumber - Text and Table Extraction4445Use `scripts/extract_form_structure.py` to dump the field tree before filling a form, and `scripts/check_bounding_boxes.py` to validate placement afterwards.4647## Command-Line Tools4849- `pdftotext -layout in.pdf out.txt` keeps column layout50- `qpdf --decrypt --password=… in.pdf out.pdf` strips owner encryption51- `gs -sDEVICE=pdfwrite -dPDFSETTINGS=/ebook` compresses for email5253## Scanned PDFs5455Run OCR (`ocrmypdf --skip-text`) first; the extraction recipes above only see the text layer.
Readout
Best for the audit posture — a security reviewer wants the artifact, not a rendering of it, and the browser makes the scripts as visible as the prose (docx's script tree is 40 files; the prose is 91 lines). Every file is one click and the meta header (hash · size · mode · modified) is the evidence line. Weakest as reading: a 300-line instruction file as numbered raw text is a wall, and frontmatter semantics (invocation policy, tools) stay implicit unless the header decodes them.
Costs: the inspector must ship the full file inventory with per-file hashes and modes, and a bounded fetch for any text file's contents (a size cap, and a denylist for binaries); nothing rendered, so no Markdown pipeline needed.