Badge · an open-source agent skill
Turn your attendee list into name badges people can read across the room.
Give your coding agent a CSV of names. It checks the list, shows you three themes, and prints sheets of badges with crop marks, ready to cut.
How it works
Three steps from a spreadsheet to the lanyard.
-
Bring the list
Export a CSV with a
namecolumn. Add pronouns, role, company and any column you like, such as track or table. -
Pick a look
The agent shows your own names in three themes side by side. It warns you about names too long to read, before you print.
-
Print and cut
One HTML file: sheets with crop marks, double-sided backs for flip on long edge, or fold-over badges. Save it as PDF or print it.
Made for the far side of the hall.
- Names never shrink past 24 pt. Each name takes the largest size that fits on one or two lines. A long name goes to more lines with open spacing, never smaller.
- Role bands you can read. Speaker, staff, sponsor, press, or your own. The band label meets WCAG AA contrast, or validation tells you which colour to use.
- Backs that line up. Double-sided sheets mirror each back behind its front. A turned badge reads upright on the lanyard.
- Every script. Arabic and Hebrew run right to left. Greek, Cyrillic, Chinese, Vietnamese and accented names get matching fonts.
- Pronouns only when given. An empty cell prints nothing: no blank pill, no gap.
- Optional contact QR. A vCard per person, made by a small encoder that a separate decoder checks in the tests.
Themes
Five themes, each with its own type.
Every image on this page is real output from the engine, with fictional people.
Examples
Six invented events, printed.
Each sheet is the first printed page of an example in the repository. Open one to see every page.
Northlight Summit bold · 4 × 3 in · double-sided on US Letter
Lantern Hack neon · 3 × 4 in · info back with Wi-Fi and a QR
The back of that sheet mirrored for flip on long edge
Tidewater Symposium symposium · fold-over with the programme
Kerning Days swiss · A6 on A4
Riverside Repair Café meetup · card size · custom roles
ملتقى قمر للبيانات bold · A6 · right to left
Install
Add it to your agent.
Claude Code plugin
/plugin marketplace add isatimur/badge-md
/plugin install badge-md@badge-md
Any agent, with skills.sh
npx skills add isatimur/badge-md
Command line
npx github:isatimur/badge-md render event.json --csv people.csv
Node 20 or newer. No dependencies. Playwright is optional, for PDF export.