name: read-annotated-pdf description: Extract and display annotations (highlights, comments, sticky notes, strikeouts) from a PDF file. Use when the user asks to read annotations, check PDF comments, review highlights, or says "看看我的批注". argument-hint: <path-to-pdf> allowed-tools: Bash(python3 *)
Extract annotations from the given PDF using the bundled script.
Instructions
-
Run the extraction script on the provided PDF path:
python3 ${CLAUDE_SKILL_DIR}/scripts/read_annotations.py $ARGUMENTS -
If
pymupdfis not installed, install it first:pip install pymupdf -
Parse the output. Each annotation has:
- page: page number
- type: Highlight, Text (sticky note), FreeText, StrikeOut, Underline, Squiggly
- highlighted_text: the text that was highlighted/marked
- comment: the user's written comment
- context_before / context_after: surrounding text for locating the annotation
-
Group annotations by page and present them clearly to the user.
-
For each annotation with a comment, treat it as a revision instruction:
- "rewrite" or "改" → rewrite that section
- "delete" or "删" → remove that content
- A question → answer it and propose an edit
- Just a highlight with no comment → flag it for the user to clarify
-
After presenting all annotations, ask: "Should I apply these changes?" / "要我按这些批注改吗?"
Important
- Never recompile a PDF over the annotated file — annotations are stored in the PDF and will be lost. Always compile to a new filename or versioned name.
- When applying changes, work on the
.texsource, not the PDF.
Priorisation de Tâches
Productivite
Priorise vos tâches avec les frameworks Eisenhower, ICE et RICE.
Generateur de Rapport Hebdomadaire
Productivite
Generez des rapports de statut hebdomadaires structures et concis.
Rapport de Daily Standup
Productivite
Génère des rapports de daily standup structurés et concis.