Skip to content
Back to skills

Make Pdf

ASecurity

Convert a markdown document into a publication-quality PDF (clean typography, page numbers, styled tables). For You lead magnets, one-pagers, guides, and any polished export. Triggers: "make this a PDF", "export to PDF", "/make-pdf". Adapted from gstack /make-pdf.

  • 32 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added September 23, 2026
ai-agentspythongobash

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 23, 2026

npx -y skills add BrianArfi/ai-second-brain --skill make-pdf --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Make Pdf?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Make Pdf
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/brianarfi-make-pdf/badge)](https://www.skillsdirectory.com/skills/brianarfi-make-pdf)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Make PDF
description: Convert a markdown document into a publication-quality PDF (clean typography, page numbers, styled tables). For You lead magnets, one-pagers, guides, and any polished export. Triggers: "make this a PDF", "export to PDF", "/make-pdf". Adapted from gstack /make-pdf.
---

# Make PDF

Markdown to a polished, branded PDF via WeasyPrint (no pandoc/LaTeX). The default style is an A4 document with serif body, sans headings, accent-colored rules, styled tables/code/quotes, and page numbers, suitable for You lead magnets and guides.

## When to use
A markdown doc needs to ship as a downloadable PDF: a lead magnet (e.g. the AI Office Toolkit), a one-pager, a guide, a proposal. NOT for Google Docs (use `gdocs-create` for editable Docs).

## Usage

```bash
python3 .agent/skills/make-pdf/make_pdf.py \
  --file path/to/doc.md \
  --out  path/to/doc.pdf \
  --title "AI Office Toolkit" \
  --accent "#1F6FEB" \
  --footer "You"
```

- `--title` renders a large cover title above the body (optional).
- `--accent` sets the brand color for H1/links/table headers (hex). Default `#1F6FEB`.
- `--footer` puts text at the bottom-right of every page (e.g. "You" or a URL).
- `--css path.css` fully overrides the built-in stylesheet for a custom branded template.

Exit 0 + a printed byte count = success. The script prints the output path.

## Notes
- Body content (markdown features supported): headings, tables, fenced code, blockquotes, lists/task-lists, links, images, `attr_list`. Images resolve relative to where you run the command.
- You brand colors: pass `--accent` to match the post/visual palette for the campaign.
- This is the standard path for any You downloadable. The existing `AI-Office-Toolkit-by-You.pdf` is the reference output; regenerate via this skill so future lead magnets share one consistent look.
- Language follows the document: You lead magnets are Indonesian; a Work one-pager would be English.

Files in this skill

  • SKILL.md1.9 KB
  • make_pdf.py4.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.