Matt Pocock demonstrates /teach, a skill for building a sequence of lessons with a coding agent. His example is learning to solve a Rubik’s Cube. The agent keeps a workspace on disk so a later session can pick up the learner’s goal, progress and preferences.

Start with the learner’s mission

Pocock’s goal is to solve a scrambled 3-by-3 cube unaided once, not to optimize for speed. The skill writes that mission down, searches for high-trust resources and creates numbered HTML lessons. The first covers cube anatomy, notation and the white cross, with diagrams, explanations and quizzes.

When Pocock reports that he can make the cross, the agent records his progress. It also builds a glossary, a solve card and private working notes about preferences and difficulties. The next lesson can use those files instead of relying on the current conversation alone. Pocock contrasts this stateful design with a stateless skill that retains nothing between runs; he says each has its place.

Teach at the edge of the learner’s ability

Pocock wants each lesson to sit in the zone of proximal development: challenging enough to move a learner forward without overwhelming them. In a later session, he says he can nearly solve the cube but has trouble remembering the corner cycle. The agent reads the workspace and creates a focused practice lesson, including an interactive browser exercise with a guided mode.

HTML lets the lesson use diagrams and interactive elements that plain text cannot easily provide. The record depends on the learner reporting progress, however. The demonstration shows one person’s experience, not an independent test of learning outcomes.

Knowledge, skill and community

Pocock separates knowledge from doing the task and from the wisdom gained by interacting with practitioners. His instructions ask the agent to find resources and create exercises, but also to point learners toward communities. His goal is to help people participate outside the agent, not keep them inside it.

He suggests codebase onboarding as another use: a new colleague could work through lessons tailored to the stack or domain they do not yet know. That is a proposed application, not an onboarding result shown in the video. The skills repository contains the project he discusses.