Install
openclaw skills install studyclawInteractive study assistant that creates flashcards, quizzes, and spaced repetition reviews from any source material (notes, PDFs, photos, text, URLs). Use when the user wants to study, memorize, review, prepare for exams, create flashcards, take a quiz, practice questions, or learn any topic. Triggers on phrases like "study", "quiz me", "flashcards", "review", "exam prep", "test me", "help me memorize", "spaced repetition", "study session".
openclaw skills install studyclawAI-powered study assistant that turns any material into interactive learning sessions with flashcards, quizzes, and spaced repetition — delivered through chat.
When the user provides study material (text, image, PDF, URL):
scripts/deck_manager.py# Create a new deck
python3 scripts/deck_manager.py create "Biology Exam" --cards '[
{"q": "What is mitosis?", "a": "Cell division producing two identical daughter cells"},
{"q": "What are the phases of mitosis?", "a": "Prophase, Metaphase, Anaphase, Telophase (PMAT)"}
]'
# Add cards to existing deck
python3 scripts/deck_manager.py add "Biology Exam" --cards '[
{"q": "What is meiosis?", "a": "Cell division producing four genetically different gametes"}
]'
Card generation guidelines:
When the user asks to be quizzed:
# Get cards due for review (spaced repetition)
python3 scripts/deck_manager.py review "Biology Exam"
# Get random quiz (all cards)
python3 scripts/deck_manager.py quiz "Biology Exam" --count 10
Quiz delivery format:
Present one question at a time:
Question 3/10 What are the phases of mitosis?
Wait for the user's answer, then reveal:
Answer: Prophase, Metaphase, Anaphase, Telophase (PMAT)
How did you do? Got it | Partially | Missed it
Record the result:
python3 scripts/deck_manager.py record "Biology Exam" --card-id 2 --result "correct"
Results affect spaced repetition scheduling:
When the user starts a study session or asks "what should I review?":
# Check what's due across all decks
python3 scripts/deck_manager.py due
# Review specific deck
python3 scripts/deck_manager.py review "Biology Exam"
Only show cards that are due based on the SM-2 algorithm intervals. After each session, show a summary:
Session complete! Reviewed: 12 cards Correct: 9 | Partial: 2 | Missed: 1 Next review: 3 cards due tomorrow
When the user asks for an exam or test:
python3 scripts/deck_manager.py exam "Biology Exam" --questions 20 --types "multiple_choice,short_answer,true_false"
Generate a mix of question types from the deck:
# List all decks
python3 scripts/deck_manager.py list
# Show deck stats
python3 scripts/deck_manager.py stats "Biology Exam"
# Export deck (share with others)
python3 scripts/deck_manager.py export "Biology Exam"
# Import deck
python3 scripts/deck_manager.py import deck_file.json
# Delete deck
python3 scripts/deck_manager.py delete "Biology Exam"
For guidance on handling different input types (text, photos, PDFs, URLs) and tips for creating effective cards, see references/guidelines.md.
All decks are stored as JSON in ~/.openclaw/study-buddy/decks/. Each deck file contains cards, review history, and scheduling metadata. See references/data_format.md for the schema.
Study Buddy works in any language. Detect the user's language from their message and: