documents

Documents

Read, convert, combine, and protect documents on your own machine.

what you can say

Phrasing does not have to match. These are real utterances from the skill's own corpus — the model maps what you mean onto one of the tools below.

what it can do

ToolDoesAsks first
add_page_numbersAdd page numbers to a PDF.yes
compress_pdfCompress a PDF using a deterministic inspect-compress-verify workflow.yes
convert_documentConvert or save a document as a different format (e.g. txt→md, docx→pdf).yes
extract_textRead out the text content of a document as per-page records plus joined text. Creates no new file. Use only when the user wants the words/text itself — to copy pages into a new PDF (e.g. "extract the last page into a new pdf"), use split_pdf.read-only
find_in_documentFind a keyword or regex within one document and return page snippets.read-only
inspect_documentInspect a document's format, page count, size, encryption, and text-layer status.read-only
merge_pdfsMerge multiple PDFs into one output PDF.yes
ocr_documentMake a scanned PDF or image searchable with local Tesseract OCR.yes
protect_pdfPassword-protect a PDF.yes
remove_pagesDelete specific pages and save a copy without them. Use only when the user wants to remove, delete, drop, or get rid of pages — name the pages they do NOT want. If they instead name the pages to keep, use split_pdf.yes
reorder_pagesReorder PDF pages into a new order within one PDF (not into separate files).yes
rotate_pagesRotate selected PDF pages.yes
split_pdfCopy a subset of pages into a new PDF, leaving the original intact. Use whenever the user wants to keep, extract, pull out, split off, or save specific pages — name the pages they WANT. Do not convert this into a removal of the other pages.yes
unlock_pdfRemove PDF password protection when the password is supplied.yes
watermarkApply a text or image watermark to a PDF.yes

12 of these ask before writing anything, and show you the exact command first. That gate is enforced in code, not left to the model's judgement.

what it needs

Optional: ghostscript, libreoffice, tesseract. Without these, only the operations that use them are unavailable — the rest of the skill works.

Run knaif skills deps to see what is missing on your machine.

Download knaifBuild a skill like this