brain-pdf

Render a Brain page Markdown source into a PDF with gstack make-pdf.

174|144|Updated Jun 10, 2026
One-click install
npx skills add https://github.com/inbrainfun/inbrain --skill brain-pdf-inbrainfun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: brain-pdf
Source: https://github.com/inbrainfun/inbrain/tree/main/skills/brain-pdf
Command: npx skills add https://github.com/inbrainfun/inbrain --skill brain-pdf-inbrainfun

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Converts a Brain page into a publication-quality PDF by rendering the Markdown source with the gstack make-pdf tool, ensuring the brain page remains the source of truth.

Core Features & Use Cases

  • Renders a brain page into a publication-quality PDF with running headers and page numbers.
  • Strips YAML frontmatter before rendering to keep the PDF as the readable, authoritative artifact.
  • Ideal for publishing reports, archiving long-form essays, or sharing knowledge artifacts in a portable format.

Quick Start

Render the brain page at SLUG into a publication-quality PDF using the gstack make-pdf tool.

Frequently Asked Questions about brain-pdf

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

FAQPage Schema
How do I convert Markdown to a publication-quality PDF with running headers and page numbers?

To convert Markdown to a publication-quality PDF, the tool renders the source with the gstack make-pdf binary, automatically stripping YAML frontmatter and adding running headers with page numbers for archivable output.

Does PDF rendering from Markdown strip YAML frontmatter before generating the document?

Yes, PDF rendering strips YAML frontmatter prior to processing to ensure the Markdown source remains the source of truth while producing a clean, readable publication-quality PDF artifact.

What do I need to render Markdown to PDF using the gstack make-pdf tool?

To render Markdown to PDF, you need the gstack make-pdf binary installed at $HOME/.claude/skills/gstack/make-pdf/dist/pdf to execute the rendering process and generate the final publication-quality document.

Can I add a cover page or table of contents when generating a PDF from a brain page?

Yes, when generating a PDF from a brain page, optional cover page and table-of-contents features are available on demand alongside the standard running headers and page number formatting.

When should I use a Markdown-to-PDF workflow for knowledge management and reporting?

Use a Markdown-to-PDF workflow for knowledge management, research, and reporting when you need a shareable, archivable PDF artifact while keeping the Markdown brain page as the authoritative source of truth.