Turn your AI into a tutor that remembers you
Matt Pocock's free /teach skill gives you short lessons and quizzes, and picks up where you left off next time.
Jun 2026 · 4 min read
By Matt Pocock (@mattpocockuk) on YouTube
The short version
- A free “skill” that turns Claude Code or OpenCode into a personal tutor.
- It checks what you already know, then teaches in short lessons with quizzes.
- A workspace folder remembers your progress, so each lesson builds on the last.
- It gathers sources and backs up what it teaches, instead of relying on the AI's memory.
Who it's for: Anyone who wants to learn a new skill a little at a time, and is happy to try a coding tool.
Why it's genius
Matt Pocock is best known for teaching TypeScript, so it makes sense that he'd build an AI that teaches. His /teach skill is a set of instructions you add to a coding agent. You type /teach, say what you want to learn, and it takes it from there.
Most of us use AI to get an answer and move on. This uses AI to build a skill. It starts by finding out what you already know, then gives you short lessons as simple pages with quizzes, plus reference sheets to keep.
The genius part is memory. The skill keeps a folder of what you've covered, so the next session picks up where the last one stopped. It also gathers trusted sources first and cites them, so you're not just learning whatever the AI half-remembers. Matt used it to learn to solve a Rubik's Cube.
Try it
Pick one thing you've been meaning to learn, for work or for fun.
Install the skill in Claude Code or OpenCode (the command is in the video).
Type /teach and tell it what you want to learn and why.
Do one 10-minute lesson a day for a week, and take every quiz.
Teach me this one small step at a time. Before each new idea, ask me a question to check I understood the last one. Keep a short notes file of what I've learned.
Our take
Answers make you faster. Lessons make you better.
There's a real risk with AI that you get things done without ever understanding them. That's fine for a one-off, but it catches up with you. /teach flips the habit: instead of the AI doing the thinking, it makes you do it, then checks you got it.
Quizzes sound old-fashioned, but testing yourself is one of the best-proven ways to remember things. Building that into an AI tutor is a small idea with a big effect.
Memory is the missing piece in most AI
Every new chat starts from zero. You explain yourself again, and the AI forgets what worked last time. /teach gets round this the simple way: it writes your progress to files in a folder and reads them back next time. No magic, just notes.
That's a pattern worth stealing for anything you do over weeks, not just learning. Ask the AI to keep a running notes file, and paste it back at the start of the next chat.
The catch: you need a coding tool
Skills run inside agents like Claude Code and OpenCode, which work in a terminal or desktop app. If you've never used one, there's a bit of setup. Matt walks through it in the video, and it's a gentle first project for learning those tools in the first place.
The other catch is you. A tutor that remembers you only helps if you come back. Ten minutes a day beats a two-hour binge you never repeat.
Where it shines
Learning a tool or topic for work, a little at a time, without signing up for a course.
Where it breaks
It needs a coding tool like Claude Code to run, which puts off people who don't code. And it only works if you actually come back.
Where your genie helps
“Learn X” makes a great wish. Ugenie can nudge you when you've skipped a few days.
Get Ugenie →Tools mentioned
Claude Code
Anthropic's coding agent. You give it a task in plain English and it reads, writes and runs code on your computer.
- Cost
- Comes with paid Claude plans, or pay as you go through the API.
- Our verdict
- The strongest coding agent we've used, and we build Ugenie with it. It isn't just for developers any more, but you do need to be comfortable with a terminal or the desktop app.
OpenCode
An open-source coding agent for the terminal that works with many different AI models.
- Cost
- Free and open source. You bring your own AI model or subscription.
- Our verdict
- A good choice if you don't want to be tied to one AI company. Slightly more setup than Claude Code.
Agent skills
Folders of instructions an AI agent loads when it needs them. /teach is one; you add it with a single command.
- Cost
- Most are free to share and install.
- Our verdict
- One of the most useful ideas of the year. A skill turns a one-off clever prompt into something you can reuse and share.
Prices are rough and change often. Check before you buy.
Questions people ask
What is the /teach skill?
A free skill by Matt Pocock that turns a coding agent such as Claude Code or OpenCode into a tutor. It teaches in short lessons with quizzes and remembers your progress between sessions.
Do I need to know how to code?
No, but you need to install and run a coding agent, which takes a little setup. You can learn anything with it, not just coding.
Can I do this in ChatGPT or Claude chat instead?
Roughly. Ask the AI to teach in small steps, quiz you, and keep a notes file you paste back next time. You lose the automatic memory but keep the method.
All credit to Matt Pocock. We share things we think are genius and add our own take. Watch or read the original for the full thing.