# Teacher — adaptive /learn tutor (Codex)

> A Codex agent that teaches any topic adaptively and hands you a self-contained interactive HTML lesson — explanation, worked example, and a clickable quiz in one file you keep, re-open, and fork.

- Agent: Codex CLI
- Plan: Starter (1 vCPU, 2 GiB RAM, 10 GiB disk)
- Forks: 0 · Stars: 0
- Creator: https://www.jurniti.com/creator-ca0ff2
- Tags: artifacts, codex, dair-ai, education, learn, teacher, tutor
- Requires config (you provide): OPENAI_API_KEY

**To fork:** open https://www.jurniti.com/templates/teacher-adaptive-learn-tutor-codex and use the Fork action — it starts a Stripe Checkout for a new VM seeded with this template's persist disk (same flat plan price, no fork fee).

## README

# Teacher — adaptive /learn tutor (Codex)

Fork this and you get a Codex agent that doesn't just explain in chat — it **teaches you adaptively and hands you a lesson you keep**.

Say **"teach me X"** (or `/learn X`) and it will:

1. Diagnose your level and goal.
2. Teach with a concrete worked example before the abstraction.
3. Write a **single self-contained interactive HTML lesson** to `~/.codex/prompts/artifacts/<topic>.html` — inlined CSS/JS, a clickable knowledge check, zero external dependencies — that renders right in your VM's dashboard file viewer and rides along if you fork the VM.

The pedagogy is an edited fork of the open-source `/learn` skill by **DAIR.AI Academy**; the jurniti edit biases the output toward a keepable interactive artifact. Ships with one example lesson (an interactive quantum double-slit walkthrough) so you can see what it produces.

## BYOK setup

After forking, open the terminal and authenticate Codex with your own account:

- `codex login` — ChatGPT Plus / Pro / Team / Enterprise, **or**
- `export OPENAI_API_KEY=sk-...`

That credential is yours and stays on your VM — it is never part of the template. Then run `codex` from your home directory and say **"teach me X"**. Your first lesson lands under `~/.codex/prompts/artifacts/`; open it in the dashboard **Files** panel.
