Skip to content

kpeez/uni

unversioned · 31dd4a60580bMIT

Interactive lessons, quizzes, reviews, and prerequisite-gated courses

Uni

Uni bundles eight conversational tutoring skills, a teaching workspace skill, and a tech-tree skill that gates courses on prerequisites. It helps the learner reconstruct an idea, criticize an argument, explain a mechanism, practice retrieval and transfer through questions, active recall, and concept exercises. These are part of normal lessons. The tutor asks one main question at a time and waits for the learner's actual response.

Use ordinary controls such as “hint,” “smaller step,” “show an example,” “just explain,” “quiz me,” “harder,” “skip,” and “stop.” Instruction follows when prerequisites are missing or progress stalls. The learning loop is a repertoire, not a required sequence. Ordinary coding requests do not enter tutoring mode.

Install

Each plugin installs alone. Pick one way, then start a new session.

Claude Code plugin:

/plugin marketplace add kpeez/agent-toolbox
/plugin install uni@agent-toolbox

Codex CLI plugin:

codex plugin marketplace add kpeez/agent-toolbox
codex plugin add uni@agent-toolbox

Antigravity CLI (agy):

agy plugin install https://github.com/kpeez/agent-toolbox/tree/main/plugins/uni

Skills only, with npx skills, for Claude Code, Codex, and other agents that read Agent Skills:

npx skills@latest add https://github.com/kpeez/agent-toolbox/tree/main/plugins/uni

This installs the uni skills and no other plugin. Install all of them, because they read each other by path. Add -g to install for your user instead of the current project.

To update:

  • Claude Code: claude plugin marketplace update agent-toolbox, then claude plugin update uni@agent-toolbox.
  • Codex: codex plugin marketplace upgrade agent-toolbox, then codex plugin add uni@agent-toolbox again.
  • agy: run the agy plugin install command again. It replaces the old copy.
  • npx skills: npx skills update.

Codex invocation uses $learn; Claude Code uses /uni:learn.

Each install path brings every uni skill. Shared references stay inside the plugin; no separate installer or runtime is needed.

Go deeper on each new task

The Claude Code plugin adds a SessionStart hook. It tells the agent to run go-deeper on each new task: expert moves, raw sources, real methods, and an outside check, then the rewritten task. swe, lab, and uni each carry an identical copy, so each plugin works alone.

agy runs no hooks, but it loads the same rule from rules/AGENTS.md. Codex plugins and the skills-only install have no hooks. Add this line to AGENTS.md or CLAUDE.md to get the same behavior:

uni: Before you act on a new task of any kind, run `uni:go-deeper` on it, unless it is chat, a quick factual answer, a fully specified mechanical edit, or go-deeper already ran for it.

Invoke the tutor

In Codex, mention the skill with $; use the selector if needed. These prompts work with the installed plugin:

$learn Help me discover why gradient descent is useful. I know derivatives and have 25 minutes.
$learn-feynman Test my understanding of Bayesian updating. Ask me to explain first.
$learn-review Drill the concepts from our last lesson for ten minutes, one question at a time.
$uni:teach Build a learning workspace with short HTML lessons about linear algebra.
$tech-tree Build a gated course on linear equations. Place me first.

Each command shows its arguments: <x> is required and [x] is optional. Claude Code shows the same hint when you type the command. In Codex, type $ in place of /.

CommandUse
/uni:learn <topic>Establish a small goal, check relevant knowledge, route and resume
/uni:learn-genetic <concept>Reconstruct the problem that makes an idea useful
/uni:learn-refute <claim or argument>Test a conjecture or argument and repair the failing part
/uni:learn-feynman <concept>Diagnose and revise the learner's own explanation
/uni:learn-worked-example <procedure or concept>Study a small example, complete missing steps, then work independently
/uni:learn-quiz <topic or source>Ask and grade one source-grounded retrieval question at a time
/uni:learn-review [concepts]Revisit selected or recent concepts through chat drills
/uni:learn-transfer <concept or method>Select and apply a method in a new situation
/uni:go-deeper <task>A task made deeper, not bigger: expert moves, raw sources, real methods, and an outside check. learn uses it to plan a new lesson
/uni:tech-tree <course>Build a prerequisite graph, place the learner, and teach only topics whose prerequisites are mastered or placed
/uni:teach [topic]Author a persistent learning workspace with HTML lessons and reusable references; invoke explicitly

