My AI learning system from this video: How I Use AI to Learn Things.
This is a personal system I built for myself, shared as-is. Built as a pi configuration: the teaching philosophy encoded in a skill, a few small extensions, and agent definitions.
skills/teach/— the philosophy and the processskills/visualize/— adds a correct, minimal diagram to a lesson when an idea is clearer as a pictureextensions/ask-user-question/— the agent asks you questions through a UI popupextensions/quiz/— graded questions with instant feedback (✓/✗, correct answer, explanation)extensions/md-log/— link a markdown file to the sessionextensions/visual-tools/— tools for visualization subagentsagents/—researcher,svg-maker,mermaid-maker: the subagents the system delegates to
This repo is a .pi directory. From your learning project's root:
git clone https://github.com/amosblomqvist/learn .pi
Then open pi in that directory. (Or copy the pieces you want into your existing project config.)
- pi
- A subagent implementation, so the system can spawn the researcher and the visual makers. Recommended: pi-interactive-subagents (tmux only). With it, everything works out of the box. Any other implementation works too, but expect to adapt the agent definitions, e.g.
agents/researcher.mdlistssafe_bashin its tools, which is specific to that extension. ask-user-question— use the copy bundled here. If your setup already has anask-user-questionextension, use this one in its place. Popups from different extensions serialize through a shared UI lock, which only works when it's the same implementation.
You can run the system without subagents. The main session does the teaching. You just lose the researcher (truth verification) and the generated visuals.
The teaching skill is written for one learner (me). Edit the skill to fit how you learn best.