Writing-Practice

AnkiWeb addon 650186013 Built with AI

Turns the vocabulary you reviewed today into a short writing exercise, tracking the words you use and optionally giving customizable AI feedback or a copyable prompt.
AI-generated summary; may contain mistakes.

aiquiz

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
0 (👍 0 · 👎 0)
Updated
2026-11-30
Anki versions
2.1.2~
License
AGPL-3.0 (from the GitHub repository)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
en

Maintenance

active

  • Last update or commit: 2026-11-30 (1 days before the snapshot).
  • Test files: 7.
  • Commits in the last year: 27.
  • Issues: 0 open, 0 closed.
  • Pull requests: 0 open, 0 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.1–2026-11-22
2.1.2+2026-11-30
History across monthly snapshots

Loading…

Similar addons

AI_LEARNING_HUB

Turns Anki vocabulary decks into nine AI-generated language games with multilingual exam-level practice, hints, offline word matching, and customizable fast or detailed question generation.

aigamificationclozequiz

3 votes 44% approval 👍 3 · 👎 0 Anki 26.09~ Updated 2026-10-20
Sentence Builder

Provides interactive word tiles for building sentences or inserting missing words, with answer checking, distractors, audio/images, explanations, and customizable styling for language and grammar practice.

appearancecard-templatesquizmobile-compatible

1 votes 21% approval 👍 1 · 👎 0 ⭐ 1 Anki 25.07.1~ Updated 2026-11-29
VocabMaster

Enhances vocabulary learning across multiple languages by generating AI articles and example sentences and giving instant feedback on your own sentence practice, with customizable feedback language and dark/light themes.

card-creationaiquiz

1 votes 21% approval 👍 1 · 👎 0 ⭐ 0 Anki 2.1.1~ Updated 2024-12-09
Anki Empire (BETA)

Turns Anki reviews into a multiplayer Civilization-style strategy game where players build cities, research technologies, race for wonders, and compete asynchronously with friends or computer opponents.

review-flowprogress-trackinggamificationbeta

1 votes 21% approval 👍 1 · 👎 0 Anki 2.1.1~ Updated 2026-11-19

Description

Turn the words you just reviewed into a short piece of writing.

Reviewing a card shows you recognise a word. Using it in a sentence is what makes it stick. After a study session, Writing Practice shows the vocabulary you reviewed today next to a writing box. Pick any topic you like, write about it with those words, and optionally get feedback from an AI model you connect yourself.

The writing window

Sample data. The feedback shown is hand-written example text, not real model output.

Features

  • Today's words, one click away. When you leave the review screen (or any time via Tools → Write with today's words… or Ctrl+Alt+W), you get a table of the notes you reviewed today. Filter by deck, or show only cards you saw for the first time today.
  • Live word tracking. Words you use are ticked as you type. English matching includes inflected forms and phrases; Czech and Finnish have limited ending matching.
  • Topic ideas. Suggest topic proposes four topics built around your words, shaped by your level and exam. Choosing one marks the target words with 🎯.
  • AI feedback (optional). Vocabulary used correctly or wrongly, grammar corrections quoted from your text, a natural rewrite, and words worth trying next. Optionally an estimated exam score or CEFR level.
  • Fully customisable. Strictness, scoring, level of detail, which parts to show, custom instructions, personal grading styles, and an editable prompt with variables.
  • No API key? No problem. Copy prompt copies a ready-to-paste prompt (your words, topic and writing included) for ChatGPT, Gemini, Claude or any other chatbot.
  • Past writings. Save your writings and read them again with their feedback.
  • Read-only. It never edits your cards or touches your review schedule.
  • English and Vietnamese interface and prompts, following Anki's language by default.
  • Writing languages. Choose English, Czech, Italian, Japanese, French, Chinese, Korean, Russian, Vietnamese or Finnish. Available exams include IELTS, TOEIC, TOEFL iBT, VSTEP, Cambridge, CCE, Trvalý pobyt A2, Občanství B1, CILS, CELI, PLIDA, EJU, J.TEST, JLPT, DELF/DALF, TCF, TEF, HSK, TOCFL, TOPIK I and II, TORFL, Vietnamese proficiency and YKI. JLPT and TOPIK I receive only a level estimate.

Add your own language

