ai-pdf-builder
от nextfrontierbuilds
PDF & DocumentsКратко
AI-powered PDF generator for legal docs, pitch.
Описание
Что делает этот навык
CLI and Node.js library that generates formatted PDFs from markdown or AI-generated content. Supports legal documents, pitch decks, and business reports including SAFEs, NDAs, term sheets, and whitepapers. Runs locally via Pandoc/LaTeX or can use Claude to generate document content from prompts.
Combining AI content generation and PDF rendering in a single CLI call removes the back-and-forth between a writing tool and a document formatter.
Когда его использовать
- Drafting a SAFE agreement for a pre-seed round
- Generating a whitepaper from a one-line prompt before a demo
- Turning a rough memo draft into a polished PDF for investors
- Creating an NDA quickly without a lawyer for a contractor engagement
- Producing a term sheet template for a Series A negotiation
Пример сценария
User asks: Generate a whitepaper about decentralized identity for my company ScaleChain Labs
- 1
Check if Pandoc is installed with
which pandoc - 2
Confirm document type is whitepaper and user wants AI generation
- 3
Run
npx ai-pdf-builder ai whitepaper "Write a whitepaper about decentralized identity" -o identity.pdf --company "ScaleChain Labs" - 4
Wait for generation to complete and verify output file exists
identity.pdf saved locally with ScaleChain Labs branding and AI-generated content on decentralized identity
Требования
- ANTHROPIC_API_KEY environment variable (required for AI content generation features)
- pandoc installed via brew or apt-get
- LaTeX distribution (BasicTeX on macOS or texlive-full on Linux)
Установка
clawhub install nextfrontierbuilds/ai-pdf-builderВыполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.