Install
openclaw skills install paper-highlightAutomatically highlight academic papers by 5 semantic categories — goal, motivation, method, results, contributions — to help you quickly skim a paper. Confi...
openclaw skills install paper-highlightUse this skill as a paper-reading workflow: understand first, then mark reusable information with stable semantics. Tune density with the highlight level, but keep each color meaning consistent.
This skill needs a one-time setup after installation. Prefer uv so the dependency stays isolated and reproducible:
cd /Users/yo/.codex/skills/paper-highlight
uv venv .venv
source .venv/bin/activate
uv pip install pymupdf
If the environment already exists, refresh it with:
cd /Users/yo/.codex/skills/paper-highlight
source .venv/bin/activate
uv pip install --upgrade pymupdf
references/highlight-rules.md before annotating.light opacity by default; it now uses soft pastel colors at 0.5 opacity so the marks stay visible without fully covering the text. Switch to dark only when the source PDF is faint or image-heavy.TLDR paragraph and concise section flow summaries. Do not quote the original paper text inside notes; rewrite it as clear, compact summaries.Before executing the full highlighting workflow, report at least:
Use those numbers to tell the user that the paper may be expensive to process. If the user does not explicitly confirm, stop after the inspection step.
Use --highlight-level to control annotation density:
low: fixed baselinemedium: target about 1.25x the low counthigh: target about 1.5x the low countextreme: target up to 2x the low countManual flags such as --max-per-page, --max-total, and --min-score still override the level preset when needed.
Use --note-mode to control the explanation layer:
default: add a title TLDR paragraph and concise section flow summariesnone: disable all note annotationsUse the required 5-color core by default:
Enable optional colors only when they clearly add value:
Set up the local environment:
cd /Users/yo/.codex/skills/paper-highlight
uv venv .venv
source .venv/bin/activate
uv pip install pymupdf
Run the highlighter:
cd /Users/yo/.codex/skills/paper-highlight
source .venv/bin/activate
python3 scripts/highlight_paper.py input.pdf
python3 scripts/highlight_paper.py input.pdf --highlight-level medium
python3 scripts/highlight_paper.py input.pdf --highlight-level high --include-optional
python3 scripts/highlight_paper.py input.pdf --note-mode flow
python3 scripts/highlight_paper.py input.pdf --note-mode hightlight
python3 scripts/highlight_paper.py input.pdf --note-mode full
python3 scripts/highlight_paper.py input.pdf --highlight-level exteme --opacity dark
python3 scripts/highlight_paper.py input.pdf --disable-optional definitions
Ask the script for its exact CLI when needed:
cd /Users/yo/.codex/skills/paper-highlight
source .venv/bin/activate
python3 scripts/highlight_paper.py --help
references/highlight-rules.md: color legend, density targets, and sentence-level filtersscripts/highlight_paper.py: bundled PyMuPDF annotator for the final PDF passbrew install uv