Open-source agent skill · mail merge
Turn an address list into printed envelopes, one per guest.
Give your coding agent a guest list. It writes the file, checks every address, and prints each envelope at true size, with the return address, the stamp box and the recipient where the post office wants it.
npx github:isatimur/envelope-md render guests.json
- True size. DL, C5, C6, US #10, A7 and A2. The page is the envelope.
- Where the post office wants it. The address sits right of centre, clear of the stamp and the barcode zone.
- Labels and an RSVP list. Same list, three outputs: envelopes, label sheets and a reply tracker.
- Five countries. UK, US, German, French and Japanese address order. Honest limits below.
Ask your agent
“Print envelopes for my wedding guest list. Calligraphy, A7, my address top left.”
Hand over the list
Paste names and addresses, or point at a CSV from your spreadsheet. The agent asks only for what is missing.
Check and pick
It checks every address, warns about odd postcodes, and shows your first envelope in each theme so you can choose.
Print
You get one HTML file with one page per guest. Print it at 100% on your envelopes, or save a PDF.
Five themes
Each theme has its own type, layout and decoration. Every picture here is real engine output. Open one to see the whole list.
Address order, and where it stops
The engine orders the lines for five countries. It does not look addresses up. It will warn when a postcode looks wrong, and it will not fix it.
| Country | Order |
|---|---|
| UK | Name, street, TOWN in capitals, postcode on its own line. |
| US | Name, street, City, ST ZIP. |
| DE | Name, street, postcode then city. |
| FR | Name, street, postcode then CITY in capitals. |
| JP | Postcode, place, building, name with 様. Horizontal only. |
What it leaves out
- A letter going abroad gets the country in capitals as the last line.
- Any other country gets one plain order: street, postcode and city, country.
- No vertical Japanese, no CEDEX, no state-name conversion, no address look-up.
- Printers cannot reach the edge. Every mark stays 8 mm inside it.
- Check the first print on plain paper held against an envelope.
Install
Claude Code plugin
/plugin marketplace add isatimur/envelope-md
/plugin install envelope-md@envelope-md
Any agent, via skills.sh
npx skills add isatimur/envelope-md
Command line
npx github:isatimur/envelope-md render guests.json --out envelopes.html
Node 20 or newer. Nothing else to install. PDF export needs Playwright, and is optional.
Examples
Five invented guest lists on example streets. Open the pages the engine wrote from them.
Wedding guests
Ten guests from a CSV, with replies and diets. A7, calligraphy.
Holiday cards
A US family card list, with two letters going abroad. A2, festive.
Small business mailing
Twelve client letters from a bookkeeper. US #10, corporate.
Party invitations
A garden party in German, with replies. DL, minimal.
International pen-pals
Six letters to the US, Germany, France, Japan, Egypt and England. C6, kraft.

