sg9215

Learnbelt — AI skill for Claude Code

AI community

A spaced-repetition memory engine that lives inside your AI agent: SM-2 scheduling, source-traced flashcards, validated JSON decks and Anki-compatible export.

How to install Learnbelt

This entry records only its repository, not the path inside it, so there is no exact command to give. Open sg9215/learnbelt and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Learnbelt does

A spaced-repetition memory engine that lives inside your AI agent: SM-2 scheduling, source-traced flashcards, validated JSON decks and Anki-compatible export. Zero dependencies, fully offline, 194 tests.

Alternatives in AI

  • Guizang Ppt Skill — AI-agent Skill for generating polished HTML slide decks: editorial magazine and Swiss layouts, image prompts 24.9k ★
  • Claude Design Skill — A portable Claude Skill that turns Claude into an expert designer for HTML artifacts — decks, landing pages, p 184 ★
  • Design Buddy — Design Buddy: visual production Agent Skills for brand design systems, GPT-image-2 images, diagrams, infograph 146 ★

README

LearnBelt

[![CI](https://github.com/sg9215/learnbelt/actions/workflows/ci.yml/badge.svg)](https://github.com/sg9215/learnbelt/actions/workflows/ci.yml) ![Python](https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue) ![Dependencies](https://img.shields.io/badge/dependencies-0-success) ![Network](https://img.shields.io/badge/network-none-success) [![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)

**A spaced-repetition memory engine that lives inside your AI agent.** Your agent forgets every conversation the moment it ends. LearnBelt gives it durable learning memory instead: decks of source-traced flashcards stored as validated JSON, scheduled by the classic SuperMemo SM-2 algorithm, maintained by the agent, and reviewable by you in any terminal - or exportable straight into Anki.

$ python3 learnbelt.py due deck.json
due 2026-11-30 in 'How spaced repetition works': 3 card(s)
  c0004     new  new       What is the spacing effect?
  c0005    -13d  learning  What did Cepeda et al. (2006) meta-analyze?
  c0006     new  new       When was SM-2 introduced, and in which system?

The problem

  • Agents help you learn things every day - and remember none of it tomorrow. Every session starts from zero.
  • People who try to fix this with flashcards hit the same wall: the app lives somewhere else, the material lives in the chat, and nobody copies facts between them.
  • The spaced-repetition "skills" floating around for agents are guidance documents - good advice about how to make cards, with no engine, no persistence, and no scheduling.
  • Real schedulers (Anki, SuperMemo) are applications, not agent tools: your agent cannot drive them.

LearnBelt is the missing piece: a real scheduling engine that is small enough to drop into an agent's toolkit, strict enough to trust with your data, and honest enough to show its work.

What makes it different

  • An engine, not advice. A working SM-2 sche