Skip to main content

Commands

Every command, option and key the coach CLI understands. Run any command as:

npm run coach -- <command>

Every change to your vault is shown first. Nothing is written, moved or recorded until you confirm.

Commands​

CommandWhat it does
dueWhat's due for review today, and what has never been sparred. The default when you type no command.
listEvery note in Resources with how well you know it: unsparred, attempted, Tier 1 passed, Tier 2 passed.
read [book] [chapter]Read a book chapter page by page. After each page, write down what resonated in your own words; at the end, sum the chapter up in 1 to 3 sentences. No model is used. See Read.
synthesize [book]Turn your marks and reading notes on a book into concept notes. It reads the same whether you read on paper and marked in Obsidian or read with coach read: a quote you kept in a reading note counts like a highlight. Without a book, you pick one from a list.
climb [note …]The seven learning steps you've done on each concept note, and the next one. Name notes by title, path or coach id, or leave them out to see every concept. It also says when a spar round on a concept waits for coach judge. With --rebuild, sets every note's climb summary back to what your notes and sessions show. See The climb.
group [book]Sort a book's concept notes into 2 to 7 groups you name yourself, and say which group builds on which. The coach may ask a few questions about your structure, then writes it as the book's structure note.
generate <note>Guess before you look. Explain a concept from its title alone, or what a book chapter will say before you read it. Then see the answer, mark each point got it, wrong or missed, and correct what you got wrong. Not graded. See Generate.
elaborate <note>Answer three questions about a concept note in your own words: why it's built that way, what it's like, and where you'd use it. Link other notes as [[Title]]. The answers are added to the note under ## My elaborations. The note's style words the question about what it's like. See Elaborate.
teach <note>Teach a concept to a student who knows only its title and may believe something wrong. It asks what your terms mean and for an example, explains back what it understood, and you correct it. Opens after a passed review on a later day, and closes again if the judge fails your latest round. Type /done when you have taught it. See Teach.
spar [note …]Tier 1, offline. Spar the notes that are due, or the notes you name (by path or coach id).
judge [session …]Tier 2, online. Judge the sparring sessions waiting for it.
study <note>Work through the gaps from a note's latest failed session.
capture <title>Write a quick note into 0.Inbox. End it with a line holding a single ..
file <note> <folder>Move a note into a PARA folder, e.g. file "0.Inbox/Idea.md" 3.Resources/TypeScript. Without arguments, lists what's waiting to be filed.
archive <project>Move a finished project into 4.Archive. It first asks which concept and sparred notes to keep in Resources.
initSet up the five PARA folders in your vault.
viewOpen the vault view in your browser at http://127.0.0.1:4747/: the graph, where you can also read and mark chapters, /plans for your plans and /climb for the climb of each idea.

Options​

OptionMeaning
--style <style>With spar, study or elaborate: coach in this style for this run. See Coaching styles.
--free-recallWith spar: open each concept note by writing down everything you remember about it, with the note closed. The coach then asks only about what you missed. See Free recall.
--rebuildWith climb: set each concept note's climb summary back to what your notes and sessions show, after a preview.
--config <file>Use a different configuration file.
--today YYYY-MM-DDPretend it's another day, e.g. to see what will be due next week.
--help, -hShow the command list.

While you answer​

TypeTo
an empty linesend your answer (answers can span several lines)
/skipskip this note, question or gap
/quitstop; nothing is recorded unless you confirm it
/hint or "teach me"in study: get a clue and the author's words, without losing a try

Exit codes​

CodeMeaning
0success
1an error the coach explained
2a usage error: unknown command or bad option