tools / doc

Doc

documents4 tools

Render Markdown, bundles, and LaTeX to PDF; extract text and render pages from PDF and Office files.

Tools

extract-text.py

○ hermeticpython3

Extract readable text out of PDF, DOCX, PPTX, XLSX, ODT, RTF, HTML, and plain-text documents into structured Markdown carrying page, slide, and sheet markers. The format is detected from file content, so no extension is needed; pages selects a 1-indexed subset such as "1-5" or "2,4,7-9" (PDF pages, PPTX slides, XLSX sheets).

3 paramsdetails →

latex-to-pdf.sh

○ hermeticlatex

Compile a LaTeX document to PDF (full TeX Live, offline, deterministic -- no runtime package fetching). Mounts input TeX file via fragletc file-shaped param (:file) to /input/tex_source.

2 params · 1 outputdetails →

markdown-to-pdf.py

○ hermeticheadless-browser

Render Markdown to one PDF with headless Chromium: inline text, a single .md (or .html) file, or a tar/tar.gz/zip bundle of pages plus the images and fonts they reference by relative path. Several pages become one document with page breaks (ordered by manifest.txt/order.txt when present, else by path) and a table of contents. style=reader applies clean reader typography; style=none renders the page exactly as authored, adding only the page box -- for pages that bring their own <style>, like newspapers, posters, and one-sheets.

8 params · 1 outputdetails →

pdf-to-images.py

○ hermeticpython3

Render PDF pages to high-resolution PNG images for visual inspection, slide viewing, or multimodal agent review.

3 params · 2 outputsdetails →

Get it

This directory is the skill — SKILL.md lists the tools and the tools sit beside it. As one file, into any Agent Skills directory:

curl -fsSL https://tools.ofthemachine.com/doc.tar.gz | tar xz -C ~/.claude/skills