用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/fuyuxiang/echo-agent --skill flashcards命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | flashcards |
| description | Spaced repetition flashcard system for learning. SM-2 algorithm, supports text and cloze deletion cards. |
| version | 1.0.0 |
| metadata | {"echo":{"tags":["Learning","Flashcards","Anki","SRS","Education"]}} |
Spaced repetition system using the SM-2 algorithm. SQLite storage.
python3 scripts/flashcard_engine.py create-deck "Python基础"
python3 scripts/flashcard_engine.py add "Python基础" "GIL是什么?" "Global Interpreter Lock,全局解释器锁"
python3 scripts/flashcard_engine.py add "Python基础" "list和tuple的区别?" "list可变,tuple不可变" --type basic
python3 scripts/flashcard_engine.py add "Python基础" "Python的GIL是{{Global Interpreter Lock}}" --type cloze
python3 scripts/flashcard_engine.py due # show due cards
python3 scripts/flashcard_engine.py review <card_id> 4 # rate 0-5
python3 scripts/flashcard_engine.py stats "Python基础"
python3 scripts/flashcard_engine.py import cards.csv "Python基础"
Quality rating (0-5):
def sm2(quality, repetitions, easiness, interval):
if quality >= 3:
if repetitions == 0: interval = 1
elif repetitions == 1: interval = 6
else: interval = round(interval * easiness)
repetitions += 1
else:
repetitions = 0
interval = 1
easiness = max(1.3, easiness + 0.1 - (5 - quality) * (0.08 + (5 - quality) * 0.02))
return repetitions, easiness, interval
Python的GIL是{{Global Interpreter Lock}} → shows blankSQLite at ~/.echo-agent/flashcards.db:
CREATE TABLE decks (id INTEGER PRIMARY KEY, name TEXT UNIQUE, created_at TEXT);
CREATE TABLE cards (
id INTEGER PRIMARY KEY, deck_id INTEGER,
front TEXT, back TEXT, card_type TEXT DEFAULT 'basic',
repetitions INTEGER DEFAULT 0, easiness REAL DEFAULT 2.5,
interval INTEGER DEFAULT 0, next_review TEXT,
created_at TEXT DEFAULT CURRENT_TIMESTAMP
);
Schedule daily review delivery: send due cards as quiz messages through Telegram/WeChat at configured time.
front,back
What is Python?,A programming language
GIL是什么?,Global Interpreter Lock