← 返回 Skills 市场
cheanus

The Spaced Repetition Systems for Agents

作者 cheanus · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ✓ 安全检测通过
147
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install srsa
功能描述
Use when running Spaced Repetition Systems for AI Agents (SRSA) daily review sessions, grading cards with again/hard/good/easy, and proposing explicit memory...
使用说明 (SKILL.md)

SRSA Review Skill

Purpose

Use SRSA's command-line workflow to drive efficient agent (you) reviews and turn each review result into actionable memory correction tasks.

Concept Boundary

  • SRSA cards: managed only through card and review commands in this skill.
  • Agent memory system: must be updated explicitly by the agent (add/delete/update), based on reflection.

What cards need to be generated?

  • Actions that have been corrected by the user
  • User preferences
  • Decision you have hesitated to make
  • Others that the user explicitly wants you to remember

Command Cheat Sheet

# Print total cards, today's review progress, future due cards and average retrievability
uv run python scripts/main.py status
# Create a new card
uv run python scripts/main.py card new -q "question" -a "answer"
# Override an existing card
uv run python scripts/main.py card override [CARD_ID] -q "question" -a "answer"
# Remove a card
uv run python scripts/main.py card rm [CARD_ID]
# Get a question and its CARD_ID
uv run python scripts/main.py review get-question
# Get the answer and CARD_ID of the current question
uv run python scripts/main.py review get-answer
# Rate the review result, then print historical accuracy, today's review progress and retrievability change
uv run python scripts/main.py review rate [again|hard|good|easy]

Review Loop

Follow this sequence strictly. Do not skip steps:

  1. review get-question
  2. The agent answers from its own memory first (do not view the answer yet).
  3. review get-answer
  4. Compare with the answer, then self-grade with again/hard/good/easy.
  5. review rate [RATING]
  6. Use the output's historical correctness and remaining progress to apply the reflection template.
  7. Continue to the next card until there are no due cards or the user asks to stop.

State Constraints

  • If did not run rate, running get-question again will repeat the previous card.
  • Running get-answer before get-question returns an error.
  • Running rate before get-answer returns an error.

Rating Rules

  • again: You could not recall it, or the core facts in your answer were wrong.
  • hard: You recalled it, but with clear difficulty and noticeable delay.
  • good: You answered correctly with only a brief pause.
  • easy: You answered quickly and accurately with no obvious hesitation.

Reflection Template

After each rating, unless the self-rating is easy, output reflection using this template:

  1. Conclusion for this card
  • Was the answer correct?
  • What were the main errors or hesitation points?
  1. Update your memory system (explicit action required)
  • Add: If missing key information caused a wrong or slow answer.
  • Delete: If interfering memory caused misjudgment.
  • Update: If existing memory is inaccurate and needs correction.
  1. Challenge the card (optional)
  • Is the prompt underspecified or ambiguous?
  • Does the reference answer need revision?
  1. Next step
  • Ask for the next card, or state that the review is finished.

Output Discipline

  • In the get-question stage, focus only on the prompt.
  • In the get-answer stage, focus only on the reference answer.
  • In the rate stage, do scoring and reflection only; do not rewrite the full question.
  • In long review sessions, keep reflections short to control context length.
  • When updating memory, you need to explicitly state the action (add/delete/update) on your own memory system. SRSA tracks and schedules cards only. It does not automatically update it.

End Conditions

End the review when any one condition is met:

  • The command output says "No due cards".
  • The user explicitly asks to pause or stop.

Recovery Rules

  • If a command returns an error, fix the call order first, then continue.
  • If a card is clearly problematic (ambiguous prompt or wrong answer), use the following when needed:
    • card override [CARD_ID] ... to revise content
    • card rm [CARD_ID] to remove an invalid card
安全使用建议
This skill appears coherent and focused on running a local spaced-repetition CLI. Before installing, consider the following: (1) running the skill executes bundled Python code — only install/run if you trust the source or run it in a sandbox; (2) the code depends on Python packages ('fsrs' and 'yaml'/'PyYAML') that are not declared; ensure your environment provides them or the CLI will fail; (3) the skill writes a local SQLite database (default: cache/fsrs.sqlite) and reads config.yaml in the skill's directory — confirm you are comfortable with that local storage location; (4) SKILL.md uses the command prefix 'uv run' which may require a specific environment wrapper — verify how to invoke the CLI in your environment. If you need higher assurance, review the bundled source (scripts/*.py) and the upstream 'fsrs' package before enabling autonomous invocation.
能力评估
Purpose & Capability
Name, description, CLI commands in SKILL.md and the bundled Python code (fsrs_service, storage, main) all implement a local spaced-repetition review workflow. Required capabilities (local DB, review commands) match the stated purpose.
Instruction Scope
SKILL.md limits operations to the SRSA CLI flow and explicitly requires the agent to perform memory updates itself. It instructs running bundled Python scripts (via 'uv run python scripts/main.py'). These instructions are scoped to the skill's purpose, but they require executing the included code locally — the agent will run bundled code and write/read a local SQLite DB. The SKILL.md and code do not attempt to read arbitrary host files or exfiltrate data.
Install Mechanism
No install spec is provided (instruction-only), but the package includes runnable Python source. There are no remote downloads or installers. This is low risk functionally, but the skill depends on Python packages (e.g., 'fsrs', 'yaml') that are not declared — attempting to run the CLI may fail if those dependencies are missing.
Credentials
The skill requests no environment variables, no credentials, and accesses only local files (config.yaml and a SQLite DB). There are no signs of unexpected credential access or unrelated environment reads.
Persistence & Privilege
always is false; the skill does not request permanent platform-wide privileges and only stores its own database and config files (by default under the skill directory). It does not modify other skills or global agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install srsa
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /srsa 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
- Added guidance on what types of cards should be generated, including actions corrected by the user, user preferences, and hesitated decisions. - Clarified that new cards can also cover anything the user explicitly wants remembered. - No changes to workflow, commands, or reflection process.
v1.0.0
srsa-review 1.0.0 initial release: - Provides step-by-step workflow for daily Spaced Repetition System (SRSA) review sessions. - Defines strict review loop sequence and handling of card commands (`get-question`, `get-answer`, `rate`, etc.). - Introduces a reflection template with explicit memory correction actions after each review. - Outlines rating rules, state constraints, output discipline, and error recovery procedures. - Includes command cheat sheet and clear end/recovery conditions for review sessions.
元数据
Slug srsa
版本 1.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

The Spaced Repetition Systems for Agents 是什么?

Use when running Spaced Repetition Systems for AI Agents (SRSA) daily review sessions, grading cards with again/hard/good/easy, and proposing explicit memory... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 147 次。

如何安装 The Spaced Repetition Systems for Agents?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install srsa」即可一键安装,无需额外配置。

The Spaced Repetition Systems for Agents 是免费的吗?

是的,The Spaced Repetition Systems for Agents 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

The Spaced Repetition Systems for Agents 支持哪些平台?

The Spaced Repetition Systems for Agents 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 The Spaced Repetition Systems for Agents?

由 cheanus(@cheanus)开发并维护,当前版本 v1.1.0。

💬 留言讨论