
View Pdf
- 5.3k installs
- 23.1k repo stars
- Updated July 28, 2026
- anthropics/knowledge-work-plugins
view-pdf is an interactive PDF viewer skill that renders documents locally so agents and users can annotate, fill forms, stamp, and sign visually.
About
The view-pdf skill opens PDFs in a local interactive viewer for visual collaboration rather than text ingestion. Use it when users want to show contracts, highlight key terms, fill forms, place signature images, stamp labels like CONFIDENTIAL, or walk through a document with annotations. A local PDF server renders documents while list_pdfs, display_pdf, and interact list files, open a viewUUID-bound session, and batch follow-up commands sequentially. Annotation types include highlight, underline, note, stamp, and image placements for signatures and initials. Workflows cover collaborative markup using get_text to orient annotations before add_annotations, visual form filling with fill_form and get_screenshot verification, and visual signing with image annotations that are not certified digital signatures. display_pdf accepts local paths or HTTPS URLs including arXiv auto-conversion to PDF. Do not use for summarization or pure text extraction; native Read handles ingestion. Out of scope: PDF creation and cryptographic signing.
- display_pdf opens one viewer per document and returns viewUUID for all interact commands.
- Batch interact commands including add_annotations, fill_form, highlight_text, and get_screenshot.
- Supports stamps, sticky notes, shapes, and image annotations for signatures and initials.
- Visual form filling with formFields metadata and elicit_form_inputs for labeled forms.
- Explicitly not for summarization, text extraction, certified signatures, or PDF creation.
View Pdf by the numbers
- 5,265 all-time installs (skills.sh)
- +210 installs in the week ending Jul 28, 2026 (Skillselion tracking)
- Ranked #61 of 690 Office & Documents skills by installs in the Skillselion catalog
- Security screen: MEDIUM risk (skills.sh audit)
- Data as of Jul 28, 2026 (Skillselion catalog sync)
view-pdf capabilities & compatibility
- Capabilities
- interactive pdf display with viewuuid sessions · text search and auto highlight markup · visual form field filling · stamp and signature image placement · page navigation zoom and screenshot verification
- Use cases
- documentation · orchestration
- Runs
- Runs locally
- Pricing
- Free
What view-pdf says it does
Use the PDF viewer when the user wants interactivity
The viewer's value is showing the user the document and collaborating on markup — not streaming text back to you.
npx skills add https://github.com/anthropics/knowledge-work-plugins --skill view-pdfAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 5.3k |
|---|---|
| repo stars | ★ 23.1k |
| Security audit | 2 / 3 scanners passed |
| Last updated | July 28, 2026 |
| Repository | anthropics/knowledge-work-plugins ↗ |
How do I open a PDF for visual review, collaborative markup, form filling, or signature placement instead of streaming text extraction?
Open PDFs in a local interactive viewer to annotate, highlight, fill forms, stamp labels, and place signature images with visual feedback.
Who is it for?
Contract review, form completion, confidential stamps, and guided document walkthroughs needing real-time visual feedback.
Skip if: Skip for PDF summarization, page text Q&A, table extraction, certified digital signatures, or creating new PDFs.
When should I use this skill?
User asks to open, show, highlight, fill, sign, stamp, or annotate a PDF collaboratively in the viewer.
What you get
A live PDF viewer session with applied highlights, stamps, filled fields, or signature images verified by screenshots.
- annotated PDF session
- completed form fields
- signature placements
Files
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:
- "Show me this contract" / "Open this paper"
- "Highlight the key terms and let me review"
- "Help me fill out this form"
- "Sign this on page 3" / "Add my initials to each page"
- "Stamp this CONFIDENTIAL" / "Mark this as approved"
- "Walk me through this document and annotate the important parts"
Do NOT use the viewer for pure ingestion:
- "Summarize this PDF" → use the native Read tool directly
- "What does page 5 say?" → use Read
- "Extract the table from section 3" → use Read
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.
url— local file path or HTTPS URLpage— initial page (optional, default 1)elicit_form_inputs— iftrue, prompts the user to fill form
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:
add_annotations— add markup (see types below)update_annotations— modify existing (id + type required)remove_annotations— delete by id arrayhighlight_text— auto-find text by query and highlight it
(preferred over manual rects for text markup)
Navigation actions:
navigate(page),search(query),find(query, silent),
search_navigate (matchIndex), zoom (scale 0.5–3.0)
Extraction actions:
get_text— extract text from page ranges (max 20 pages). Use for
reading content to decide what to annotate, NOT for summarization.
get_screenshot— capture a page as an image (verify your annotations)
Form action:
fill_form— fill named fields:fields: [{name, value}, ...]
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)
1. display_pdf to open the document 2. interact → get_text on relevant page range to understand content 3. Propose a batch of annotations to the user (describe what you'll mark) 4. On approval, interact → add_annotations + get_screenshot 5. Show the user, ask for edits, iterate 6. When done, remind them they can download the annotated PDF from the 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.
1. display_pdf — inspect returned formFields (name, type, page, bounding box) 2. If field names are cryptic (Text1, Field_7), get_screenshot the pages and match bounding boxes to visual labels 3. Ask the user for values using the visual labels, or infer from context 4. interact → fill_form, then get_screenshot to show the result 5. User confirms or edits directly in the viewer
For simple well-labeled forms, display_pdf with elicit_form_inputs: true prompts the user upfront instead.
Signing (visual, not certified)
1. Ask for the signature/initials image path 2. display_pdf, check formFields for signature-type fields or ask which page/position 3. interact → add_annotations with type: "image" at the target coordinates 4. get_screenshot to confirm placement
Disclaimer: This places a visual signature image. It is not a certified or cryptographic digital signature.
Supported Sources
- Local files (paths under client MCP roots)
- arXiv (
/abs/URLs auto-convert to PDF) - Any direct HTTPS PDF URL (bioRxiv, Zenodo, OSF, etc. — use the
direct PDF link, not the landing page)
Out of Scope
- Summarization / text extraction — use native Read instead
- Certified digital signatures — image stamping only
- PDF creation — this works on existing PDFs only
Related skills
How it compares
Choose view-pdf over text-read workflows when layout, annotations, or form fields require a visual editor rather than extracted plain text.
FAQ
Should I use view-pdf to summarize a PDF?
No. Use native Read for summarization and text extraction; view-pdf is for interactive visual markup and collaboration.
How do follow-up PDF actions stay tied to the open viewer?
Call display_pdf once per document, then pass the returned viewUUID to every interact command batch.
Does view-pdf provide certified digital signatures?
No. It places visual signature images via image annotations; it is not a certified or cryptographic digital signature.
Is View Pdf safe to install?
skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.