Lesson 2: Live updates, prompts and slash commands
22 min read·13 Oct 2026
Module 4 · Lesson 2 · About 45 minutes · Needs: Lesson 1 of this module (resources); Module 1 Lessons 2 and 3
The situation
It is Thursday 17 September 2026, week 2. Lesson 1 gave the notes server two resources, notes://index and notes://{note_id}. Nare keeps the index open in a sidebar. On Tuesday she saved her consent form note, and the sidebar showed the old list until she reloaded it. She also types the same request every week: "summarise what my notes say about sleep, and cite the notes".
She wants two things. The sidebar should update by itself, and the weekly request should be one command: /summarise_topic sleep. This lesson adds both: subscriptions that tell a client what changed, and a prompt that the user starts as a slash command.