anki-cards

Create Anki flashcards and add them to decks via the Anki MCP server or AnkiConnect.

5|Updated Sep 24, 2017
One-click install
npx skills add https://github.com/madyankin/dotfiles --skill anki-cards-madyankin
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: anki-cards
Source: https://github.com/madyankin/dotfiles/tree/main/.config/agents/skills/anki-cards
Command: npx skills add https://github.com/madyankin/dotfiles --skill anki-cards-madyankin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Turning conversations, articles, or code concepts into well-formed spaced-repetition flashcards is tedious and error-prone. This Skill drafts high-quality Anki cards following proven card-design rules and adds them directly to the user's Anki collection through the anki MCP server, with an AnkiConnect HTTP fallback. ## Core Features & Use Cases - Deck and model selection: Lists existing decks and note models, matches fields exactly, and never invents decks silently. - Card quality enforcement: Applies the minimum information principle, one-fact-per-card splitting, self-contained fronts, and proper Basic vs Cloze note type usage with tags. - Batch creation with fallback: Adds notes in batches via MCP tools, or falls back to AnkiConnect on port 8765 when MCP tools are unavailable, reporting duplicates and failures. - Use Case: After a study session about Ruby concurrency, ask the agent to ankify the discussion; it drafts GVL question-answer cards, shows them for review, and adds them to your Programming deck with tags. ## Quick Start Ask the agent to create Anki flashcards from the current conversation and add them to your chosen deck.

Frequently Asked Questions about anki-cards

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create Anki flashcards from a conversation or article?▼

Ask the agent to ankify the content and name a target deck. It lists your decks, drafts cards following one-fact-per-card rules, shows the drafts for review, then adds them in batch with tags.

How to add notes to Anki programmatically without the MCP server?▼

Use the AnkiConnect fallback: with Anki desktop running and the AnkiConnect add-on installed, send JSON POST requests to localhost:8765 with actions like deckNames and addNotes to create cards.

When should I use Cloze cards versus Basic cards in Anki?▼

Use Cloze for lists, sequences, and fill-in-the-blank facts, with separate cloze indices so each blank becomes its own card. Use Basic for plain question-answer pairs, which is the default preference.

Why does the Anki MCP connection fail with connection refused?▼

Connection refused on port 3141 means Anki desktop is not running or the anki-mcp server is down. Open Anki first; the skill will not retry blindly and instead tells you to start the application.

What makes a good Anki flashcard for spaced repetition?▼

Good cards contain one fact each, have a self-contained front phrased as a what/why/how question, and a minimal correct answer on the back. Extra context belongs in a separate field or follow-up card.