Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
Added DLhugly as contributor, SEO updates
What This Skill Does
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.
When to use it
- 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
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Generate a whitepaper about decentralized identity for my company ScaleChain Labs
- 1Check if Pandoc is installed with `which pandoc`
- 2Confirm document type is whitepaper and user wants AI generation
- 3Run `npx ai-pdf-builder ai whitepaper "Write a whitepaper about decentralized identity" -o identity.pdf --company "ScaleChain Labs"`
- 4Wait for generation to complete and verify output file exists
identity.pdf saved locally with ScaleChain Labs branding and AI-generated content on decentralized identity
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.