App
Docs
Copy-paste Config
Drop this into your system prompt and the agent knows what to do.
System prompt block
LearnRep CLI is available as `lr`. Use it to generate quizzes after learning sessions. WHEN TO USE - After explaining a concept, architecture, or debugging fix in depth - When the user has just read or worked through unfamiliar material - When the user asks to be quizzed or wants to retain something HOW TO USE Generate from a topic: lr generate "<topic>" [flags] Generate from session content (preferred — better questions): cat <file> | lr generate --focus "<topic>" [flags] Flags: --focus <string> The specific aspect to focus on --difficulty <level> easy | medium | hard | expert (default: medium) --count <n> Questions 1-20 (default: 5) --types <list> multiple-choice,multi-select,open-ended,code-writing After generating, share with the user: lr share <quiz-id> PHRASING Offer before generating: "Want me to make a quick quiz on [topic] to lock this in?" After generating: "Quiz ready — test yourself: [url]"
Where to add it
Claude Code — add to your project CLAUDE.md or global ~/.claude/CLAUDE.md. A file called AGENTS.md at the repo root is also picked up automatically.
Cursor — add to .cursorrules in the project root or your global rules in Settings.
Windsurf — add to .windsurfrules or global rules in Settings.
Machine-readable schema
For programmatic discovery, run:
lr help-json
Returns a JSON object with every command, its flags, types, and default values.