Agent skill · writing content · sundial-org

ai-pdf-builder

Generate professional PDFs from Markdown using Pandoc and LaTeX with AI-powered content generation. Creates whitepapers, term sheets, memos, agreements, SAFEs, NDAs, and more.

Why this skill is useful

Adds specific commands and workflows for generating and enhancing PDFs that the AI wouldn't reliably generate on its own.

What it needs

Requires basictex, pandoc, texlive-full installed locally. About 3k tokens when loaded. Last updated 2026-03-07. 639 stars on the source repository.

What this skill does

AI PDF Builder Generate professional PDFs from Markdown with AI-powered content generation. Perfect for: Whitepapers & Litepapers Term Sheets SAFEs & NDAs Memos & Reports Legal Agreements What's New in v1.1.0 AI Content Generation - Generate documents from prompts using Claude --company Flag - Inject company name directly via CLI enhance Command - Improve existing content with AI summarize Command - Generate executive summaries from documents Content Sanitization - Automatic cleanup of AI-generated content Requirements Option A: Local Generation (Free, Unlimited) Option B: Cloud API (Coming Soon) No install required. Get API key at ai-pdf-builder.com For AI Features: Set your Anthropic API key: Usage Check System Generate via CLI AI Content Generation (New!) Enhance Existing Content (New!) Summarize Documents (New!) Generate via Code Document Types Type Function Best For ------ ---------- ---------- whitepaper generateWhitepaper() Technical docs, litepapers memo generateMemo() Executive summaries agreement generateAgreement() Legal contracts termsheet generateTermsheet() Investment terms safe generateSAFE() SAFE agreements nda generateNDA() Non-disclosure agreements report generateReport() Business reports proposal generateProposal() Business proposals Custom Branding Agent Instructions When a user asks to generate a PDF: 1. Check what type of document they need (whitepaper, term sheet, memo, etc.) 2. Determine if they want AI generation or have existing content 3. Get the content - either from their message, a file, or use AI to generate 4. Ask for metadata if not provided (title, author, company name) 5. Use --company flag to inject company branding 6. Check if Pandoc is installed: which pandoc 7. If Pandoc missing, provide install instructions or suggest cloud API 8. Generate the PDF using the appropriate function 9. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills sundial-org/ai-pdf-builder

View the source on GitHub

Browse the @skills marketplace