Start with the umbrella skill unless a particular exercise is already clear. Lessons mix explanation with purposeful questions and exercises: predict an outcome, explain a mechanism from memory, complete a missing step, test an argument, or apply an idea in a fresh setting. There is no required stage sequence. The tutor uses your actual answer to choose useful feedback and the next exercise.

At the end, a brief synthesis or optional chat handoff summary can help you continue later. learn-review revisits concepts you choose or material already encountered in the chat. Anki handles long-term review outside Uni.

Use teach when you want lesson files and a persistent learning workspace. It maintains a mission, learning records, source list, glossary, and reusable lesson assets. Invoke it explicitly with $uni:teach in Codex or /uni:teach in Claude Code. Its workspace-authoring workflow is separate from the chat tutor's one-question-at-a-time interaction.

Conversation scope

Uni teaches within the chosen chat host. Questions stop at a real turn boundary; the tutor waits for your response and gives explanation or help when needed. It does not simulate your answers. Success after hints or explanation is distinguished from an independent attempt.

Without a tech tree, the suite has no learner database, custom scheduler, retention target, or Anki integration. Prompts and responses are handled by the chosen host. No separate runtime or learning account is needed for the lessons.

Tech-tree courses

A course built with tech-tree starts from a prerequisite graph, as Math Academy does. The agent writes tech-tree.json (topics, prerequisite edges with reasons, knowledge points), validates it, has a fresh reviewer audit the edges, and shows you the tree before the first lesson. A short placement check finds where you start. You can start a topic only when every topic below it is mastered or placed. Mastery needs correct answers without help; a hint makes the attempt helped, and a helped pass does not count. A failed lesson goes down a remediation ladder: retry later, review key prerequisites, reteach them, then fix the graph. Mastered topics get review dates.

A small Python script, skills/tech-tree/scripts/tech_tree.py, keeps the gate and writes your state to progress.json beside the graph. It needs uv and nothing else. teach builds a tech tree before its first lesson, and learn and learn-review follow one when a course folder has it. The design notes give the sources and limits. This is a coarse version of Math Academy's system, and no study tests the combined design.

Evidence and verification

Read the evidence matrix, research notes, and source registry for the design's support and limits. Registry entries distinguish full text, excerpts, abstracts, and bibliographic access as of 2026-10-03. The bundle contains original notes and links, not redistributed copyrighted books or papers.

Historical methods motivate exercises. Experimental studies and syntheses support individual learning choices in specific settings. Practitioner advice helps formulate focused questions. Scheduling and import sources remain as clearly marked unused background from the earlier design. None validates this exact combined AI tutor. Exposure, helped performance, independent performance, delayed recall, and transfer remain separate evidence. The two-stalled-attempt escalation default is an engineering choice.

Release checks verify manifests, catalogs, and bundled references. The held-out evaluation guide distinguishes next-turn behavior checks, simulated examples, actual host activation, and educational efficacy. Check the retained evaluation results and build report for tests actually executed and remaining limits. Generated run traces and scores stay in the repository's ignored artifacts/uni-build/ directory; they are not distributed with the plugin.

Files

  • skills/*/SKILL.md: eleven entry points and UI metadata.
  • skills/tech-tree/: graph format, edge review brief, design notes, and the tech_tree.py gating script (Python standard library only).
  • skills/learn/references/: shared contract, examples, and evidence notes.
  • skills/teach/: workspace-authoring workflow and four format templates.
  • evaluations/: behavioral scenarios, rubrics, and historical review.