Greetingcard MD

Agent skill + CLI

Write a greeting. Fold the card.

Write a greeting in Markdown and print a folded card at home.

---
occasion: birthday
headline: Happy Birthday, Marguerite
back: Folded and inked by the Hollis family
---

# Dear Marguerite
Another year, another row of sweet peas.
~ With love, Tom and Ines
A birthday card cover in the botanica theme: line-drawn balloons and leaves in green and rose ink.
The same birthday cover in the riso theme: overprinted pink and blue balloons above a bold blue band.
The same birthday cover in the deco theme: gold sunburst and balloons on deep navy.

Real output. One file, three themes.

One Markdown file in. One sheet of paper out. Fold it, and every panel reads the right way up.

How it works

Three steps, no design work

The theme draws the front art. There are no stock photos. You bring the words.

  1. Write

    Tell your agent what the card is for. It writes the file with your words and checks it.

    occasion: thank-you
    headline: Thank you, Pablo!
    fold: half
    paper: letter
    theme: riso
  2. Print one sheet

    A half-fold card prints on both sides of one sheet. Outside first.

    The outside of a half-fold card on a landscape sheet: the back panel on the left, the front panel on the right, with small fold marks at the top and bottom edge.
  3. Fold

    A quarter-fold card prints on one side. The top row is upside down on purpose.

    A quarter-fold card on a portrait sheet: back and front panels upright on the bottom row, the two inside pages turned upside down on the top row.

Two folds

Half-fold or quarter-fold

Pick the fold in the front matter. Both work on A4 and US Letter.

Half-fold

The classic card. One landscape sheet, printed on both sides.

Half-fold side 1: back and front panels side by side.
Side 1: back | front
Half-fold side 2: the page behind the cover on the left, the message page on the right.
Side 2: inside
  1. Print double-sided. Choose "flip on short edge".
  2. Fold along the centre line, cover outside.

Quarter-fold

One portrait sheet, one side. Any printer will do.

Quarter-fold sheet with the top row turned 180 degrees.
Top row turned 180 degrees
  1. Fold the top half back, away from you.
  2. Fold the left half back. The cover is bottom right.

Themes

Five looks, five voices

Each theme has its own type, layout and way of drawing the cover. The small card is the message page.

Botanica cover: engraved balloons and leaf garlands inside a double rule.Botanica message page: old-style serif text under a small sprig.

botanica

Letterpress botanical. Two inks, engraved leaves.

Open the card
Riso cover: overprinted pink sun and balloons above a blue band with a yellow headline.Riso message page: fat rounded headline and blue text with pink and yellow shapes.

riso

Bold riso pop. Overprint, halftone, fat type.

Open the card
Washi cover: a vertical headline, a red sun and grey ink balloons on white.Washi message page: airy serif text beside a thin vertical rule.

washi

Minimal Japanese. Sumi ink, one red seal, wide silence.

Open the card
Deco cover: a gold sunburst medallion with balloons on deep navy.Deco message page: navy text in a chamfered frame with gold fans.

deco

Art deco. Gold on navy, sunburst, tall capitals.

Open the card
Collage cover: cut-paper balloons on coloured shapes with a taped-on headline label.Collage message page: friendly sans text with cut-paper corners.

collage

Hand-cut paper. Scissor edges, soft shadows, taped labels.

Open the card

Print check

Every panel is measured

The check prints every example in every theme, fold and paper to PDF in a real browser, then measures the result.

  • Page count and sizeTwo pages for a half-fold, one for a quarter-fold, on the exact sheet.
  • Panels in placeEach panel sits where the fold says it should, to a fraction of a millimetre.
  • Fold marksThe tick marks sit exactly on the panel edges, at the middle of the sheet.
  • Turned 180 degreesThe top row of a quarter-fold is turned. Every other panel is upright.
  • Safe areaEvery line of text stays 10 mm inside the panel, clear of the printer's edge.
  • Readable sizeText that has to shrink never goes below 8 pt. Run npm run print-check to see it.

Install

Pick the way you work

The engine has no dependencies. It needs Node 20 or newer.

Claude Code plugin

Inside Claude Code.

/plugin marketplace add isatimur/greetingcard-md
/plugin install greetingcard-md@greetingcard-md

skills.sh

For Cursor, Codex and other agents.

npx skills add isatimur/greetingcard-md

Command line

Run the CLI straight from GitHub.

npx github:isatimur/greetingcard-md render card.md --out card.html

Then ask your agent: "Make a thank-you card for Pablo. He lent us a ladder on moving day." PDF export needs Playwright. Without it, print from the browser.