João Pedro Matias

LEARN SKILL

Milestones unlock only after real work.

Open-source agent skill for Claude Code that teaches any topic from first principles, generating visual courses with narrated motion scenes, quizzes, spaced review and evidence-gated milestones.

ORGANIZATION
Independent · Open Source (MIT) ↗
MY ROLE
Author & maintainer
STATUS
Open source on GitHub. Used for every course on this site.
YEAR
2026
Field
AI ENGINEERING · AGENTIC SYSTEMS · OPEN SOURCE
Fig. 01A motion scene from a course: one API call, end to end.

(01) Context

learn is an agent skill that turns Claude Code into a tutor. Ask how something works and it explains the core idea in the terminal with an ASCII diagram and a small annotated example. Run /learn <topic> and it turns the current folder into a course that spans several sessions.

Each course has a mission, short self-contained HTML lessons with citations, printable cheat sheets, a dashboard with mastery per lesson, and learning records the agent uses to choose what to teach next.

The design is grounded in learning research: retrieval practice, spacing and interleaving, Mayer's multimedia principles, animation only when the motion is the concept, and light gamification where milestones unlock only after the agent reviews real work.

(02) Organization & my role

Author and maintainer. It started from Matt Pocock's open-source teach skill (credited in the MIT licence); I designed the teaching method, the course format and the dependency-free starter kit, and later the helper skills it is published with. It is also the core LearnCraft grew from.

FOCUS

Agent skills, learning design, evidence-gated progress

STACK

  • Claude Code
  • Agent Skills
  • JavaScript
  • HTML
  • CSS

(03) Decisions

  1. 01

    Narrated motion scenes

    A scrubbable, chaptered scene player in explainer-video style: terminals with syntax highlighting, layered diagrams and node flows.

  2. 02

    Practice that sticks

    Immediate-feedback quizzes, faded worked examples and spaced-review reminders instead of login streaks.

  3. 03

    Evidence-gated milestones

    Milestones only unlock after the agent reviews something you actually built.

  4. 04

    Themeable, zero dependencies

    Plain HTML, CSS and JS that opens from disk; courses can match your own site through a swappable theme file.

(04) Where it is now

Open source on GitHub under the MIT licence, and the tool behind every course published on this site.

(05) SCREENS & RECORDINGS

Course dashboard with mission and milestones
Fig. 02Course dashboard: mission, milestones, XP and reviews due.
A lesson page
Fig. 03Each lesson opens with a concrete win for the session.
All 5 screens and recordings
Quiz with immediate feedback
Fig. 04Retrieval practice with immediate feedback.
Printable cheat sheet
Fig. 05Printable cheat sheet