LearnOS docs
MCP server

Prompts

The learnos-ask and learnos-quiz-me slash-command prompts.

learnos-ask

A prompt template that primes the client's model to answer a question retrieval-first against the LearnOS knowledge base. Unlike the CLI ask command, the MCP server does not generate the answer itself — it hands the client a primed instruction and lets the client's model drive, calling search_lessons (and optionally list_courses) along the way.

ArgumentRequiredDescription
questionyesThe learner's question.

The expanded prompt instructs the model to: gather relevant sections via search_lessons, answer concisely and accurately, cite the lesson titles it drew from, and say so plainly if nothing relevant is found.

This split mirrors the design split between the surfaces: the CLI owns generation (it has ask), while the MCP server owns retrieval and defers generation to the client.

learnos-quiz-me

A prompt template that primes the client's model to quiz you. It tells the model to resolve the lesson or course, call generate_quiz, ask the questions (one by one or all at once, without revealing answers), send your answers to grade_quiz (using one stable client_request_id for generate_quiz and a separate one per grade_quiz submission, each reused on retries), and then offer review links for the sections you missed.

ArgumentRequiredDescription
topicnoLesson or course id or title to quiz on. If omitted, the model asks.

On this page

Command Palette

Search for a command to run...