Agent skill · software engineering · intellectronica

anki-connect

This skill is for interacting with Anki through AnkiConnect, and should be used whenever a user asks to interact with Anki, including to read or modify decks, notes, cards, models, media, or sync operations.

Why this skill is useful

Adds specific JSON request patterns and curl commands for interacting with AnkiConnect that the AI wouldn't reliably generate on its own.

What it needs

Requires curl, jq installed locally. About 5k tokens when loaded. Last updated 2026-04-25. 281 stars on the source repository.

What this skill does

AnkiConnect Overview Enable reliable interaction with Anki through the AnkiConnect local HTTP API. Use this skill to translate user requests into AnkiConnect actions, craft JSON requests, run them via curl/jq (or equivalent tools), and interpret results safely. Preconditions and Environment If Anki is not running, launch Anki, then wait until the AnkiConnect server responds at http://127.0.0.1:8765 (default). Verify readiness using curl, e.g. curl -sS http://127.0.0.1:8765 should return Anki-Connect. Safety and Confirmation Policy (Critical) CRITICAL — NO EXCEPTIONS Before any destructive or modifying operation on notes or cards (adding, updating, deleting, rescheduling, suspending, unsuspending, changing deck, or changing fields/tags), request confirmation from the user. Use the AskUserQuestion tool if available; otherwise ask via chat. Only request confirmation once per logical operation, even if it requires multiple API calls (e.g., search + update + verify). Group confirmation by intent and scope (e.g., “Update 125 notes matching query X”). Treat the following as confirmation-required by default: Notes: addNote, addNotes, updateNoteFields, updateNoteTags, updateNote, updateNoteModel, deleteNotes, removeEmptyNotes, replaceTags, replaceTagsInAllNotes, clearUnusedTags. Cards: setEaseFactors, setSpecificValueOfCard, suspend, unsuspend, forgetCards, relearnCards, answerCards, setDueDate, changeDeck. Deck or model modifications that materially change cards/notes (deck deletion, model edits). Ask even if the action is not explicitly listed above. API Fundamentals Request Format Every request is JSON with: action: string action name version: API version (use 6 unless user specifies otherwise) params: object of parameters (optional) Response Format Every response is JSON with: result: return value error: null on success or a string describing the error Always check error before using result. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills intellectronica/skills

View the source on GitHub

Browse the @skills marketplace