Files
s41r4j-pixie/skills/pdf/SKILL.md
T
s41r4jandClaude Opus 5.5 d7e973731c
Build / macOS (universal .dmg) (push) Canceled after 0s
Build / Windows (x64 .exe) (push) Canceled after 0s
Build / Linux (x64 .AppImage + .deb) (push) Canceled after 0s
Build / Publish release (push) Canceled after 0s
Pixie 0.8.1: own speech to text, canvas layouts, 3D explanations, battery
- Pixie's own streaming speech to text (sherpa-onnx, on device, Mac, Windows
  and Linux) that types as you speak; Apple's stays as the fallback
- Canvas lays out trees, mind maps, timelines, layers, cycles, comparisons,
  quadrants, charts, tables, notes, code and wireframes, and edits by shape
- 3D: new shapes, nested parts, copies, materials, shadows, motion, explode
  and cut, frames only on change
- New app ID pixie.s41r4j.in and program name pixie; settings move across
- Idle cost down from about 7% to under 0.5% CPU

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 17:35:09 +05:30

22 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
name: pdf
description: Make a good-looking PDF (one-pagers, reports, handouts, letters) from HTML, and read PDFs.
---
# Making PDFs
1. Write the document as one self-contained HTML file in `tmp/` (inline CSS, no external fonts
unless you download them into `tmp/`). Design for paper:
- Letter is 612 × 792 px, A4 is 595 × 842 px (CSS px = PDF points). Set
`html,body{margin:0}` and give the body its own padding (36–54 px).
- System fonts that look good: `-apple-system`, `"New York"`, `Georgia`, `"Avenir Next"`,
`"SF Mono"` for code. 10–11.5 pt body text, 1.4 line height.
- "One page" means it must fit 792 px (Letter) of content height: check, then trim.
2. Render: `pixie-helper pdf tmp/doc.html output/Name.pdf letter` (or `a4`). It prints the
page count; if it isn't what you wanted, change the HTML and render again.
3. Check it: `pixie-helper text output/Name.pdf` to read it back, and
`qlmanage -t -s 1200 -o tmp output/Name.pdf` then `view_image tmp/Name.pdf.png` to look at it.
4. Put it where they asked with `device_save_file` (never overwrites), and list the saved path
under ARTIFACTS.
Reading a PDF: `device_read_file` (from their Mac) or `pixie-helper text file.pdf`.