ankilisted
Install: claude install-skill lroman242/anki-skill
# Anki Card Manager
Manage Anki flashcards from Claude Code — create, update, delete, and browse. Scripts are bundled in `./scripts/`. Full AnkiConnect API reference is in `Anki-Connect.md`.
## Available operations
### Create a card
```bash
./scripts/create_card.sh \
--deck "CS" \
--front "What guarantee does a WAL provide?" \
--back "Durability — changes are written to a log before being applied, so committed transactions survive crashes." \
--tags "databases,durability"
```
### Create a card with an image on the front
Image is centered with text above it. Use for diagrams, screenshots, visual concepts.
```bash
# Local file
./scripts/create_card.sh \
--deck "CS" \
--front "What does this diagram show?" \
--back "B-tree node split" \
--image-path "/path/to/diagram.png" \
--tags "algorithms"
# Remote URL (AnkiConnect downloads it)
./scripts/create_card.sh \
--deck "CS" \
--front "What pattern does this show?" \
--back "CQRS" \
--image-url "https://example.com/cqrs.png" \
--tags "architecture"
```
### Update a card
```bash
./scripts/update_card.sh --id NOTE_ID --front "Better question?" --back "Cleaner answer"
./scripts/update_card.sh --id NOTE_ID --tags "algorithms,trees" # retag only
```
### Delete a card
```bash
./scripts/delete_card.sh --id NOTE_ID
```
### List cards (check for duplicates before creating)
```bash
./scripts/list_cards.sh --query "tag:algorithms added:7"
./scripts/list_cards.sh --deck "CS" --tag "algorithms"
```
##