Open-source agent skill
Turn a short JSON file into print-ready postcards, front and back.
Tell your coding agent who the card is for. It writes the file, checks it, and makes two pages: the front, then the back. Print them at home or send them to a printer.
npx github:isatimur/postcard-md render card.json
How it works
Three steps, one small file.
-
Say what you need
“A thank-you card for my candle shop.” The agent asks only for what is missing: the words, the place, the paper size.
-
Pick a theme
It shows your card in three themes side by side. You choose. Nothing is invented: it uses your words.
-
Print it
You get one file: page 1 is the front, page 2 is the back. Add bleed and crop marks, or put two or four on a sheet.
{
"theme": "letterpress",
"front": { "greeting": "Greetings from", "headline": "Saltmarsh Bay" },
"back": {
"message": "Dear Ada, the tide goes out for a mile here...",
"address": ["Ms Ada Wren", "14 Larkspur Lane"]
}
}
Five themes
Each one is its own print.
Every image here is real output from the engine, front and back. Open one to see the page itself.
travel-greetingsave-the-datethank-youholiday-cardart-printFull-bleed pictures
Bring a picture, or let the type do the work.
Add front.image and each theme turns it into a front in its own way: a letterpress plaque, a Swiss tab, a duotone print. The picture here is an illustration made for the examples.
Made for printing
From the home printer to the print shop.
- Two sizes. A6 (148 × 105 mm) and US 4×6 in. Page 1 is the front, page 2 is the back.
- Bleed and crop marks.
--bleed --marksruns the art past the cut and draws the marks for a trimmer. - 2-up and 4-up sheets.
--sheet 2fits A4 or Letter.--sheet 4fits A3 or Tabloid. The backs are mirrored so they land behind the fronts when you flip the sheet. - Text that fits. Long messages shrink to fit their box, and the print check keeps every line inside the safe area.
Install
Pick the way you work.
Claude Code plugin
/plugin marketplace add isatimur/postcard-md
/plugin install postcard-md@postcard-md
Any agent, via skills.sh
npx skills add isatimur/postcard-md
Command line
npx github:isatimur/postcard-md render card.json --bleed --marks
Node 20 or newer. Nothing else to install. PDF export needs Playwright, and is optional: you can also print the HTML from any browser.
Examples
Five cards, all fictional.
- Travel greetingA seaside postcard with a handwritten-style message.letterpress · A6
- Small-business thank-youA candle maker thanks a first-time customer.botanical · 4×6
- Save the dateA wedding date, a hall and an RSVP address.swiss · A6
- Art print cardA studio card with a full-bleed picture.gallery · A6
- Holiday cardA family note to friends, ready to address.riso · 4×6












