Flashcards · open-source agent skill

Notes in. Cards out.

Turn your notes into double-sided study cards you print, cut and learn from. The backs line up with the fronts, on any printer that prints both sides.

npx skills add isatimur/flashcard-md

Index card theme, back: 'the apple' handwritten in blue ink on pale ruled lines, 'a maçã' in the corner Minimal Japanese theme, front: the word 包丁 in large mincho type with a red number seal Chalkboard theme, front: H2SO4 in chalk letters with yellow subscripts Bold colour-coded theme, front: 'Hungary' in heavy white type on vermilion, tagged Europe

Give your agent a list of questions and answers. It gives you sheets to print, cut and study, a study page for your phone, and a file for Anki.

How it works

Three steps, one pair of scissors

  1. Write your notes

    Plain lines are enough. A JSON deck, a CSV file or a Markdown list all work.

    Q: o queijo
    A: the cheese
    
    o pão | the bread
    a laranja | the orange
    
    The {{c1::nucleus}} holds the DNA.
  2. Pick a theme, then print

    The agent shows your first card in three themes. You pick one. It renders the sheets with cut marks.

    A full A4 sheet of ten business-size cards in the bold theme: orange for Europe, blue for Africa, green for Asia, with cut marks at every edge
  3. Cut, then learn

    Print both sides, cut on the marks, and you hold a deck. Or study on screen with the same cards.

    The study page: one card on a dark background, flipped to show 'chopsticks', with Prev, Flip, Known and Next buttons

Double-sided printing

The back of each card lands behind its front

Page 1, the fronts: Portugal and Norway in the top row, Japan and Vietnam in the bottom row
Page 1 · fronts
Page 2, the backs: the rows run in mirror order, so Lisbon and Oslo sit in the bottom row and Tokyo and Hanoi in the top row
Page 2 · backs, mirrored for a long-edge flip

When a printer turns the sheet over, everything on the back swaps sides. flashcard-md mirrors the back page to match, so Lisbon prints behind Portugal.

Tell it which edge your printer flips on: long (most printers) or short. The tests check both, for every size and paper.

No duplex printer? Use the fold layout: print one side, fold the sheet in half, and cut.

Open a fold sheet

Five themes

Each theme is its own kind of card

Every picture here is real output from the engine. Hover over a card, or tap it, to turn it over.

What you get

Small cards, carefully made

  • Three card sizes3 × 5 in index cards, A7, and business cards at 8 or 10 per sheet. A4 or US Letter paper.
  • Correct backsLong-edge and short-edge duplex, or a fold-in-half sheet for one-sided printers.
  • Cloze cards{{c1::word}} leaves a blank on the front and highlights the word on the back.
  • Pictures and hintsA picture from a URL or a file, a hint on the front, a note under the answer.
  • Any scriptArabic runs right to left. Japanese, Cyrillic and accents get the right fonts. All text is escaped.
  • Anki exportA tab-separated file Anki imports as Basic and Cloze notes, with tags. H_2O and x^2 work too.

Study mode

The same deck, on any screen

One HTML file. No account, no app. Your progress stays in your browser.

  • Spaceturns the card over
  • ← →move between cards
  • Kmarks a card as known
  • Sshuffles the deck
Try the study page
The study page for 'Japanese in the kitchen': card 2 of 12 turned over to show 'chopsticks'

Install

Add it to your agent

Claude Code plugin

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

Then ask: “Make flashcards from my notes.”

Any agent, via skills.sh

npx skills add isatimur/flashcard-md

Cursor, Codex and other agents that read skills.

Command line

npx github:isatimur/flashcard-md render notes.md
npx github:isatimur/flashcard-md study notes.md
npx github:isatimur/flashcard-md anki notes.md

Node 20 or newer. Nothing else to install. Playwright is optional, for PDF export.

Examples

Eight decks to open and print

The people and classes are made up. Each deck has print sheets, a study page and an Anki file.