NanoClaw can extract text from PDF files sent as attachments, shared via URL, or stored locally. The agent can then read, summarize, or answer questions about the document content.Documentation Index
Fetch the complete documentation index at: https://docs.nanoclaw.dev/llms.txt
Use this file to discover all available pages before exploring further.
The PDF reader skill is currently WhatsApp-only. It lives on the
nanoclaw-whatsapp fork.How it works
The skill usespoppler-utils (pdftotext and pdfinfo) for text extraction. It handles three input sources:
| Source | How it works |
|---|---|
| WhatsApp attachment | Auto-downloaded by the WhatsApp channel, then extracted |
| URL | Downloaded via curl, then extracted |
| Local file | Extracted directly from the container filesystem |
Prerequisites
- WhatsApp channel installed (
/add-whatsapp) poppler-utils(installed inside the container by the skill)
Installation
container/skills/pdf-reader/ that runs inside the agent container.
After merging, rebuild the container:
Usage examples
Send a PDF to a WhatsApp group, then ask:Related pages
- Skills system — How skills work
- WhatsApp integration — WhatsApp channel setup
- Image vision — Another WhatsApp media skill