Use the buttons next to the writing-language box to add, edit or remove a language. Enter a name, choose a counting unit and optionally add AI notes. Type any exam name. You can add up to 30 languages. The counting unit cannot be changed later. Removing a language keeps its writings.

Setting up AI feedback

The AI features use your own OpenRouter account. OpenRouter offers several free models (names ending in :free) which, at the time of writing, allow roughly 50 requests per day without adding credit.

  1. Create a key at openrouter.ai/settings/keys.
  2. In the writing window, click AI settings, paste the key under Connection, and click Test key.
  3. Click Save.

Grading options

Privacy

Nothing is sent unless you click a button. There is no telemetry and no server of mine; the add-on never uploads your collection.

  • AI feedback sends your writing, its topic, today's words with their meanings, your writing language (with your notes about it), your level, your exam and your grading options to openrouter.ai.
  • Suggest topic sends today's words with their meanings, your writing language, your level, your exam, the text in the topic box and the titles of your last saved topics.
  • Copy prompt sends nothing; it only copies text to your clipboard.
  • Free models may keep your text or use it to train AI. Don't write personal information.
  • Your API key is stored unencrypted in the add-on's user_files folder on your computer. If it ever leaks, revoke it on OpenRouter.

Which field is the word?

By default the first field of a note is the word and the second is its meaning; cloze notes use the hidden text. If your notes are laid out differently (for example Sentence | Word | Definition), choose the fields for that note type under AI settings → Cards.

Requirements and limitations

  • Anki 25.09 or newer, desktop only. Built against Anki 25.09.2 on Windows; other versions and platforms are untested. AnkiMobile and AnkiDroid are not supported.
  • English matching uses a small stemmer and may miss unusual forms. Czech and Finnish matching covers common endings but can tick unrelated words or homographs and miss stem changes, such as Finnish katu → kadun and vesi → veden. Custom languages match exact forms only. Turkish dotted and dotless i is not handled. A tick only means the word appears, not that it was used correctly.
  • Scores from free AI models are estimates, useful for comparing your progress between texts, not real exam scores.
  • Free AI models can be slow, unavailable or wrong. Read the feedback critically.

Links

Bug reports and ideas are very welcome on GitHub.

Writing Practice is an independent project. It is not affiliated with or endorsed by Anki, OpenRouter or any model provider.

README

Writing Practice for Anki

Turn the words you just reviewed into a short piece of writing. After a study session, Writing Practice shows the vocabulary you reviewed today next to a writing box. Pick any topic you like, write about it using those words, and (optionally) get feedback from an AI model you connect yourself.

Reviewing a card proves you recognise a word. Using it in a sentence is what makes it stick.

The writing window

Sample data. The feedback shown is hand-written example text, not real model output.

Features

  • Today's words, one click away. When you leave the review screen (or any time with Tools → Write with today's words… / Ctrl+Alt+W), you get a table of the notes you reviewed today. Filter by deck, or show only cards you saw for the first time today.
  • Live word tracking. Words you use are ticked as you type. English matching includes inflected forms (analyze → analyzed) and separable phrases (give sb up → gave it up); other languages use exact forms, with limited Czech and Finnish ending matching.
  • Topic ideas. Not sure what to write about? Suggest topic proposes four topics built around your words, shaped by your level and exam. Choosing one marks 4–6 target words with 🎯.
  • AI feedback (optional, bring your own key). Vocabulary used correctly or wrongly, grammar corrections quoted from your text, a natural rewrite, and words worth trying next. Optionally an estimated exam score or CEFR level.
  • Fully customisable. Strictness, scoring, level of detail, which parts to show, custom instructions, built-in and personal grading styles, and an editable prompt with variables.
  • No API key? No problem. Copy prompt copies a ready-to-paste prompt (your words, topic and writing included) for ChatGPT, Gemini, Claude or any other chatbot.
  • Your history. Save your writings and read them again, with the AI feedback, under Past writings.
  • Read-only. It never edits your cards or touches your review schedule.
  • Ten writing languages. Choose English, Czech, Italian, Japanese, French, Chinese, Korean, Russian, Vietnamese, or Finnish in the writing window, or add your own. The English/Vietnamese interface and feedback language are independent of your writing language.

