memento-flashcards
Skill này làm gì
Skill này biến các dữ kiện thành thẻ ghi nhớ và lên lịch ôn tập để bạn nhớ lâu hơn. Phù hợp với học sinh, sinh viên và bất kỳ ai muốn ghi nhớ bằng một thói quen học đơn giản.
Khi nào nên dùng
- ✓Khi bạn muốn biến một dữ kiện hoặc ghi chú thành thẻ ghi nhớ để ôn sau.
- ✓Khi bạn muốn ôn các thẻ đến hạn theo lặp lại ngắt quãng và nhận chấm điểm câu trả lời.
- ✓Khi bạn muốn tự kiểm tra từ bản chép lời video YouTube hoặc xuất thẻ ra file CSV.
Liên kết skill
https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/productivity/memento-flashcards/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Biến năm dữ kiện này về Cách mạng Pháp thành thẻ ghi nhớ và kiểm tra tôi về những thẻ đến hạn hôm nay.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill lưu tất cả thẻ trong một file JSON cục bộ. AI của bạn tự viết thẻ và câu hỏi kiểm tra, chấm câu trả lời tự do của bạn, rồi đặt thời điểm ôn tiếp theo dựa trên kết quả của bạn.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Tôi có cần khóa API không?
Không. Skill nói không cần khóa API bên ngoài vì AI tự tạo nội dung thẻ.
Thẻ của tôi được lưu ở đâu?
Theo skill, mọi dữ liệu thẻ nằm trong một file JSON duy nhất trên máy tính của bạn.
AI có thêm lời khen hoặc giải thích dài không?
Không. Skill yêu cầu các câu trả lời văn bản thuần, ngắn gọn và trung tính trong lúc ôn tập và kiểm tra.
Chi tiết
Mô tả gốc của tác giả
Spaced-repetition flashcards: create, review, quiz, export.
Độ phổ biến
- Sao GitHub
- 260k
- Vị trí xếp hạng
- #540
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
agent-merge-conflict-arbiter
260kGiải quyết xung đột merge git giữa nhánh của hai agent với vai trò bên trung lập, tạo ra một kết quả merge duy nhất cho repo.
antigravity-cli
260kHướng dẫn bạn cài đặt, cập nhật và khắc phục sự cố công cụ dòng lệnh Antigravity, gồm plugin, đăng nhập và sandbox.
blackbox
260kCho phép agent của bạn giao một tác vụ lập trình cho công cụ dòng lệnh Blackbox AI, công cụ chạy nhiều mô hình và chọn kết quả tốt nhất.
dynamic-workflow
260kDạy agent của bạn chạy các đợt công việc tương tự lớn như một script đã lưu, để chỉ kết quả đã kiểm chứng mới quay về cuộc trò chuyện chính.
Skill tương tự
knowledge-capture
394kDạy agent của bạn lưu các quyết định, sở thích và sự kiện quan trọng vào kho Knowledge dưới dạng ghi chú ngắn có ghi nguồn.
knowledge-claim-consolidation
394kGiúp agent của bạn dọn gọn kho Knowledge bằng cách gộp các khẳng định trùng lặp, chuyển chúng đến đúng trang chủ đề và loại bỏ những cái lỗi thời.
knowledge-correct
394kCho phép agent của bạn sửa hoặc rút lại một khẳng định hoặc trang Knowledge cụ thể theo yêu cầu của bạn, và giữ nhật ký những gì đã thay đổi.