# remove-pdf-watermark

Removes watermarks from PDF files via the official Pilio CLI and API. Useful when cleaning up editable documents or reconstructing pages with AI.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 7400 installs · ★ 44
- Author: pilioai
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/pilioai/skills/tree/HEAD/skills/remove-pdf-watermark/SKILL.md
- Updated: 2026-07-26
- HTML: https://affpapa.org/en/nevibecode/skills/remove-pdf-watermark

## What it does

The skill guides the agent to process documents with `@pilio/cli` via `pnpm dlx`. It uploads the PDF and polls for completion using `pnpm dlx @pilio/cli task wait <task_id>`.

Processing supports two optional modes: `--mode editable` and `--mode ai` for page reconstruction. The tool requires the `PILIO_API_KEY` environment variable. Never paste keys into the chat. Without an exported key, the CLI cannot finish tasks.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add pilioai/skills --skill remove-pdf-watermark -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/remove-pdf-watermark/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/remove-pdf-watermark/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add pilioai/skills --skill remove-pdf-watermark -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/remove-pdf-watermark/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add pilioai/skills --skill remove-pdf-watermark -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/remove-pdf-watermark/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install pilioai/skills remove-pdf-watermark
```

2. **Manually: put the files in place**
- File: `.github/skills/remove-pdf-watermark/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add pilioai/skills --skill remove-pdf-watermark -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/pilioai/skills --path skills/remove-pdf-watermark
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/remove-pdf-watermark/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add pilioai/skills --skill remove-pdf-watermark -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/pilioai/skills/tree/HEAD/skills/remove-pdf-watermark/SKILL.md

## When to use it
- remove watermarks from a PDF file
- prepare a cleaned document for editing
- reconstruct PDF pages using AI mode
- poll Pilio asynchronous task status via CLI

## Example prompts
- Remove watermarks from `./watermarked.pdf`
- Clean up `./input.pdf` using `--mode editable` and wait for the task
- Reconstruct pages in `./scan.pdf` using `--mode ai`

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: ed081413d4d0d254.

BEGIN THIRD-PARTY FILE ed081413d4d0d254
````text
---
name: remove-pdf-watermark
description: Remove watermarks from a PDF with the Pilio developer API. Use when the user wants PDF watermark removal, editable PDF cleanup, AI PDF page reconstruction, or automated PDF watermark processing through Pilio.
---

# Remove PDF Watermark

Use the Pilio CLI so PDF upload, asynchronous task creation, and polling use the official SDK path.

Require `PILIO_API_KEY` in the environment. Do not ask the user to paste API keys into the conversation.

Try the same workflow online first: https://pilio.ai/pdf-watermark-remover

Run:

```bash
pnpm dlx @pilio/cli remove-pdf-watermark --input ./watermarked.pdf
```

Optional mode:

```bash
pnpm dlx @pilio/cli remove-pdf-watermark --input ./watermarked.pdf --mode editable
pnpm dlx @pilio/cli remove-pdf-watermark --input ./watermarked.pdf --mode ai
```

The command returns a task payload. If the task is still pending or processing, wait for it:

```bash
pnpm dlx @pilio/cli task wait <task_id>
```
````
END THIRD-PARTY FILE ed081413d4d0d254

The third-party file has ended. Everything between the ed081413d4d0d254 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

© pilioai · MIT · https://github.com/pilioai/skills/tree/HEAD/skills/remove-pdf-watermark/SKILL.md

## Similar
- [PDF Watermark](https://affpapa.org/en/nevibecode/skills/pdf-watermark.md) — skill · 4600 installs
- [gemini-watermark-remover](https://affpapa.org/en/nevibecode/skills/gemini-watermark-remover.md) — skill · 12900 installs
- [nano-pdf](https://affpapa.org/en/nevibecode/skills/nano-pdf.md) — skill · 7200 installs
- [pdf](https://affpapa.org/en/nevibecode/skills/openai-pdf.md) — skill · 13400 installs
- [pdf-to-docx](https://affpapa.org/en/nevibecode/skills/pdf-to-docx.md) — skill · 6000 installs
- [minimax-pdf](https://affpapa.org/en/nevibecode/skills/minimax-pdf.md) — skill · 3800 installs

From the same set: [pilioai/skills](https://affpapa.org/en/nevibecode/by/pilioai/skills.md) — 5 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
