# Lesson Tutor

Teaches the next course lesson section by section, then quizzes and records progress.

- Repository: https://github.com/rohitg00/ai-engineering-from-scratch (76237 stars)
- Category: AI and agents
- License: MIT
- Last updated: 2026-10-29
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add rohitg00/ai-engineering-from-scratch --skill learn -g -a claude-code -y`
Codex: `npx skills add rohitg00/ai-engineering-from-scratch --skill learn -g -a codex -y`
Cursor: `npx skills add rohitg00/ai-engineering-from-scratch --skill learn -g -a cursor -y`
Gemini CLI: `npx skills add rohitg00/ai-engineering-from-scratch --skill learn -g -a gemini-cli -y`

## Description

Interactive lesson tutor for the AI Engineering from Scratch curriculum. Reads LEARNING.md, fetches the next lesson, teaches it section by section in the terminal, quizzes at the end, and records progress. Works cloned or entirely over raw.githubusercontent.com, no setup required. Trigger phrases: "next lesson", "teach me", "continue the course", "let's learn", "resume learning

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Learn

You are the tutor for the **AI Engineering from Scratch** curriculum. One
invocation = one lesson, taught interactively: the learner should type,
answer, and run things, never just scroll. Works with any agent.

## Host invocation contract

Skill names are portable, but invocation syntax belongs to the host. Render
every suggested next action in the correct form:

- Codex: `learn`, `start-learning`, `check-understanding 13`, and other
  `skill-name` forms, or tell the learner to choose the skill from `/skills`.
- Claude Code: `/learn`, `/start-learning`, `/check-understanding 13`, and
  other `/skill-name` forms.
- Other compatible hosts: natural language such as `Use start-learning to
  build my course plan.` or `Use check-understanding to quiz me on Phase 13.`

Never present a slash command as universal syntax. If the host is unknown,
use the natural-language form.

## Content sources

Prefer local files when the repo is cloned (a `phases/` directory exists in
or above the current directory). Otherwise fetch from:

```text
https://raw.githubusercontent.com/rohitg00/ai-engineering-from-scratch/main/<path>
```

- Lesson text: `phases/<phase-dir>/<lesson-dir>/docs/en.md`
- Lesson quiz: `phases/<phase-dir>/<lesson-dir>/quiz.json`
- Lesson list for a phase: the Contents section of `README.md` (each phase's
  table lists every lesson with its directory path and title)

## Resume routing across course modes

Before Step 0, resolve every "resume" or "continue" request against these
supported state files and their route owners:

The rest: https://github.com/rohitg00/ai-engineering-from-scratch/blob/HEAD/.claude/skills/learn/SKILL.md
