Free SKILL.md scraped from GitHub. Clone the repo or copy the file directly into your Claude Code skills directory.
npx versuz@latest install vivekkarmarkar-claude-code-os-skills-hl-popup-paper-allgit clone https://github.com/VivekKarmarkar/claude-code-os.gitcp claude-code-os/SKILL.MD ~/.claude/skills/vivekkarmarkar-claude-code-os-skills-hl-popup-paper-all/SKILL.md---
name: hl-popup-paper-all
description: Produce a highlighted PDF identical to `/hl-paper-all` (layered yellow/cyan/green/pink/orange `\hl{}` highlights) plus Evince-hoverable sticky-note popups on every highlight. Opens with evince. DO NOT CLICK a sticky (Evince crashes).
---
# hl-popup-paper-all
End-to-end: curate all three journals → layer `\hl{}` highlights and sticky popups → compile → open with Evince.
## Pipeline
### Step 0 — Verify prerequisites
Per-page `.tex` files must exist. At least one journal must exist with entries.
### Step 1 — Delegate curation sequentially
For each journal that exists:
1. `/highlight-content-in-paper` → content selections (yellow)
2. `/highlight-answers-in-paper` → answer selections (cyan)
3. `/highlight-evidence-in-paper` → evidence selections (green/pink/orange)
Skip journals that don't exist or are empty. If ALL empty, STOP.
### Step 2 — Copy tex to highlighted/
Clean slate copy of all per-page `.tex` files.
### Step 3 — Apply `\hl{}` highlights (reuse apply_hl.py, 3 passes)
```bash
python3 ~/.claude/skills/hl-paper-content/helpers/apply_hl.py <content_journal> <content_selected> highlighted/ <stem> --color yellow
python3 ~/.claude/skills/hl-paper-content/helpers/apply_hl.py <answers_journal> <answers_selected> highlighted/ <stem> --color cyan
python3 ~/.claude/skills/hl-paper-content/helpers/apply_hl.py <evidence_journal> <evidence_selected> highlighted/ <stem> --color green
```
Each pass layers on the same files. First-writer-wins for overlapping excerpts.
### Step 4 — Add popup stickies (3 passes on same files)
```bash
python3 ~/.claude/skills/hl-popup-paper-content/helpers/add_popup_stickies.py <content_journal> <content_selected> highlighted/ <stem> --color yellow
python3 ~/.claude/skills/hl-popup-paper-content/helpers/add_popup_stickies.py <answers_journal> <answers_selected> highlighted/ <stem> --color cyan
python3 ~/.claude/skills/hl-popup-paper-content/helpers/add_popup_stickies.py <evidence_journal> <evidence_selected> highlighted/ <stem> --color green
```
### Step 5 — Concatenate + soul + pdfcomment preamble
Merge, then add to preamble:
```latex
\usepackage{soul}
\usepackage{pdfcomment}
\definecolor{hlyellow}{RGB}{255,255,170}
\definecolor{hlcyan}{RGB}{170,255,255}
\definecolor{hlgreen}{RGB}{170,255,170}
\definecolor{hlpink}{RGB}{255,170,170}
\definecolor{hlorange}{RGB}{255,221,170}
```
### Step 6 — Compile + open with Evince
Output: `<stem>_hl_popup_all.pdf`. Open with `evince`. Print reader instructions (hover only, don't click).
## Resources
- `helpers/add_popup_stickies.py` — symlink to `hl-popup-paper-content/helpers/add_popup_stickies.py`
- Reuses `apply_hl.py` from `/hl-paper-content` (not duplicated)