Guide
How to use Kalmatu: what's in a folio, how you study one, how to make your own, and the apps. For everything Kalmatu does in one list, see features.
What a folio is
A folio is everything you need to learn one subject, such as German, Japanese or the US amateur radio exams, in one place:
- Cards to remember: words, phrases or exam questions, each coming back just before you'd forget it.
- Sheets to read: short lessons in order, like a course, each with its own cards to add.
- A tutor to discuss each sheet with, that quizzes you on the cards you know, and, for a language, a conversation partner.
Start with one of the official folios, study several side by side, or make your own: a folio is just a folder of plain text files, so anyone can write one and share it.
Studying a folio
Cards
A card has a front and a back, plus an example and notes. In a language folio the front is the word and the back its meaning, and each card is studied both ways, because recognising a word and recalling it are different skills. The two directions are scheduled separately.
Scheduling follows Anki's method. New cards go through short learning steps (1 and 10 minutes), then come back after a day, then at growing intervals. Rate a card Again, Hard, Good or Easy and the next interval adjusts to match. The study day starts at 4am in your time zone, with daily limits you can set.
Cards can be read aloud by your device's voices. Study with the keyboard on a computer, or swipe on a phone.
Multiple choice
A folio of exam questions, such as Ham Radio, can be multiple choice: each card shows its question with the lettered choices under it, as the exam does. There are two ways to answer, and each folio sets which it starts with:
- Choose the answer. Click a choice, or press its letter. Kalmatu marks it for you and shows the right answer, with the rating it earned ringed: Good if you were right, Again if not. Press Space to take it, or pick another rating, say Easy, or Good if you misclicked.
- Rate yourself. Pick an answer in your head, show the answer, and rate it Again, Hard, Good or Easy, as with any card.
Switch between them with the link under any multiple-choice card ("rate yourself instead" or "click to answer instead"), or for each folio in Settings, under the folio's settings, which also shows the folio's own default.
Decks and cramming
Group cards into decks, for example the words for next week's quiz, and study just those. Sorting cards into decks takes one key per card. Cram a deck before a test without disturbing your regular schedule.
Sheets
Sheets are numbered pages, such as a grammar course, explaining each topic briefly, with tables and examples. A sheet can come with cards, which are in your cards as soon as you add the folio, each in the decks it names, such as the Ham Radio folio's questions in a deck for each license. Review just one sheet's cards from the sheet, and read a sheet full screen when you want only the lesson. A long folio groups its sheets into sections that open and close, such as one for each level.
The tutor: discussion, quizzes and conversation
Beside each sheet, discuss it with the tutor: ask about a rule, for more examples, or about anything that isn't clear. It sticks to that sheet and remembers where you left off. It knows which of the folio's cards you've learned, so its examples build on the words you know.
The tutor also writes quizzes from the cards you know: on one sheet from that sheet's page, or on any sheets you choose from the Tutor page. Answer them, and it marks them, explaining each answer. What a quiz is made of, how many questions and of which kinds, is part of the folio.
In a folio with a conversation partner, you can chat with it in the folio's language from the Tutor page. Conversations are saved so you can reread them, and when you finish, Kalmatu picks out the new words you met and adds them to your cards with translations and examples.
The tutor's, the quizzes' and the conversation partner's prompts are part of the folio, so you can change how they behave.
Words from your own reading
When you read in your language elsewhere on the web, look words up with Yomitan, a free pop-up dictionary for Chrome and Firefox. It shows which words are already in your cards, and adds new ones to Kalmatu in one click, with the sentence you found them in as the example. Make a key in Settings to connect it; the steps are there too.
Measuring progress
Your home page shows how many cards are ready and how the cards you know have grown. A card counts as known once you've learned its front-to-back direction.
Language folios can also estimate which CEFR band, from A0 to C1, the words you've actually practised represent. It's an estimate of vocabulary only, not a certificate or a measure of speaking, listening, reading or writing.
Making a folio
A folio is one folder of plain text files, so you can write one in any text editor, or ask an AI agent to write it. The folio format explains every file in full.
Where to make one
In the Mac app, open Build. Every folder in ~/Documents/Kalmatu is a folio: make a new one there, or copy an official folio or one of your own to start from. Build checks each folder and previews its sheets and cards as you save, pointing to the file and line of any mistake. When it looks right, add it to your folios.
On Kalmatu Web, zip the folder and import it in Settings, under Folios. It becomes a new folio. If your Mac app syncs with your account, a folio you add there arrives on the web too.
To change an official folio, download it from its page, edit the files, and import it as your own.
What's in the folder
spanish/
folio.txt settings (the only file required)
cards.txt the folio's cards
sheets/
01-a1-beginner/
section.txt the section's title
01-the-alphabet.md
02-greetings.md
02-a2-elementary/
01-the-preterite.md
tutor.md how the tutor discusses a sheet
quiz.md what the quizzes are made of
conversation.md how the conversation partner behaves
card-style.md how cards are written
media/ images and sounds for sheets and cards
Settings: folio.txt
One setting per line:
Name: Spanish
Description: Spanish from the first word to A1.
Language: Spanish
Voice: es-ES
Fields: Spanish | English | Example | Notes
Both ways: yes
Familiar: 85%
Multiple choice: no
Language is for language folios; leave it empty for other subjects. Voice is the voice that reads cards aloud. Fields names a card's front, back and two extras. Both ways studies each card in both directions. Familiar is how well a sheet's cards must be remembered before the sheet counts as familiar. Multiple choice is for exam questions: a card's fourth field holds its lettered choices, separated by " · ", which are shown under the question, and its back is the correct choice with its letter. yes has learners click their answer and marks it for them; self-assessed has them show the answer and rate themselves. Learners can switch in Settings. Leave it out, or write no, for an ordinary folio.
Cards: cards.txt
One card per line, with its fields separated by |: front, back, then an example, notes and decks if you want them. Lines starting with # are comments.
el pan | bread | Compro pan fresco. | m.; pl. los panes | Food
hablar | to speak | Hablo español. | regular -ar verb | Verbs, Week 1
la casa | house
Cards are introduced in file order, so put the most useful first. Each front may appear only once.
Sheets
Each sheet is a Markdown file in sheets/, numbered to set its order, such as 02-greetings.md. It starts with a title and a one-line summary, then the lesson: headings, tables and lists, and answers that stay hidden until the learner checks, if it has any.
Title: Greetings
Summary: Say hello and goodbye, and ask how someone is.
## Examples
| Spanish | English |
| --- | --- |
| ¡Hola! ¿Qué tal? | Hi! How are you? |
```cards
¡Hola! ¿Qué tal? | Hi! How are you?
buenos días | good morning
```
A cards block at the end holds the sheet's cards, which come with the folio. Keep each sheet self-contained: the tutor practises exactly what it covers.
A long folio can group its sheets in numbered folders, such as one for each level. Each folder is a section of the sheet list that opens and closes, and a section.txt with a Title: line names it.
The tutor's prompts
tutor.md tells the AI tutor how to discuss every sheet, quiz.md says what the folio's quizzes are made of (how many questions, of which kinds, and how written answers are marked), and conversation.md tells the conversation partner how to behave. Write them as plain instructions, such as "You are a terse Spanish tutor…". Kalmatu adds the sheet and the cards the learner knows. Leave a file out and that feature is off for the folio.
card-style.md says how this folio's cards are written, such as articles on nouns. Learners see it when adding cards, and the AI follows it when suggesting cards from a conversation.
Images and sounds: media/
Put images (PNG, JPEG, GIF or WebP) and sounds (MP3, M4A, OGG or WAV) in a media folder, and use them by name in a sheet or in any of a card's fields:  for an image, and [sound:media/word.mp3] for a sound, which plays in place of the device's voice when the card is read aloud.
With an AI agent
An AI agent such as Claude Code can write a whole folio. Point it at the folio format, tell it the subject and level, and ask it to make a folder in ~/Documents/Kalmatu and check it with the command below. Then read it through in Build before you study it.
Checking and sharing
Build checks a folio as you write it. From a terminal:
/Applications/Kalmatu.app/Contents/MacOS/Kalmatu check ~/Documents/Kalmatu/spanish
It prints a summary, or what's wrong and where. To share a folio, download it as a .zip and send it: anyone can import it on Kalmatu Web or in the app. A folio file holds the folio's content and decks, not your study progress.
Using Kalmatu
Mac and Android apps
Kalmatu also runs as an app on a Mac or an Android phone, with no account: everything stays on your device. Sign in to your kalmatu.com account from the app's Settings, or create one there, and your folios sync between the app and this website. If you've studied in both places since the last sync, the app asks which to keep.
The keyboard
Every page works without a mouse. The number keys move between sections, each page's actions have a letter shown after them, j and k move through lists, / jumps to the page's text field, and Esc steps back out. Press ? on any page, or click keys at its top right, for the full list.
The AI tutor and your API key
Cards and sheets work without any setup. The tutor, quizzes, conversation practice and the vocabulary estimate run on Anthropic's Claude models using your own Anthropic API key, which you add in Settings. Your key is used only for your own requests, and you can remove it at any time.
When you use those features, the messages you write, the folio's prompts, and the relevant sheet or cards are sent to Anthropic to produce a reply.
In the Mac app, on a Mac with Apple silicon, you can instead run the tutor on Gemma, a local model that runs on the Mac itself. Download it from the app's Settings: it needs no API key, costs nothing, and nothing you write leaves your Mac.
Your data
Your cards, review history, conversations and sheet progress belong to your account. You can remove a folio and everything studied in it, delete all of a folio's cards, or delete your account and all of its data from Settings.