360 Secure SkillHub
360 安全技能中心

English Learn Cards

用 scripts/words.py 命令管理 SQLite 中的英语单词卡片,支持类 SM-2 的 0–3 评分复习与到期调度,由聊天平台 agent prompt 驱动出题与判分,数据库默认位于 ~/clawd/memory。

分类:知识
racymind
racymind
热度 55.33
最近更新 2026-05-11 15:53:52

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add racymind/english-learn-cards
兼容性
通用兼容
联网要求
需要联网
数据出网
可选出网
Metadata
name
english-learn-cards
description
Flashcard-based English vocabulary learning with SQLite + SRS. Works with any chat platform when paired with an OpenClaw agent prompt.

English Learn Cards (SQLite + SRS)

A portable vocabulary flashcard workflow for OpenClaw.

  • Stores cards in SQLite
  • Supports SRS reviews (0–3 grading, SM-2–like)
  • Uses a deterministic helper CLI (scripts/words.py) to avoid flaky formatting

Platform notes

This skill is platform-agnostic (Slack/Discord/WhatsApp/Telegram/etc.). Your channel-specific agent prompt should decide:

  • message formatting (bullets/headers)
  • quiz flow UX
  • how user answers are parsed

A ready-to-copy prompt template lives in:

  • skill/prompt-examples/AGENT_PROMPT_TEMPLATE.md

Storage

  • SQLite DB path is controlled via env var:
    • ENGLISH_LEARN_CARDS_DB (default: ~/clawd/memory/english-learn-cards.db)

Helper CLI (required)

Use the helper for all DB operations:

python skill/scripts/words.py init
python skill/scripts/words.py migrate
python skill/scripts/words.py add "implement" ...
python skill/scripts/words.py render "implement" --fill-audio
python skill/scripts/words.py due
python skill/scripts/words.py grade <card_id> <0-3>

Safety / publishing

Do not commit:

  • your SQLite DB
  • secrets / tokens
  • one-off migration/enrichment scripts

Keep local-only scripts outside the repo (see .gitignore).