Maxwel Scripts

CLI Scripts and AI Skills

Document Processing

Markdown to PDF and HTML, PDF operations, invoice analysis, AI translation, and email drafts

Markdown-to-PDF Conversion

Converts Markdown files into formatted PDFs with syntax highlighting — single files or a whole directory

maxwel md-to-pdf <source.md> --output <file.pdf>

Markdown-to-HTML Conversion

Converts Markdown into a standalone HTML file — same layout as the PDF, with an A4 preview on screen

maxwel md-to-html <source.md> --output <file.html>

Auto-Name PDF

Analyzes PDFs by content with AI and automatically renames them meaningfully — recursively for whole folders

maxwel pdf-name --input <file.pdf>

Split PDF

Splits a multi-page PDF into single pages or separates it at specific page numbers

maxwel pdf-split --input <source.pdf>

Invoice Analysis

Analyzes invoice PDFs with AI, extracts the relevant data, syncs files and CSV, and aggregates the totals

maxwel invoice-analyze --input <invoice.pdf>

AI Translation

Translates a text or Markdown file into the target language with AI — preserving formatting and structure

maxwel ai-text-translate --file <source.md> --target <de|en> --output <file.md>

List Email Drafts

Lists the drafts from the IMAP Drafts mailbox — with UID, subject, and recipient

maxwel email-draft-list --limit <n>

Show Email Draft

Shows an email draft by its UID — with headers and plain-text body

maxwel email-draft-get <uid>

Create Email Draft

Creates a new draft in the mailbox — it is only stored and never sent automatically

maxwel email-draft-create --to <addr> --subject "<subject>" --body "<text-or-file>"

Edit Email Draft

Edits an existing draft by its UID; fields that are not specified are preserved

maxwel email-draft-edit <uid> --subject "<subject>" --body "<text-or-file>"