Skip to content
TakoAPI
Back to skills

ai-pdf-builder

by nextfrontierbuilds

PDF & Documents
4.9kDownloads reported by clawskills.sh
1Stars
1Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

AI-powered PDF generator for legal docs, pitch.

Description

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

INPUT

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

AGENT
  1. 1

    Check if Pandoc is installed with which pandoc

  2. 2

    Confirm document type is whitepaper and user wants AI generation

  3. 3

    Run npx ai-pdf-builder ai whitepaper "Write a whitepaper about decentralized identity" -o identity.pdf --company "ScaleChain Labs"

  4. 4

    Wait 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

  • 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)

Installation

clawhub install nextfrontierbuilds/ai-pdf-builder

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links