Bodega

Skills › Productividad

view-pdf

Interactive PDF viewer. Use when the user wants to open, show, or view a PDF and collaborate on it visually — annotate, highlight, stamp, fill form fields, place signature/initials, or review markup together. Not for summarization or text extraction (use native Read instead).

Descargar .zipVer en GitHub
Departamento
Productividad
Fuente
Oficial · anthropics/knowledge-work-plugins › pdf-viewer
Autor
Anthropic
Licencia
Apache-2.0
Idioma
Inglés
Riesgo
Bajo

Cómo instalarla en Claude

  1. Descargue el .zip sin descomprimirlo.
  2. En Claude active Configuración › Capacidades › Crear y editar archivos.
  3. Vaya a Personalizar › Skills › Crear skill › Subir una skill y elija el archivo.

Instrucciones completas (SKILL.md)

PDF Viewer — Interactive Document Workflows

You have access to a local PDF server that renders documents in a live viewer and lets you annotate, fill forms, and place signatures with real-time visual feedback.

When to use this skill

Use the PDF viewer when the user wants interactivity:

Do NOT use the viewer for pure ingestion:

The viewer's value is showing the user the document and collaborating on markup — not streaming text back to you.

Tools

list_pdfs

List available local PDFs and allowed local directories. No arguments.

display_pdf

Open a PDF in the interactive viewer. Call once per document.

fields before displaying (use for interactive form-filling)

Returns a viewUUID — pass this to every interact call. Calling display_pdf again creates a separate viewer; interact calls with the new UUID won't reach the one the user is looking at.

Also returns formFields (name, type, page, bounding box) if the PDF has fillable fields — use these coordinates for signature placement.

interact

All follow-up actions after display_pdf. Pass viewUUID plus one or more commands. Batch multiple commands in one call via the commands array — they run sequentially. End batches with get_screenshot to verify changes visually.

Annotation actions:

(preferred over manual rects for text markup)

Navigation actions:

search_navigate (matchIndex), zoom (scale 0.5–3.0)

Extraction actions:

reading content to decide what to annotate, NOT for summarization.

Form action:

Annotation Types

All annotations need id (unique string), type, page (1-indexed). Coordinates are PDF points (1/72 inch), origin top-left, Y increases downward. US Letter is 612×792pt.

| Type | Key properties | Use for | |------|----------------|---------| | highlight | rects, color?, content? | Mark important text | | underline | rects, color? | Emphasize terms | | strikethrough | rects, color? | Mark deletions | | note | x, y, content, color? | Sticky-note comments | | freetext | x, y, content, fontSize? | Visible text on page | | rectangle | x, y, width, height, color?, fillColor? | Box regions | | circle | x, y, width, height, color?, fillColor? | Circle regions | | line | x1, y1, x2, y2, color? | Draw lines/arrows | | stamp | x, y, label, color?, rotation? | APPROVED, DRAFT, CONFIDENTIAL, etc. | | image | imageUrl, x?, y?, width?, height? | Signatures, initials, logos |

Image annotations accept a local file path or HTTPS URL (no data: URIs). Dimensions auto-detected if omitted. Users can also drag & drop images directly onto the viewer.

Interactive Workflows

Collaborative annotation (AI-driven)

viewer toolbar

Form filling (visual, not programmatic)

Unlike headless form tools, this gives the user live visual feedback and handles forms with cryptic/unnamed fields where the label is printed on the page rather than in field metadata.

bounding box)

the pages and match bounding boxes to visual labels

context

For simple well-labeled forms, display_pdf with elicit_form_inputs: true prompts the user upfront instead.

Signing (visual, not certified)

which page/position

coordinates

Disclaimer: This places a visual signature image. It is not a certified or cryptographic digital signature.

Supported Sources

direct PDF link, not the landing page)

Out of Scope