{
  "schemaVersion": "1.0",
  "item": {
    "slug": "ai-pdf-builder",
    "name": "Ai Pdf Builder",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/NextFrontierBuilds/ai-pdf-builder",
    "canonicalUrl": "https://clawhub.ai/NextFrontierBuilds/ai-pdf-builder",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/ai-pdf-builder",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ai-pdf-builder",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "slug": "ai-pdf-builder",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T03:26:34.240Z",
      "expiresAt": "2026-05-06T03:26:34.240Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ai-pdf-builder",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ai-pdf-builder",
        "contentDisposition": "attachment; filename=\"ai-pdf-builder-1.2.3.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "ai-pdf-builder"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/ai-pdf-builder"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/ai-pdf-builder",
    "agentPageUrl": "https://openagent3.xyz/skills/ai-pdf-builder/agent",
    "manifestUrl": "https://openagent3.xyz/skills/ai-pdf-builder/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/ai-pdf-builder/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "AI PDF Builder",
        "body": "YC-style docs in seconds. AI-powered PDF generator for legal documents, pitch decks, and professional reports.\n\nGenerate SAFEs, NDAs, term sheets, whitepapers, and memos from simple prompts. Works with Claude, GPT, Cursor, and AI coding agents. Perfect for:\n\nWhitepapers & Litepapers\nTerm Sheets\nSAFEs & NDAs\nMemos & Reports\nLegal Agreements"
      },
      {
        "title": "What's New in v1.1.0",
        "body": "AI Content Generation - Generate documents from prompts using Claude\n--company Flag - Inject company name directly via CLI\nenhance Command - Improve existing content with AI\nsummarize Command - Generate executive summaries from documents\nContent Sanitization - Automatic cleanup of AI-generated content"
      },
      {
        "title": "Requirements",
        "body": "Option A: Local Generation (Free, Unlimited)\n\n# macOS\nbrew install pandoc\nbrew install --cask basictex\nsudo tlmgr install collection-fontsrecommended fancyhdr titlesec enumitem xcolor booktabs longtable geometry hyperref graphicx setspace array multirow\n\n# Linux\nsudo apt-get install pandoc texlive-full\n\nOption B: Cloud API (Coming Soon)\nNo install required. Get API key at ai-pdf-builder.com\n\nFor AI Features:\nSet your Anthropic API key:\n\nexport ANTHROPIC_API_KEY=\"your-key-here\""
      },
      {
        "title": "Check System",
        "body": "npx ai-pdf-builder check"
      },
      {
        "title": "Generate via CLI",
        "body": "# From markdown file\nnpx ai-pdf-builder generate whitepaper ./content.md -o output.pdf\n\n# With company name\nnpx ai-pdf-builder generate whitepaper ./content.md -o output.pdf --company \"Acme Corp\"\n\n# Document types: whitepaper, memo, agreement, termsheet, safe, nda, report, proposal"
      },
      {
        "title": "AI Content Generation (New!)",
        "body": "# Generate a whitepaper from a prompt\nnpx ai-pdf-builder ai whitepaper \"Write a whitepaper about decentralized identity\" -o identity.pdf\n\n# Generate with company branding\nnpx ai-pdf-builder ai whitepaper \"AI in healthcare\" -o healthcare.pdf --company \"HealthTech Inc\"\n\n# Generate other document types\nnpx ai-pdf-builder ai termsheet \"Series A for a fintech startup\" -o termsheet.pdf\nnpx ai-pdf-builder ai memo \"Q4 strategy update\" -o memo.pdf --company \"TechCorp\""
      },
      {
        "title": "Enhance Existing Content (New!)",
        "body": "# Improve and expand existing markdown\nnpx ai-pdf-builder enhance ./draft.md -o enhanced.md\n\n# Enhance and convert to PDF in one step\nnpx ai-pdf-builder enhance ./draft.md -o enhanced.pdf --pdf"
      },
      {
        "title": "Summarize Documents (New!)",
        "body": "# Generate executive summary\nnpx ai-pdf-builder summarize ./long-document.md -o summary.md\n\n# Summarize as PDF\nnpx ai-pdf-builder summarize ./report.pdf -o summary.pdf --pdf"
      },
      {
        "title": "Generate via Code",
        "body": "import { generateWhitepaper, generateTermsheet, generateSAFE, aiGenerate, enhance, summarize } from 'ai-pdf-builder';\n\n// AI-Generated Whitepaper\nconst aiResult = await aiGenerate('whitepaper', \n  'Write about blockchain scalability solutions',\n  { company: 'ScaleChain Labs' }\n);\n\n// Whitepaper from content\nconst result = await generateWhitepaper(\n  '# My Whitepaper\\n\\nContent here...',\n  { title: 'Project Name', author: 'Your Name', version: 'v1.0', company: 'Acme Corp' }\n);\n\nif (result.success) {\n  fs.writeFileSync('whitepaper.pdf', result.buffer);\n}\n\n// Enhance existing content\nconst enhanced = await enhance(existingMarkdown);\n\n// Summarize a document\nconst summary = await summarize(longDocument);\n\n// Term Sheet with company\nconst termsheet = await generateTermsheet(\n  '# Series Seed Term Sheet\\n\\n## Investment Amount\\n\\n$500,000...',\n  { title: 'Series Seed', subtitle: 'Your Company Inc.', company: 'Investor LLC' }\n);\n\n// SAFE\nconst safe = await generateSAFE(\n  '# Simple Agreement for Future Equity\\n\\n...',\n  { title: 'SAFE Agreement', subtitle: 'Your Company Inc.' }\n);"
      },
      {
        "title": "Document Types",
        "body": "TypeFunctionBest ForwhitepapergenerateWhitepaper()Technical docs, litepapersmemogenerateMemo()Executive summariesagreementgenerateAgreement()Legal contractstermsheetgenerateTermsheet()Investment termssafegenerateSAFE()SAFE agreementsndagenerateNDA()Non-disclosure agreementsreportgenerateReport()Business reportsproposalgenerateProposal()Business proposals"
      },
      {
        "title": "Custom Branding",
        "body": "const result = await generateWhitepaper(content, metadata, {\n  customColors: {\n    primary: '#E85D04',    // Signal Orange\n    secondary: '#14B8A6',  // Coordinate Teal\n    accent: '#0D0D0D'      // Frontier Dark\n  },\n  fontSize: 11,\n  margin: '1in',\n  paperSize: 'letter'\n});"
      },
      {
        "title": "Agent Instructions",
        "body": "When a user asks to generate a PDF:\n\nCheck what type of document they need (whitepaper, term sheet, memo, etc.)\nDetermine if they want AI generation or have existing content\nGet the content - either from their message, a file, or use AI to generate\nAsk for metadata if not provided (title, author, company name)\nUse --company flag to inject company branding\nCheck if Pandoc is installed: which pandoc\nIf Pandoc missing, provide install instructions or suggest cloud API\nGenerate the PDF using the appropriate function\nSend the PDF file to the user\n\nAI Commands Quick Reference:\n\nai <type> \"<prompt>\" - Generate new document from prompt\nenhance <file> - Improve existing content\nsummarize <file> - Create executive summary\n--company \"Name\" - Add company branding to any command"
      },
      {
        "title": "Links",
        "body": "npm: https://www.npmjs.com/package/ai-pdf-builder\nGitHub: https://github.com/NextFrontierBuilds/ai-pdf-builder\n\nBuilt by @NextXFrontier & @DLhugly"
      }
    ],
    "body": "AI PDF Builder\n\nYC-style docs in seconds. AI-powered PDF generator for legal documents, pitch decks, and professional reports.\n\nGenerate SAFEs, NDAs, term sheets, whitepapers, and memos from simple prompts. Works with Claude, GPT, Cursor, and AI coding agents. Perfect for:\n\nWhitepapers & Litepapers\nTerm Sheets\nSAFEs & NDAs\nMemos & Reports\nLegal Agreements\nWhat's New in v1.1.0\nAI Content Generation - Generate documents from prompts using Claude\n--company Flag - Inject company name directly via CLI\nenhance Command - Improve existing content with AI\nsummarize Command - Generate executive summaries from documents\nContent Sanitization - Automatic cleanup of AI-generated content\nRequirements\n\nOption A: Local Generation (Free, Unlimited)\n\n# macOS\nbrew install pandoc\nbrew install --cask basictex\nsudo tlmgr install collection-fontsrecommended fancyhdr titlesec enumitem xcolor booktabs longtable geometry hyperref graphicx setspace array multirow\n\n# Linux\nsudo apt-get install pandoc texlive-full\n\n\nOption B: Cloud API (Coming Soon) No install required. Get API key at ai-pdf-builder.com\n\nFor AI Features: Set your Anthropic API key:\n\nexport ANTHROPIC_API_KEY=\"your-key-here\"\n\nUsage\nCheck System\nnpx ai-pdf-builder check\n\nGenerate via CLI\n# From markdown file\nnpx ai-pdf-builder generate whitepaper ./content.md -o output.pdf\n\n# With company name\nnpx ai-pdf-builder generate whitepaper ./content.md -o output.pdf --company \"Acme Corp\"\n\n# Document types: whitepaper, memo, agreement, termsheet, safe, nda, report, proposal\n\nAI Content Generation (New!)\n# Generate a whitepaper from a prompt\nnpx ai-pdf-builder ai whitepaper \"Write a whitepaper about decentralized identity\" -o identity.pdf\n\n# Generate with company branding\nnpx ai-pdf-builder ai whitepaper \"AI in healthcare\" -o healthcare.pdf --company \"HealthTech Inc\"\n\n# Generate other document types\nnpx ai-pdf-builder ai termsheet \"Series A for a fintech startup\" -o termsheet.pdf\nnpx ai-pdf-builder ai memo \"Q4 strategy update\" -o memo.pdf --company \"TechCorp\"\n\nEnhance Existing Content (New!)\n# Improve and expand existing markdown\nnpx ai-pdf-builder enhance ./draft.md -o enhanced.md\n\n# Enhance and convert to PDF in one step\nnpx ai-pdf-builder enhance ./draft.md -o enhanced.pdf --pdf\n\nSummarize Documents (New!)\n# Generate executive summary\nnpx ai-pdf-builder summarize ./long-document.md -o summary.md\n\n# Summarize as PDF\nnpx ai-pdf-builder summarize ./report.pdf -o summary.pdf --pdf\n\nGenerate via Code\nimport { generateWhitepaper, generateTermsheet, generateSAFE, aiGenerate, enhance, summarize } from 'ai-pdf-builder';\n\n// AI-Generated Whitepaper\nconst aiResult = await aiGenerate('whitepaper', \n  'Write about blockchain scalability solutions',\n  { company: 'ScaleChain Labs' }\n);\n\n// Whitepaper from content\nconst result = await generateWhitepaper(\n  '# My Whitepaper\\n\\nContent here...',\n  { title: 'Project Name', author: 'Your Name', version: 'v1.0', company: 'Acme Corp' }\n);\n\nif (result.success) {\n  fs.writeFileSync('whitepaper.pdf', result.buffer);\n}\n\n// Enhance existing content\nconst enhanced = await enhance(existingMarkdown);\n\n// Summarize a document\nconst summary = await summarize(longDocument);\n\n// Term Sheet with company\nconst termsheet = await generateTermsheet(\n  '# Series Seed Term Sheet\\n\\n## Investment Amount\\n\\n$500,000...',\n  { title: 'Series Seed', subtitle: 'Your Company Inc.', company: 'Investor LLC' }\n);\n\n// SAFE\nconst safe = await generateSAFE(\n  '# Simple Agreement for Future Equity\\n\\n...',\n  { title: 'SAFE Agreement', subtitle: 'Your Company Inc.' }\n);\n\nDocument Types\nType\tFunction\tBest For\nwhitepaper\tgenerateWhitepaper()\tTechnical docs, litepapers\nmemo\tgenerateMemo()\tExecutive summaries\nagreement\tgenerateAgreement()\tLegal contracts\ntermsheet\tgenerateTermsheet()\tInvestment terms\nsafe\tgenerateSAFE()\tSAFE agreements\nnda\tgenerateNDA()\tNon-disclosure agreements\nreport\tgenerateReport()\tBusiness reports\nproposal\tgenerateProposal()\tBusiness proposals\nCustom Branding\nconst result = await generateWhitepaper(content, metadata, {\n  customColors: {\n    primary: '#E85D04',    // Signal Orange\n    secondary: '#14B8A6',  // Coordinate Teal\n    accent: '#0D0D0D'      // Frontier Dark\n  },\n  fontSize: 11,\n  margin: '1in',\n  paperSize: 'letter'\n});\n\nAgent Instructions\n\nWhen a user asks to generate a PDF:\n\nCheck what type of document they need (whitepaper, term sheet, memo, etc.)\nDetermine if they want AI generation or have existing content\nGet the content - either from their message, a file, or use AI to generate\nAsk for metadata if not provided (title, author, company name)\nUse --company flag to inject company branding\nCheck if Pandoc is installed: which pandoc\nIf Pandoc missing, provide install instructions or suggest cloud API\nGenerate the PDF using the appropriate function\nSend the PDF file to the user\n\nAI Commands Quick Reference:\n\nai <type> \"<prompt>\" - Generate new document from prompt\nenhance <file> - Improve existing content\nsummarize <file> - Create executive summary\n--company \"Name\" - Add company branding to any command\nLinks\nnpm: https://www.npmjs.com/package/ai-pdf-builder\nGitHub: https://github.com/NextFrontierBuilds/ai-pdf-builder\n\nBuilt by @NextXFrontier & @DLhugly"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/NextFrontierBuilds/ai-pdf-builder",
    "publisherUrl": "https://clawhub.ai/NextFrontierBuilds/ai-pdf-builder",
    "owner": "NextFrontierBuilds",
    "version": "1.2.3",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/ai-pdf-builder",
    "downloadUrl": "https://openagent3.xyz/downloads/ai-pdf-builder",
    "agentUrl": "https://openagent3.xyz/skills/ai-pdf-builder/agent",
    "manifestUrl": "https://openagent3.xyz/skills/ai-pdf-builder/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/ai-pdf-builder/agent.md"
  }
}