Use this skill for NotebookLM slide-deck PDFs that contain the small visible NotebookLM footer badge in the bottom-right corner.
The default behavior is intentionally narrow and safe:
*-clean.pdf copyIt does not remove arbitrary watermarks or redesign slides.
python3 {baseDir}/scripts/clean_notebooklm_pdf.py /path/to/input.pdf
By default it writes:
/path/to/input-clean.pdf
# Explicit output path
python3 {baseDir}/scripts/clean_notebooklm_pdf.py in.pdf --out out.pdf
# Inspect only (no output file written)
python3 {baseDir}/scripts/clean_notebooklm_pdf.py in.pdf --inspect
# Tune the bottom-right footer mask in PDF points (origin = bottom-left)
python3 {baseDir}/scripts/clean_notebooklm_pdf.py in.pdf --mask-x 1208 --mask-y 0 --mask-w 168 --mask-h 32
# Optional advanced hygiene flags
python3 {baseDir}/scripts/clean_notebooklm_pdf.py in.pdf --strip-metadata --strip-annots
--force is usedThe default mask is tuned for common 16:9 NotebookLM slide-deck exports:
mask-x = 1208mask-y = 0mask-w = 168mask-h = 32These values are scaled automatically for each page size.
*-clean.pdf共 1 个版本