Generate Pdf

Convert markdown, HTML, or text content into PDF documents.

24|26|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/hasna/skills --skill generate-pdf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Generate Pdf
Source: https://github.com/hasna/skills/tree/main/skills/skill-generate-pdf
Command: npx skills add https://github.com/hasna/skills --skill generate-pdf

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires commander, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the creation of professional PDF documents from various input formats, eliminating the need for manual document formatting and conversion.

Core Features & Use Cases

  • Format Conversion: Convert Markdown, HTML, or plain text into polished PDFs.
  • Template-Based Generation: Create documents like reports, invoices, and resumes using pre-defined templates.
  • Web Capture: Convert any webpage directly into a PDF.
  • Customization: Control page size, orientation, margins, and add custom headers/footers.
  • Use Case: Generate an invoice PDF dynamically by providing company details and itemized costs through a template.

Quick Start

Convert the markdown file 'report.md' into a PDF using the A4 format.

Frequently Asked Questions about Generate Pdf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert markdown to PDF?

To convert markdown to PDF, you can use this Skill to transform markdown content into a high-quality PDF document with customizable page formats, margins, and headers.

Can I generate a PDF from HTML content?

Yes, you can generate a PDF from HTML content. This Skill supports HTML conversion, allowing you to turn web pages and HTML files into polished PDF documents directly.

What is the best way to create an invoice PDF from a template?

The best way to create an invoice PDF is by using pre-defined templates. This Skill dynamically generates invoices by mapping company details and itemized costs directly into a structured PDF format.

Does this PDF generation method support custom page size and orientation?

Yes, this PDF generation method supports customization. You can control the page size, orientation, margins, and add custom headers and footers to your generated PDF documents.

How do I capture a web page as a PDF?

To capture a web page as a PDF, this Skill provides a web capture feature that directly converts any live webpage into a high-quality PDF document.

Can I convert plain text to PDF for a resume?

Yes, you can convert plain text to PDF for a resume. This Skill uses templates to format plain text, markdown, or HTML into professional resumes and contracts.