memento-flashcards
ما الذي تفعله
تحوّل هذه المهارة الحقائق إلى بطاقات تعليمية، وتجدول المراجعات لتتذكرها لفترة أطول. وهي للطلاب ولكل من يريد الحفظ بروتين دراسة بسيط.
متى تستخدمها
- ✓عندما تريد تحويل حقيقة أو ملاحظة إلى بطاقة تعليمية للمراجعة لاحقًا.
- ✓عندما تريد مراجعة بطاقاتك المستحقة بالتكرار المتباعد والحصول على تقييم لإجاباتك.
- ✓عندما تريد أن تختبر نفسك من نص فيديو على YouTube، أو تصدّر بطاقاتك إلى ملف CSV.
رابط المهارة
https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/productivity/memento-flashcards/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“حوّل هذه الحقائق الخمس عن الثورة الفرنسية إلى بطاقات تعليمية، واختبرني على ما يستحق المراجعة اليوم.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تحفظ المهارة كل البطاقات في ملف JSON محلي واحد. يكتب وكيلك البطاقات وأسئلة الاختبار بنفسه، ويصحح إجاباتك المكتوبة بحرية، ويحدد موعد المراجعة التالية بحسب أدائك.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Memento Flashcards — Spaced-Repetition Flashcard Skill
Overview
Memento gives you a local, file-based flashcard system with spaced-repetition scheduling. Users can chat with their flashcards by answering in free text and having the agent grade the response before scheduling the next review. Use it whenever the user wants to:
- Remember a fact — turn any statement into a Q/A flashcard
- Study with spaced repetition — review due cards with adaptive intervals and agent-graded free-text answers
- Quiz from a YouTube video — fetch a transcript and generate a 5-question quiz
- Manage decks — organise cards into collections, export/import CSV
All card data lives in a single JSON file. No external API keys are required — you (the agent) generate flashcard content and quiz questions directly.
User-facing response style for Memento Flashcards:
- Use plain text only. Do not use Markdown formatting in replies to the user.
- Keep review and quiz feedback brief and neutral. Avoid extra praise, pep, or long explanations.
When to Use
Use this skill when the user wants to:
- Save facts as flashcards for later review
- Review due cards with spaced repetition
- Generate a quiz from a YouTube video transcript
- Import, export, inspect, or delete flashcard data
Do not use this skill for general Q&A, coding help, or non-memory tasks.
Quick Reference
| User intent | Action |
|---|---|
| "Remember that X" / "save this as a flashcard" | Generate a Q/A card, call memento_cards.py add |
| Sends a fact without mentioning flashcards | Ask "Want me to save this as a Memento flashcard?" — only create if confirmed |
| "Create a flashcard" | Ask for Q, A, collection; call memento_cards.py add |
| "Review my cards" | Call memento_cards.py due, present cards one-by-one |
| "Quiz me on [YouTube URL]" | Call youtube_quiz.py fetch VIDEO_ID, generate 5 questions, call memento_cards.py add-quiz |
| "Export my cards" | Call memento_cards.py export --output PATH |
| "Import cards from CSV" | Call memento_cards.py import --file PATH --collection NAME |
| "Show my stats" | Call memento_cards.py stats |
| "Delete a card" | Call memento_cards.py delete --id ID |
| "Delete a collection" | Call memento_cards.py delete-collection --collection NAME |
Card Storage
Cards are stored in a JSON file at:
~/.hermes/skills/productivity/memento-flashcards/data/cards.json
Never edit this file directly. Always use memento_cards.py subcommands. The script handles atomic writes (write to temp file, then rename) to prevent corruption.
The file is created automatically on first use.
Procedure
Creating Cards from Facts
Activation Rules
Not every factual statement should become a flashcard. Use this three-tier check:
- Explicit intent — the user mentions "memento", "flashcard", "remember this", "save this card", "add a card", or similar phrasing that clearly requests a flashcard → create the card directly, no confirmation needed.
- Implicit intent — the user sends a factual statement without mentioning flashcards (e.g. "The speed of light is 299,792 km/s") → ask first: "Want me to save this as a Memento flashcard?" Only create the card if the user confirms.
- No intent — the message is a coding task, a question, instructions, normal conversation, or anything that is clearly not a fact to memorize → do NOT activate this skill at all. Let other skills or default behavior handle it.
When activation is confirmed (tier 1 directly, tier 2 after confirmation), generate a flashcard:
Step 1: Turn the statement into a Q/A pair. Use this format internally:
Turn the factual statement into a front-back pair.
Return exactly two lines:
Q: <question text>
A: <answer text>
Statement: "{statement}"
Rules:
- The question should test recall of the key fact
- The answer should be concise and direct
Step 2: Call the script to store the card:
python3 ~/.hermes/skills/productivity/memento-flashcards/scripts/memento_cards.py add \
--question "What year did World War 2 end?" \
--answer "1945" \
--collection "History"
If the user doesn't specify a collection, use "General" as the default.
The script outputs JSON confirming the created card.
Manual Card Creation
When the user explicitly asks to create a flashcard, ask them for:
- The question (front of card)
- The answer (back of card)
- The collection name (optional — default to `"Gener
الأسئلة الشائعة
هل أحتاج إلى مفتاح API؟
لا. تقول المهارة إن مفاتيح API الخارجية غير لازمة، لأن الوكيل ينشئ محتوى البطاقات مباشرة.
أين تُحفظ بطاقاتي؟
تُحفظ كل بيانات البطاقات في ملف JSON واحد على حاسوبك، بحسب المهارة.
هل سيضيف الوكيل مديحًا زائدًا أو شروحات طويلة؟
لا. تطلب المهارة ردودًا نصية بسيطة تبقى موجزة ومحايدة أثناء المراجعة والاختبار.
التفاصيل
الوصف الأصلي من المؤلف
Spaced-repetition flashcards: create, review, quiz, export.
الشعبية
- نجوم GitHub
- 260k
- الترتيب
- #540
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
agent-merge-conflict-arbiter
260kيحسم تعارض دمج git بين فروع وكيلين كطرف محايد، فينتج نتيجة دمج واحدة للمستودع.
antigravity-cli
260kيرشدك إلى تثبيت أداة سطر أوامر Antigravity وتحديثها واستكشاف أخطائها، بما في ذلك إضافاتها وتسجيل الدخول والبيئة المعزولة.
blackbox
260kيتيح لوكيلك تسليم مهمة برمجة إلى أداة Blackbox AI لسطر الأوامر، التي تشغّل عدة نماذج ذكاء اصطناعي وتختار أفضل نتيجة.
dynamic-workflow
260kيعلّم وكيلك تشغيل مجموعات كبيرة من أعمال متشابهة كسكربت محفوظ، فلا تعود إلى المحادثة الرئيسية إلا النتائج المتحقق منها.
مهارات مشابهة
knowledge-capture
394kتعلّم وكيلك حفظ القرارات والتفضيلات والحقائق المهمة في خزنة Knowledge كملاحظات قصيرة مع ذكر المصدر.
knowledge-claim-consolidation
394kيساعد وكيلك على تنظيم خزنة Knowledge بدمج الإفادات المكررة ونقلها إلى صفحات موضوعاتها الصحيحة، وإلغاء ما أصبح قديماً.
knowledge-correct
394kيتيح لوكيلك تصحيح إفادة أو صفحة محفوظة محددة في Knowledge أو سحبها بناءً على طلبك، مع الاحتفاظ بسجل لما تغيّر.