本文へスキップ
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に貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/productivity/memento-flashcards/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“フランス革命についての5つの事実をフラッシュカードにして、今日期限のものについてクイズを出してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

スキルは、すべてのカードを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キーは必要ですか?

いいえ。AIがカードの内容を直接作るため、外部のAPIキーは必要ないとスキルは述べています。

カードはどこに保存されますか?

スキルによると、すべてのカードのデータは、あなたのパソコン上の1つのJSONファイルにあります。

AIは余計な褒め言葉や長い説明を加えますか?

いいえ。スキルは、復習やクイズの間は、短く中立的なプレーンテキストの返答を求めています。

詳細

作者による元の説明

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

repo: NousResearch/hermes-agent

人気

GitHubのスター
260k
ランキング
#540
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル