This source did not publish a separate summary. Review SKILL.md before using the skill.
SKILL.md
Anki Card Creator
Overview
Intelligent flashcard generation tool that transforms medical study materials into Anki-compatible cards optimized for long-term retention through evidence-based spaced repetition.
Key Capabilities:
Multi-Format Input: PDF textbooks, lecture slides, notes, web articles
Card Type Selection: Basic, reversible, cloze deletion, image occlusion
Spaced Repetition Optimization: Cards formatted for optimal review intervals
Automated Tagging: Hierarchical organization by subject and topic
Media Integration: Auto-download and embed relevant images
Batch Processing: Convert entire chapters or courses efficiently
When to Use
✅ Use this skill when:
Preparing for medical board exams (USMLE, MCAT, specialty boards)
Memorizing drug names, mechanisms, and side effects
Learning anatomy structures and relationships
Retaining biochemical pathways and reactions
Creating pathology differential diagnosis cards
Converting lecture notes to active recall format
Building comprehensive review decks from textbooks
❌ Do NOT use when:
Learning conceptual understanding → Use textbooks/videos first
Memorizing without context → Ensure comprehension before card creation
Creating cards for rapidly changing information → Use current resources
Substituting clinical experience → Cards supplement, not replace practice
Complex procedural skills → Use simulation or hands-on training
from scripts.card_creator import AnkiCardCreator
creator = AnkiCardCreator()
# Generate cloze cards from text
text = """
Acute inflammation is characterized by five cardinal signs:
redness (rubor), heat (calor), swelling (tumor), pain (dolor),
and loss of function (functio laesa). These result from
vasodilation, increased vascular permeability, and leukocyte
infiltration.
"""
cards = creator.create_cloze_cards(
text=text,
n_cards=3, # Generate 3 cards from this text
difficulty="intermediate",
tags=["Pathology", "Inflammation", "General_Pathology"]
)
# Output format (Anki-compatible)
# Card 1: "Acute inflammation is characterized by {{c1::five}} cardinal signs..."
# Card 2: "...signs: {{c1::redness}} (rubor), {{c2::heat}} (calor)..."
"{{c1::Metformin}} is a {{c2::biguanide}} that {{c3::decreases hepatic glucose production}}"
2. Basic and Reversible Cards
Generate question-answer pairs:
# Create basic cards
cards = creator.create_basic_cards(
content={
"What is the mechanism of action of penicillin?":
"Inhibition of bacterial cell wall synthesis by binding to PBPs",
"What are the major side effects of ACE inhibitors?":
"Dry cough, hyperkalemia, angioedema, hypotension"
},
reversible=True, # Create reverse cards too
tags=["Pharmacology", "Antibiotics"]
)
Q: What is the mechanism of action of Metformin?
A: Decreases hepatic glucose production, increases insulin sensitivity
Q: Which artery supplies the left ventricle?
A: Left anterior descending artery (LAD)
Risk Assessment
Risk Indicator
Assessment
Level
Code Execution
Python script executed locally
Low
Network Access
No external API calls
Low
File System Access
Read input file, write to output file
Low
Instruction Tampering
Standard prompt guidelines
Low
Data Exposure
Output saved only to specified location
Low
Security Checklist
No hardcoded credentials or API keys
No unauthorized file system access
Output does not expose sensitive information
Prompt injection protections in place
Input validation for file paths
Output directory restricted to workspace
Script execution in sandboxed environment
Prerequisites
# Python 3.7+
# No additional packages required (uses standard library)
Evaluation Criteria
Success Metrics
Successfully creates Anki-compatible TSV files
Supports drug and anatomy card types
Parses Q&A files correctly
Generates valid HTML formatting
Test Cases
Drug Card: Create Metformin card → Valid TSV output with formatted front/back
Anatomy Card: Create coronary artery card → Valid TSV with location and function
File Parse: Parse Q&A text file → Multiple cards generated
Lifecycle Status
Current Stage: Draft
Next Review Date: 2026-03-06
Known Issues: None
Planned Improvements:
Add Cloze deletion support
Support image inclusion
Add .apkg export format
🧠 Study Tip: The best flashcard is one you'll actually review. Create cards for material you genuinely need to memorize, and keep the daily review load sustainable. Quality over quantity—better to deeply learn 1000 cards than superficially memorize 5000.