Install

  1. Download writing-practice-<version>.ankiaddon from the latest release.
  2. In Anki: Tools → Add-ons → Install from file… and choose the file.
  3. Restart Anki.

Or copy the writing_practice folder from this repository into your Anki addons21 folder.

Requirements: Anki 25.09 or newer (desktop). Built against Anki 25.09.2 on Windows 11: the tests run against that version's real collection engine and build every window offscreen. Other versions and platforms are untested. AnkiMobile and AnkiDroid are not supported.

Using it

  1. Study some cards as usual. When you leave the review screen, Anki asks whether you want to practise writing with the words you studied (only if you studied at least 5 notes today, and not again within 30 minutes; both are configurable). You can also open the window from Tools → Write with today's words…. Choose the language you are learning in the writing window; filter by deck independently.
  2. Type a topic, or click Suggest topic.
  3. Write. The table ticks off the words you use and counts your words.
  4. Click AI feedback (needs an API key, see below) or Copy prompt (needs nothing). If you edit the text while grading, the result is discarded.
  5. Save keeps the writing with its feedback; if you edited after grading, the graded version is kept with it and shown in Past writings. If you close the window without saving, your text is kept as a draft and comes back the next time you open it the same day.

Topic ideas

Set up AI feedback

AI features use your own OpenRouter account. OpenRouter offers several free models (names ending in :free), which at the time of writing allow roughly 50 requests per day without adding credit. The default model is google/gemma-4-31b-it:free. Free models change over time, so you can type any other model name in the settings.

  1. Create an account at openrouter.ai and make a key at openrouter.ai/settings/keys.
  2. In the writing window click AI settings, paste the key under Connection, and click Test key. It tells you how many free requests you have left today.
  3. Click Save.

If the model you chose is overloaded or unavailable, the add-on automatically tries a fallback model and tells you which one answered.

Privacy: what is sent, and when

Nothing is sent unless you click a button.

Button What is sent to openrouter.ai
AI feedback your writing, its topic, the list of today's words with their meanings, your writing language (with your notes about it), your level, your exam, and your grading options
Suggest topic the list of today's words with their meanings, your writing language, your level, your exam, the text in the topic box (if any), and the titles of your last 10 saved topics
Test key only the key, to check it
Copy prompt nothing; it only copies text to your clipboard
  • There is no telemetry and no other server. The add-on never uploads your collection.
  • Free models may keep your text or use it to train AI. Don't write personal information in anything you send. Paid models on OpenRouter have different terms; see OpenRouter's privacy settings.
  • Your key is stored unencrypted in user_files/ai_settings.json inside the add-on's folder. Anyone with access to your computer account can read it, and so can anyone you send that folder to. If it leaks, revoke the key on OpenRouter. Delete key in the settings removes it from your computer.

Grading options

Under AI settings → Grading options you can set:

Option Choices
Scoring none · overall estimate · overall + per-criterion
Strictness gentle · balanced · strict, like an examiner
Feedback language English · Vietnamese · bilingual
Level of detail short · medium · thorough
Max grammar errors 3 · 5 · 10 · all
Rewrite style fix errors only · more natural · one level up
Parts shown overall comment · vocabulary · grammar · rewrite · suggested words
Level / exam A1–C2 or anything you type; choose an exam for your writing language or type your own
Custom instructions free text, e.g. check articles closely, address me as a coach, reply in Spanish

Four styles are built in (Daily practice, IELTS exam, Quick check, Gentle coach); IELTS exam is hidden outside English. Each language remembers its own exam. Adjust the options and Save as new style… to keep your own.

Available exams: English — IELTS, TOEIC, TOEFL iBT, VSTEP, Cambridge; Czech — CCE, Trvalý pobyt A2, Občanství B1; Italian — CILS, CELI, PLIDA; Japanese — EJU, J.TEST, JLPT; French — DELF/DALF, TCF, TEF; Chinese — HSK, TOCFL; Korean — TOPIK II, TOPIK I; Russian — TORFL; Vietnamese — Vietnamese proficiency; Finnish — YKI. JLPT and TOPIK I have no writing section, so only a level estimate is given.

Grading options

About scores. Scores from free AI models are estimates. They are handy for comparing your progress between texts, but they are not real exam scores, and short texts make them less reliable.

Edit the prompt

AI settings → Advanced prompt shows the full prompt as a template. Click a button to insert a variable at the cursor:

