flashcards

Extract atomic flashcards from documents and conversations into Anki via AnkiConnect.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/BoChao1Zhang/dotfiles --skill flashcards-bochao1zhang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flashcards
Source: https://github.com/BoChao1Zhang/dotfiles/tree/main/dot_codex/skills/flashcards
Command: npx skills add https://github.com/BoChao1Zhang/dotfiles --skill flashcards-bochao1zhang

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires uv, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Extract atomic flashcards from documents and conversations and write them into a local Anki deck via AnkiConnect, using a React-rendered paper-note card template with markdown, collapsible code, KaTeX, and mermaid. Triggers on "flashcards", "flash", "抽认卡", "anki".

Core Features & Use Cases

  • Atomic card generation: convert source material into individual flashcards with Front/Back fields.
  • Markdown-rich cards: supports Markdown, code blocks, KaTeX math, mermaid diagrams.
  • Anki integration: uses AnkiConnect to push cards into a local Anki deck.
  • Use Case: Transform a long document or a conversation into a compact deck for active recall during study or review.

Quick Start

Use the flashcards skill to convert a source document into a small set of atomic flashcards and push them to Anki.

Frequently Asked Questions about flashcards

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

FAQPage Schema
How do I convert markdown documents into Anki flashcards?

To convert markdown into Anki flashcards, this skill extracts atomic cards with Front/Back fields and pushes them to a local Anki deck via AnkiConnect. It fully supports markdown-rich content, code blocks, KaTeX math, and mermaid diagrams.

How do I generate atomic flashcards from a conversation or long document?

Generating atomic flashcards from a conversation or document involves extracting key concepts into individual Front/Back cards. This skill automates that extraction and writes the compact deck to Anki for active recall and offline self-testing.

Do I need AnkiConnect running to push flashcards from a document?

Yes, you need a local Anki installation with AnkiConnect running to push flashcards from a document. This skill depends on AnkiConnect to automate card creation and render the React-based paper-note card template for offline study.

Can I use KaTeX math and mermaid diagrams in Anki flashcards?

Yes, you can render KaTeX math and mermaid diagrams in Anki flashcards. This skill uses a React-rendered paper-note card template that supports markdown, collapsible code blocks, KaTeX, and mermaid for rich visual offline study.

What Python or Node toolchain is required for atomic flashcard automation?

Atomic flashcard automation requires a Python or Node toolchain capable of rendering visuals and running provided scripts. You also need the uv dependency installed to manage the environment and push cards through the AnkiConnect integration.