Open-source agent skill
List the players and get a tournament bracket ready to print or fill in.
Give your coding agent the names. It seeds them, adds the byes, draws the lines, moves the winners along and leaves a slot for the champion.
npx github:isatimur/bracket-md render cup.yaml --out cup.html
One list of names. Four kinds of sheet.
- Single elimination + byes
- Double elimination
- Round robin table
- Blank, to fill in
Three steps. No bracket maths.
The agent writes a small YAML file. The engine does the seeding, the byes and the results. You print the page.
Say who plays
Paste the names, or just say how many. Add seeds and results when you have them.
event: Fernhill Chess Club Autumn Knockout format: single entrants: - { name: Ines Marlow, seed: 1 } - { name: Tobias Wren, seed: 2 } # ... results: - { players: [Ines Marlow, Rupert Vale], score: 1-0 }
Check it
The check finds a result that names a game which does not exist, and says how to fix it.
$ bracket-md validate cup.yaml ok: cup.yaml is valid (8 entrants, 7 games, 7 played) $ bracket-md matches cup.yaml 1 Quarterfinals Ines Marlow v Rupert Vale
Print it or fill it in
Pick a theme, then print on A4, Letter or A3. Add --blank for an empty copy.
$ bracket-md render cup.yaml \
--theme club
wrote cup.html: theme club,
paper A4
$ bracket-md render cup.yaml --blank
Every sheet is real output.
Open any picture to see the page itself. Winners move along as results come in.
Single elimination 8 players
1 plays 8, 4 plays 5. Winners advance. The champion has a slot.
Double elimination 8 players
A losers bracket, a grand final, and a reset game only if it is needed.
Round robin 6 teams
A cross table with points and positions, and the fixtures by week.
Blank bracket 16 slots
Write-in lines for an office pool or a school day. Seeds and byes stay in place.
Pick the look that fits the room.
Each theme has its own type, shapes and colour. The agent shows you all five side by side before you choose.
arena Midnight blue, slanted type, gold score bugs.
club Ivory, Garamond, a chequerboard border.
neon Near-black, cyan and magenta glow.
chalk Slate, wooden frame, chalk lettering.
bake Sprinkles, round badges, sticker boxes.Add it to your agent.
Claude Code plugin
/plugin marketplace add isatimur/bracket-md /plugin install bracket-md@bracket-md
Any agent, via skills.sh
npx skills add isatimur/bracket-md
Command line
npx github:isatimur/bracket-md render cup.yaml --out cup.html
Node 20 or newer. Nothing else to install. pdf export works when Playwright is present; otherwise print to PDF from the browser.
Seven made-up events.
Every name is invented. Each page is the engine's output, in the theme shown.
- Chess club knockout8 players, finished, with a championclub
- Office ping pong cup12 teams, so the top four seeds get byesarena
- Cookie bake-off16 entries, with a third-place gamebake
- Pub quiz league6 teams, round robin, points tablechalk
- Esports invitational32 entries, two-sided, Korean player tagsneon
- Game night showdown8 players, double elimination, bracket resetarena
- Office pool, blank16 slots with write-in linesblank