orknux

Marketplace

Anki

Turn what was read into flashcards, and review what is due - through AnkiConnect.

By
Michał Jakub Szymański
Version
0.1.5
Tags
flashcardslearningproductivity
Published
5 November 2026
Downloads
7

Changelog

  1. 0.1.5

    Anki 0.1.5: a card's pictures are kept, and an agent can look at them

    A card was read as text with every tag stripped, pictures included. A card whose question was only a picture came back as an empty question, so an agent quizzing from a deck could not ask it, and skipped it without saying there had been anything there.

    The text now says [picture: file] where a picture was. dueCards and cards also fetch each picture out of Anki's media folder and keep it in the session under a key, listed under the card's new pictures field, so the agent can look at it with picture_view before asking or judging the card. One call fetches at most twelve; a picture that was not fetched, is not in Anki, or is a web address says why. The new picture function fetches one by name, for a card past that limit or a note findNotes found. Outside a session - a workflow step - picture answers the bytes themselves, since there is nowhere to keep them.

    The review skill tells the agent to look at a card's pictures and never to skip a picture-only question as empty.

  2. 0.1.4

    Anki 0.1.4: dueCards lists cards in the order Anki reviews them - learning first, then the longest overdue - not the order they were added, which showed the same oldest cards every time

  3. 0.1.3

    Anki 0.1.3: an agent can take somebody through a review and record it

    Asked to mark cards as answered after a person answered them aloud, an agent could only say it was unable to: the plugin could list what was due and read its question, and nothing more - so a review held in a conversation changed nothing in Anki, and every card came back due the next day.

    anki_answerCards records how each card went, ease 1 Again, 2 Hard, 3 Good or 4 Easy, as Anki's buttons do, and Anki schedules it from there. Only a card that is due is answered: one not due yet, suspended, not a card, or given an ease outside 1 to 4 is skipped with the reason and the rest go through, so an id misread off a list cannot quietly push out a card the person never saw.

    dueCards now answers each card's back as well as its question, so the agent can check what was said without a second call, and anki_cards reads cards by id - both sides, whether suspended, and when each of the four answers would show the card next. anki_suspendCards and anki_unsuspendCards set a card aside and bring it back. A new skill says how to run the session: ask the question only, judge the meaning rather than the wording, and record answers as it goes rather than at the end.

  4. 0.1.2

    Anki 0.1.2: an agent can change a card it already made

    Asked to add a translation to a card it had just made, an agent could only offer a second card: it could add notes and not change them. anki_updateNote changes a note by its id - findNotes answers it - writing only what it is given, so a back passed alone leaves the front as it was, and adding tags keeps the note's own. A field the note type does not have is refused by name, listing the ones it has. The card-writing skill says to change a card rather than add a second one.

  5. 0.1.1

    Anki 0.1.1: the address may be left empty

    AnkiConnect listens on http://localhost:8765 unless told otherwise, so a connection now takes that address when the URL box is left empty - which is right for Anki on the same machine as the server. Anki elsewhere still needs its address typed. Needs a server that knows default addresses; an older one asks for the URL as before.

  6. 0.1.0

    Anki 0.1.0: flashcards from a chat, a thread or an issue, through AnkiConnect

    A new plugin for Anki, the flashcard application. Anki has no API of its own, so this talks to the Anki desktop application through the AnkiConnect add-on (code 2055492159) - Anki has to be running, on this server's machine or one the server can reach.

    It brings a connection kind, AnkiConnect. The connection page explains the setup - installing the add-on, reaching Anki on another machine, the optional API key, which goes in the connection's credential with API key as its authentication - and its Test asks the address whether it really is AnkiConnect and lists the decks, so a wrong address, a page that merely answers, or a wrong key fails there rather than on the first card. (The guide and the check need a server that shows them; an older one still connects and tests by asking whether the address answers.)

    Every call takes the connection first: decks, noteTypes, findNotes with Anki's own search syntax, addNote for a Basic, Cloze or custom note, addBasicNotes for a batch where each note is added or skipped with the reason, dueCards, and sync with AnkiWeb. A duplicate is refused rather than added twice. All of them are agent tools, with a skill on writing cards worth reviewing: one fact per card, basic or cloze, and a tag per batch so it can be found again.

    Needs NETWORK_REQUEST, and nothing else.