Jacopalas

removing-notebooklm

1
1
# Install this skill:
npx skills add Jacopalas/agentic-ai-palas --skill "removing-notebooklm"

Install specific skill from multi-skill repository

# Description

Remove the NotebookLM watermark from PDFs (presentations) and images (infographics) automatically. Use when the user wants to remove the NotebookLM watermark, eliminar el watermark, quitar la marca de agua.

# SKILL.md


name: removing-notebooklm
description: Remove the NotebookLM watermark from PDFs (presentations) and images (infographics) automatically. Use when the user wants to remove the NotebookLM watermark, eliminar el watermark, quitar la marca de agua.


/removing-notebooklm — Remove NotebookLM Watermark

Remove the NotebookLM watermark from PDFs and images automatically.

Usage

/removing-notebooklm <file> [--output <path>]

Arguments:

  • file (Required): Input file to process
  • PDF: Multi-page presentations (e.g., presentation.pdf)
  • PNG/JPG: Single images/infographics (e.g., infographic.png)
  • --output (Optional): Custom output path (default: {name}_clean.{ext})

No argument = show this usage.

Prerequisites

Run initializing-environment first to ensure Python environment is ready.

Tools required in .claude/_tooling/.venv/:

  • Pillow — Image processing
  • pymupdf — PDF processing
  • opencv-python — Inpainting algorithm

Command

# Default output (adds _clean suffix)
.claude/_tooling/.venv/Scripts/python.exe .claude/skills/removing-notebooklm/scripts/removing-notebooklm.py "<file>"

# Custom output path
.claude/_tooling/.venv/Scripts/python.exe .claude/skills/removing-notebooklm/scripts/removing-notebooklm.py "<file>" --output "<output>"

Examples

/removing-notebooklm presentation.pdf
→ Creates presentation_clean.pdf

/removing-notebooklm infographic.png
→ Creates infographic_clean.png

/removing-notebooklm input.pdf --output final.pdf
→ Creates final.pdf

Output Format

Processing PDF: presentation.pdf
Pages: 12
  Page 1/12
  Page 2/12
  ...
  Page 12/12
Saved: presentation_clean.pdf

✅ Done

How It Works

Watermark Specifications

Property Value
Size 194 x 28 pixels (at 2x)
Position Bottom-right corner
PDF margins 18px right, 16px bottom
Image margins 9px right, 10px bottom

Inpainting Algorithm

Uses OpenCV's Telea inpainting algorithm to seamlessly reconstruct the background:

  • Creates a mask over the watermark area
  • Propagates surrounding pixels into the masked region
  • Works with complex backgrounds (textures, patterns, gradients)

Supported Formats

Type Extensions Processing
PDF .pdf All pages
Image .png, .jpg Single file

Behavior

  1. Check argument: If no file provided, show usage and exit
  2. Run initializing-environment: Ensure Python environment is ready
  3. Validate file: Check file exists and format is supported
  4. Process file: Remove watermark using appropriate method
  5. Save output: {original_name}_clean.{extension}

Notes

  • Output file is saved in the same directory as input
  • Original file is not modified
  • Requires: Python environment (handled by initializing-environment)

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.