Variable Replaced with
<vocabs> the words in the table, with meanings
<essay> your writing
<topic> your topic
<level> / <exam> your level / exam
<rules> everything set in Grading options
<language> the selected writing language

Preview shows exactly what will be sent, without using a request. The output format is added by the add-on separately, so any prompt you write still produces results the window can display. Your writing is fenced off as data and the model is told not to follow instructions found inside it.

Custom prompts are never changed automatically. A custom prompt hard-coded for English will not grade other languages; use <language> instead, or click Reset to restore the default prompt.

Advanced prompt

Which field is the word?

By default the first field of a note is the word and the second is its meaning, and cloze notes use the hidden text. If your notes are laid out differently, for example Sentence | Word | Definition, open AI settings → Cards and choose the word and meaning fields for that note type.

Cards tab

Language

Choose your writing language in the writing window: English, Czech, Italian, Japanese, French, Chinese, Korean, Russian, Vietnamese, or Finnish. The writing, feedback and interface languages are independent. The interface and the add-on's error messages follow Anki's language (English or Vietnamese), or whatever you choose under AI settings → Connection → Language.

Add your own language

Use the buttons next to the writing-language box to add, edit or remove a language. Enter its name, choose a counting unit and optionally add notes for the AI. You can type any exam name. You can add up to 30 languages. The counting unit cannot be changed later. Removing a language keeps its writings.

Limitations

  • English word matching uses a small built-in stemmer and a list of common irregular verbs; unusual forms may not be recognised. Other languages match exact Unicode forms without regard to case, except for the limited Czech and Finnish endings below. Custom languages match exact forms only. Turkish dotted and dotless i is not handled. Japanese and Chinese matches may occur inside longer words.
  • Czech also tolerates one common ending (hrad → hradu, kniha → knihu), but can tick unrelated words (park / parka) and misses stem changes (kniha → knize, psát → píšu, dům → domu). A tick only means the word appears, not that it was used correctly.
  • Finnish matching covers common endings, but can tick homographs and misses stem changes such as katu → kadun and vesi → veden.
  • Japanese and Chinese writing progress is measured in non-whitespace characters rather than words.
  • Corrections that do not quote your text are hidden (Unicode and whitespace differences are tolerated). If none can be verified, the feedback shows No verified corrections.
  • Free AI models can be slow, unavailable, or wrong. Read the feedback critically.
  • Desktop Anki only.

Troubleshooting

  • The table is empty. It lists notes you reviewed today. Study some cards first, or check the Words and Deck boxes.
  • The word column shows a whole sentence. Your note type keeps the word in another field. Choose it in AI settings → Cards.
  • "API key is invalid". Re-paste the key (no spaces) and use Test key.
  • "Free requests used up" or "model overloaded". Wait, or change the model in AI settings → Connection.

Development

The code is plain Python with no third-party dependencies. The tests need the anki and aqt packages (pip install anki aqt, or run them with Anki's own Python).

python -m unittest discover -s tests                 # unit tests, incl. a real headless Anki collection
QT_QPA_PLATFORM=offscreen python tests/smoke_ui.py   # builds every window offscreen, in both languages
python build.py                                      # writes dist/writing-practice-<version>.ankiaddon

(On Windows PowerShell, set the variable first: $env:QT_QPA_PLATFORM = "offscreen".)

writing_practice/
  __init__.py     Anki integration: menu item, review-exit hook
  collection.py   reads today's notes from a collection (read-only)
  core.py         text cleanup, word matching, storage
  ai.py           OpenRouter client, settings, parsing and rendering feedback
  prompting.py    prompt template, grading options, styles
  strings.py      all text, English + Vietnamese
  i18n.py         t("key") translation helper
  ui.py           Qt windows
tests/            unit tests and offscreen UI smoke test
scripts/          make_screenshots.py

Interface translations live in strings.py as (English, Vietnamese) pairs. tests/test_i18n.py checks that every string exists in both languages with the same placeholders, that no English string contains Vietnamese, and that every key used in the code exists. Adding a third interface language would need a small change to the pair format in strings.py and i18n.py; contributions are welcome.

License

AGPL-3.0.

Writing Practice is an independent project. It is not affiliated with or endorsed by Anki, OpenRouter, or any model provider.