LaunchKit · 2026
Back to Skills

anki-connect

Interact with Anki flashcard decks via the AnkiConnect REST API.

1
1.6k downloads
by @gyroninja

Setup & Installation

openclaw skills install @gyroninja/anki-connect

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install anki-connect

What This Skill Does

Connects to Anki via the AnkiConnect REST API, enabling programmatic control of flashcard decks. Supports creating, updating, searching, and managing cards, notes, decks, and models without touching the Anki UI.

Using the REST API lets you generate and manage large card sets from external content without manual data entry in the Anki interface.

When to use it

  • Adding vocabulary cards to a language deck while reading an article
  • Searching existing notes to avoid creating duplicate cards
  • Bulk-creating study cards from a list of terms
  • Updating card content after spotting an error
  • Organizing cards into new decks for a new subject

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Add a card to my Spanish deck with front 'hablar' and back 'to speak'

AGENT
  1. 1Connect to the AnkiConnect API running on localhost
  2. 2Check if the target deck 'Spanish' exists
  3. 3Construct a note object with the front and back fields
  4. 4Send a POST request to the addNote endpoint
  5. 5Confirm the note ID returned by AnkiConnect
OUTPUT

Card created in the Spanish deck with note ID 1234567890

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

Anki desktop application installed and runningAnkiConnect plugin installed in Anki