跳到正文
Skillpedia
任务与项目260k · #540

memento-flashcards

它能做什么

这项技能把事实变成记忆卡片,并安排复习时间,帮助你记得更久。适合学生,以及希望用简单的学习方法来记忆内容的人。

适用场景

  • ✓你想把一个事实或笔记做成记忆卡片,留待以后复习的时候。
  • ✓你想用间隔重复法复习到期的卡片,并让回答得到评分的时候。
  • ✓你想根据 YouTube 视频字幕进行自我测验,或把卡片导出为 CSV 文件的时候。

技能链接

https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/productivity/memento-flashcards/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/productivity/memento-flashcards/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请把关于法国大革命的五个事实做成记忆卡片,并对今天到期的卡片对我进行测验。”

每周 5 个新技能,1 分钟读完。

工作原理

这项技能把所有卡片保存在一个本地 JSON 文件中。你的 AI 自行编写卡片和测验问题,为你的自由文本回答评分,并根据你的表现设定下一次复习的时间。

技术内容(原始 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:

  1. 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.
  2. 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.
  3. 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:

  1. The question (front of card)
  2. The answer (back of card)
  3. The collection name (optional — default to `"Gener
常见问题

我需要 API 密钥吗?

不需要。技能说明无需任何外部 API 密钥,因为卡片内容由 AI 直接生成。

我的卡片存放在哪里?

根据技能说明,所有卡片数据都保存在你电脑上的一个 JSON 文件中。

AI 会额外给出夸奖或长篇解释吗?

不会。技能要求在复习和测验期间,回复保持简短、中性的纯文本。

详情

作者的原始描述

Spaced-repetition flashcards: create, review, quiz, export.

repo: NousResearch/hermes-agent

热度

GitHub 星标
260k
排名
#540
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能