You → Claude / Codex / Cursor
“Distill the key physiology concepts from my cardiology lecture notes into rem
drafts under Medicine::Cardiology.”
# 1. Skill resolves the deck ID and validates the batch with --dry-run
$ rem deck list --output json
$ rem draft add --deck <deck-id> --producer claude-code \
--input-json - --dry-run --output json <<'JSON'
[{
"front": "Why does the AV node delay electrical conduction before impulses reach the ventricles?",
"back": "To allow complete atrial contraction and ventricular filling before ventricular systole begins.",
"tags": ["cardiology", "physiology"],
"rationale": "Core mechanism behind the PR interval and AV block pathology.",
"sources": [{ "locator": "notes/cardiology-week-3.md#av-node" }]
}]
JSON
# 2. Dry-run passes → submits identical payload without --dry-run
{ "version": 1, "command": "draft.add", "data": { "dryRun": false, "drafts": [{ "id": "...", "status": "created" }] } }
1 focused draft pending
Review front-first in Desktop Drafts — source notes stay attached
You → Agent
“Capture the statistical distinction from this methods section into my
Research::Statistics deck. Skip anything already covered.”
# 1. Checks existing cards and pending drafts to avoid duplicates
$ rem card search "standard error" --output json
$ rem draft list --output json
# 2. Dry-runs ≤3 math-ready cards, then submits without --dry-run
$ rem draft add --deck <deck-id> --producer codex \
--input-json - --dry-run --output json <<'JSON'
[{
"front": "As sample size $n$ increases, how do sample standard deviation ($s$) and standard error of the mean ($\\text{SE}$) behave differently?",
"back": "$s$ converges toward the population spread, while $\\text{SE} = s/\\sqrt{n}$ shrinks toward $0$ as the mean estimate becomes more precise.",
"tags": ["statistics", "inference"],
"sources": [{ "locator": "doi:10.1136/bmj.331.7521.903", "label": "BMJ Statistics Notes" }]
}]
JSON
{ "version": 1, "command": "draft.add", "data": { "dryRun": false, "drafts": [{ "id": "...", "status": "created" }] } }
Duplicate-checked + source-cited
Renders native LaTeX math on Desktop & iPhone once accepted
Terminal · Coding agents · Scripts
Capture engineering takeaways, import Anki decks from the command line,
review text cards in your shell, and sync across all your devices.
# Import an Anki .apkg deck (Cloze, Image Occlusion, LaTeX, audio & history)
$ rem import anatomy.apkg --dry-run
$ rem import anatomy.apkg
# Triage pending drafts front-first or study text cards in your terminal
$ rem draft review
$ rem study --deck "Systems::Rust"
# Sync changes immediately to Desktop and iPhone
$ rem sync
Works even when Desktop is closed
Live Cloud Sync keeps Mac, Windows, Linux & iPhone in sync