К основному содержанию
скилл Claude Code CX Codex Cursor GitHub Copilot официальный · Anthropic

view-pdf — скилл для Claude Code: просмотр PDF

Открывает PDF в интерактивном просмотрщике и помогает размечать документ, заполнять формы и размещать подписи. Подходит для совместной работы по экрану.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add anthropics/knowledge-work-plugins --skill view-pdf -a claude-code
Открыть на GitHub

Что делает view-pdf

Скилл открывает локальный PDF или прямой HTTPS-адрес в интерактивном просмотрщике. Агент может перейти на нужную страницу, найти текст, добавить подсветку, заметку, штамп, линию или другой вид разметки, а затем показать снимок результата. Для работы с формами есть заполнение полей и визуальная проверка.

Внутри используются инструменты list_pdfs, display_pdf и interact: последний принимает навигацию, извлечение текста, заполнение форм и аннотации. Документ нужно открыть через display_pdf один раз и передавать полученный viewUUID в дальнейшие действия. Скилл работает с существующими PDF, но не создаёт их, не предназначен для пересказа текста и не ставит сертифицированную цифровую подпись. Подпись добавляется как изображение, поэтому это повод проверить юридические требования к документу.

Какие задачи решает

  • открыть PDF для совместного просмотра
  • подсветить важные фрагменты и добавить заметки
  • заполнить поля интерактивной формы
  • поставить визуальную подпись или инициалы
  • проверить разметку по снимку страницы

Примеры запросов агенту

  • Открой `contract.pdf`, покажи страницу с условиями и подсветь ключевые пункты для моего согласования.
  • Заполни форму в `application.pdf`, затем покажи снимок страницы с результатом.
  • Открой `report.pdf`, добавь штамп `CONFIDENTIAL` на первой странице и проверь его положение.

Как установить view-pdf

1Через Skills CLI (Vercel)

npx skills add anthropics/knowledge-work-plugins --skill view-pdf -a claude-code

2Вручную: положить файлы

~/.claude/skills/view-pdf/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/view-pdf/

Из того же набора89

Весь набор →
data-visualization официальный anthropics Подбирает подходящие типы графиков под структуру данных и генерирует код на Python с matplotlib, seaborn и plotly. Пригодится при подготовке отчётов. Claude Code CX Codex Cursor +1 13 700установок documentation официальный anthropics Скилл для технического письма: собирает README, справочник по API, ранбук, архитектурный документ или гайд для новичков. Пригодится, когда код есть, а описания к нему нет. Claude Code CX Codex Cursor +1 10 300установок build-dashboard официальный anthropics Генерирует автономный HTML-дашборд с графиками Chart.js, карточками KPI и таблицами. Помогает быстро оформить результаты запроса или сырые данные в один файл для браузера. Claude Code CX Codex Cursor +1 9 100установок memory-management официальный anthropics Скилл раскладывает рабочие сокращения, имена и термины по файлам памяти, чтобы агент учитывал их в запросах. Пригодится для проектов с внутренним словарём и множеством контекстных деталей. Claude Code CX Codex Cursor +1 7 400установок task-management официальный anthropics Ведёт список задач в локальном файле TASKS.md и показывает интерактивный дашборд. Пригодится, чтобы фиксировать дедлайны и поручения прямо во время диалога с агентом. Claude Code CX Codex Cursor +1 7 200установок architecture официальный anthropics Помогает оформить Architecture Decision Record или разобрать чужой дизайн системы: варианты, компромиссы, последствия. Пригодится, когда выбираете между технологиями. Claude Code CX Codex Cursor +1 6 700установок knowledge-synthesis официальный anthropics Скилл объединяет результаты корпоративного поиска из чатов, почты и документов в один связный ответ. Убирает дубли, выставляет уровень доверия и сохраняет ссылки на источники. Claude Code CX Codex Cursor +1 6 400установок testing-strategy официальный anthropics Скилл помогает спроектировать стратегию тестирования и план проверок для проекта. Пригодится, когда нужно выбрать типы тестов и найти пробелы в покрытии. Claude Code CX Codex Cursor +1 6 400установок

Похожие

nutrient-document-processing affaan-m Скилл обращается к Nutrient DWS API, чтобы конвертировать документы, распознавать сканы, извлекать данные и менять PDF. Подойдёт, если эти операции нужны в рабочем процессе с файлами. Claude Code CX Codex Cursor +1 4 400установок nature-image2ppt Yuan1z0825 Пересобирает скриншоты, сканы PDF и растровые слайды в редактируемые презентации PowerPoint с отдельными объектами. Пригодится для восстановления схем и макетов. Claude Code CX Codex Cursor +1 7 300установок wowerpoint thedotmack Превращает один текстовый документ в нарративную kawaii-презентацию в NotebookLM через CLI. Пригодится, когда нужно быстро показать отчёт или проект в виде понятных слайдов. Claude Code CX Codex Cursor +1 4 400установок earnings-analysis официальный anthropics Скилл собирает отчёт по квартальным результатам компании: сравнивает факты с ожиданиями, обновляет оценки и показывает влияние на инвестиционный тезис. Claude Code CX Codex Cursor +1 3 300установок pdftk-server официальный github Скилл помогает GitHub Copilot работать с PDF через CLI pdftk: объединять, делить, поворачивать и защищать документы. Подходит для задач, которые нужно выполнить из терминала. GitHub Copilot 9 978установок power-bi-performance-troubleshooting официальный github Скилл помогает найти причины медленной работы моделей, отчётов и запросов Power BI. Пригодится, когда нужно понять, где возникает узкое место и что проверить. GitHub Copilot 8 900установок pptx официальный anthropics Скилл помогает создавать, читать и редактировать файлы .pptx и шаблоны .potx. Пригодится, когда нужно собрать презентацию или извлечь из неё текст. Claude Code Claude.ai 241 433установок pdf официальный anthropics Скилл читает, создаёт и меняет PDF-файлы, включая формы и сканы. Подойдёт, когда агенту нужно работать с PDF в проекте. Claude Code Claude.ai 216 041установок

Вопросы о view-pdf

Как установить view-pdf в Claude Code?

Выполните npx skills add anthropics/knowledge-work-plugins --skill view-pdf -a claude-code, затем повторите npx skills add anthropics/knowledge-work-plugins --skill view-pdf -a claude-code. Файл скилла находится по пути ~/.claude/skills/view-pdf/SKILL.md.

Что делает view-pdf?

Он открывает существующие PDF в интерактивном просмотрщике, где агент может помогать с навигацией, аннотациями, формами и визуальным размещением подписи.

Можно ли использовать view-pdf для извлечения текста или электронной подписи?

Извлечение текста нужно использовать для понимания документа и выбора места разметки, а не для пересказа. Подпись добавляется как изображение и не является сертифицированной или криптографической цифровой подписью.

Исходный текст

SKILL.md · Apache-2.0
---
name: view-pdf
description: 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).
---

# 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 URL
- `page` — initial page (optional, default 1)
- `elicit_form_inputs` — if `true`, 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 array
- `highlight_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

© anthropics · Apache-2.0 · anthropics/knowledge-work-plugins

Смотрите также

Спонсоры проекта

Компании, которые помогают держать аналитику открытой