lesson-screen
Ce qu’il fait
Cette compétence ouvre une page de leçon locale dans votre navigateur pendant qu'un tuteur enseigne dans le terminal. Elle s'adresse aux apprenants qui comprennent mieux en voyant et en cliquant qu'en lisant seulement.
Quand l’utiliser
- ✓Quand un tuteur enseigne une leçon et que vous acceptez l'écran visuel.
- ✓Quand vous demandez à voir un concept sous forme d'image, de structure ou de modèle 3D.
- ✓Quand un concept implique un flux ou un nombre qui change, et qu'une image aiderait.
Lien du skill
https://github.com/rohitg00/ai-engineering-from-scratch/blob/main/.claude/skills/lesson-screen/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Montre-moi la leçon dans une page de navigateur avec une image du passage d'une requête dans le système.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
La compétence lance une petite page web locale et affiche l'écran le plus récent dans votre navigateur. Vos clics sont enregistrés pour que le tuteur puisse les lire et répondre dans le terminal.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis GitHub.
Lesson screen
The lesson screen is a small local web server and one browser tab. The tutor keeps teaching in the terminal. At each step it writes one screen into a folder, and the browser shows the newest screen. The learner can press options and click parts. Those clicks go to an event log that the tutor reads before its next reply.
Use this skill with Claude, Cursor, Codex, OpenClaw, Hermes, or any agent that reads SKILL.md. It needs Node.js 20 or later and a browser on the same machine. It installs no packages.
When to use
- A course tutor teaches a lesson, and the learner accepts the screen. The tutors are learn, learn-mcp, learn-agent-skills, learn-reverse-engineering, claude-certification, and mcpa-certification.
- The learner asks to see a lesson, a concept, or a system: "show me", "draw it", "in 3D".
- A concept has a structure, a flow, or a number that changes. Seeing it helps more than reading it.
When not to use
- The learner declined the screen. Do not offer it again this session.
- The learner cannot reach a browser page from the host: a chat app, or a remote machine without port forwarding. Give the lesson page on aiengineeringfromscratch.com.
references/hosts.mdlists the cases. - The step is words only: a clarifying question, a tradeoff, or a definition. Keep it in the terminal and show the waiting screen.
- You need a permanent figure for a lesson file. Use the figure skills directly. This skill makes screens for one learner.
Paths
SKILL_ROOT is the folder that holds this SKILL.md. In this file, CLI means node "$SKILL_ROOT/scripts/lesson-screen.mjs".
Run every command from the learner's working folder. Screens go to .lesson-screen/screens/, and builds go to .lesson-screen/builds/. If the folder is a git repository, ask the learner to add .lesson-screen/ to .gitignore.
Start
- Run
CLI start --open. It prints one JSON line withurl,screens,state, andnext. - Give the learner the full
urlwith its query string. The key in it protects the page. - Run
CLI startagain at any time. It reuses a running server and keeps the same port. - If the start fails, say so in one line. Give the lesson page link and keep teaching.
Some hosts end background processes when a command returns. Those hosts need --foreground and their own background shell option. See references/hosts.md.
The teaching loop
- Before each reply, run
CLI events. It prints the clicks since the last call. Treat them as hints. - Write the next screen to
<screens>/<next>-<slug>.html. TakenextfromstartorCLI status. - Never reuse a file name. The browser shows the newest file.
- Tell the learner in one line what the screen shows. Ask for the answer in the terminal.
- When the next step is words only, write a waiting screen.
Write screens with your file tool. Do not print them to the terminal with cat or a heredoc.
What to show at each step
| Tutor step | Screen | Source of truth |
|---|---|---|
| Frame the problem | a step rail and a card with the lesson question | docs/en.md |
| Core concept | the lesson's registered figure, set to the example you discuss | the figure fences in docs/en.md |
| Build it | a code trace: the chunk, the active line, the variables | a real run of the lesson code |
| Use it | the library call beside the scratch call, with the same output | the lesson code and its output |
| See it | the figure that you built for this lesson | the figure skills, the lesson text, and the real run |
| Prediction or quiz | the question and its options as buttons | quiz.json, without the answer |
references/screens.md lists every class, with a full example of each screen.
Registered figures first
Most lessons already have interactive figures. Look for them before you build anything new.
- Search the lesson's
docs/en.mdfor fenced blocks with the languagefigure. - Put the first line of the fence in a host element:
<div class="lesson-figure" data-figure="kv-cache-sizer"></div>. - Keep the JSON config of the fence if it has one, as in
data-figure='iso-machine {"machine":"kv-cache"}'. - Change a config value only with a key that the fence already uses.
The screen loads the course figure runtime and mounts the figure. The figure looks and works as it does on the lesson page.
Build a figure on the fly
The best figure for a lesson is one made for that lesson. Build it while you teach, so that it is ready at the See it st
Questions fréquentes
De quoi ai-je besoin ?
Il vous faut Node.js 20 ou une version plus récente, et un navigateur sur le même ordinateur.
Installe-t-elle des paquets ?
Non. La compétence n'installe aucun paquet.
Quand faut-il l'éviter ?
Évitez-la si vous ne voulez pas de page de navigateur, ou lorsque l'étape n'est qu'un texte, comme une définition.
Détails
Description originale de l’auteur
Opens a lesson screen in the browser next to the terminal while a course tutor teaches. It shows the lesson's registered figures, code traces with real values, and clickable predictions. It also builds a figure for the lesson on the fly with the course figure skills and any figure skill the host has installed: a blueprint, a mechanism, an isometric machine, or a 3D model. Clicks return to the tutor as events. Trigger phrases: "open the lesson screen", "show me this visually", "show this in 3D", "draw the architecture", "visualize this lesson", "build a figure for this lesson", "lesson screen".
Popularité
- Étoiles GitHub
- 76k
- Position au classement
- #2623
- Licence
- MIT
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
blueprint-figure
76kAide votre agent à dessiner des schémas SVG statiques et clairs pour les cours, les README et les manuels, en montrant comment les vraies parties d'un système se connectent.
build-project
76kAgit comme tuteur de projet qui vous guide étape par étape dans un projet d'IA pratique, avec des indices et un correcteur, mais sans donner les réponses complètes.
check-understanding
76kVous pose un quiz sur une phase terminée du cours AI Engineering from Scratch, pour vérifier ce que vous avez appris avant de passer à la suivante.
claude-certification
76kAgit comme tuteur pas à pas pour les parcours de certification Claude du cours AI Engineering from Scratch, avec leçons, travaux pratiques et examens blancs.
Skills similaires
blucli
394kAide votre agent à trouver, lancer, mettre en pause, regrouper et régler le volume des enceintes Bluesound et NAD grâce à la commande blu.
camsnap
394kAide votre agent à prendre des instantanés, de courts extraits vidéo ou des événements de mouvement depuis les caméras réseau et webcams locales que vous avez configurées.
eightctl
394kAide votre agent à consulter et contrôler un boîtier Eight Sleep, y compris sa température, ses alarmes et ses programmes de sommeil.