LaunchKit · 2026
Back to Skills

ai-pdf-builder

AI-powered PDF generator for legal docs, pitch.

1
4.9k downloads
by @nextfrontierbuilds

Setup & Installation

openclaw skills install @nextfrontierbuilds/ai-pdf-builder

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install ai-pdf-builder

Version History

v1.2.3Feb 11, 2026 - Version note by skill developer:

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.

INPUT

User asks: Generate a whitepaper about decentralized identity for my company ScaleChain Labs

AGENT
  1. 1Check if Pandoc is installed with `which pandoc`
  2. 2Confirm document type is whitepaper and user wants AI generation
  3. 3Run `npx ai-pdf-builder ai whitepaper "Write a whitepaper about decentralized identity" -o identity.pdf --company "ScaleChain Labs"`
  4. 4Wait for generation to complete and verify output file exists
OUTPUT

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.

ANTHROPIC_API_KEY environment variable (required for AI content generation features)pandoc installed via brew or apt-getLaTeX distribution (BasicTeX on macOS or texlive-full on Linux)