ambiguouStr

Anki Review — AI skill for Claude Code

AI community

Review your due Anki flashcards in chat with an AI agent or in the terminal — real v3 scheduler, syncs back to AnkiWeb.

How to install Anki Review

This entry records only its repository, not the path inside it, so there is no exact command to give. Open ambiguouStr/anki-review and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Anki Review does

Review your due Anki flashcards in chat with an AI agent or in the terminal — real v3 scheduler, syncs back to AnkiWeb.

Alternatives in AI

  • Omnara — by Ishaan Sehgal - A command center for AI agents that syncs Claude Code sessions across terminal, web, and mo 2.6k ★
  • Session Kit — Close the terminal windows, not the AI coding sessions 649 ★
  • Tlive — Terminal Live — monitor and chat with AI coding agents (Claude Code, Codex) from Telegram, Discord & Feishu 193 ★

README

anki-review

Review your due [Anki](https://apps.ankiweb.net/) flashcards from a terminal, one keypress per step, on **Anki's real v3 scheduler**. Grades affect real intervals and sync back to AnkiWeb, exactly like the desktop and mobile apps.

It also ships as an [agent skill](https://docs.claude.com/en/docs/claude-code/skills): the agent doesn't quiz you, but it can explain the cards you just failed.

Why

Your phone or desktop Anki client is still the place for serious reviewing. This is for a few cards in a tmux pane while something builds: no window to switch to, nothing left on screen when you quit, and those reps still count.

Requirements

  • Linux or macOS, Python 3.9+
  • The official Anki backend library: pip install anki (a ~90 MB Rust-backed wheel; this is the headless anki package, not the aqt GUI)
  • An AnkiWeb account with at least one synced collection using the v3 scheduler

Install

git clone https://github.com/ambiguouStr/anki-review.git
cd anki-review
pip install anki
ln -s "$PWD/scripts/review.py" ~/.local/bin/ank

To make the skill discoverable by your agent, e.g. for Claude Code:

ln -s "$PWD" ~/.claude/skills/anki-review
# Codex (optional): ln -s "$PWD" ~/.codex/skills/anki-review

First login

Credentials are used **once** to obtain a sync token, which is stored (mode `0600`) in the data directory. Your password is never written to disk.

ANKI_USER='you@example.com' ANKI_PASS='...' python3 scripts/ankisync.py

Data lives in `$ANKI_CLI_DIR` (default `~/.local/share/anki-cli/`). On first run with an empty local collection, AnkiWeb performs a full download automatically.

Media is a separate, much larger transfer and stays off unless you ask for it:

python3 scripts/ankisync.py --media   # audio and images; Ctrl-C is safe, progress is kept

**Security:** keep your real data directory *outside* any git checkout. The bundled `.gitignore` also exclu