The Teacher
БесплатноНе проверенEnables structured learning with a verified loop: define goals as observable claims, learn through teach-lab-test-gate per claim, and get independently graded b
Описание
Enables structured learning with a verified loop: define goals as observable claims, learn through teach-lab-test-gate per claim, and get independently graded by an adversarial examiner to ensure genuine progress.
README
Run learning as a verified loop: interview to build a detailed Target (your goal as observable claims), derive a Path to close the gap, learn through teach → lab → test → gate per claim, get cold-examined by an adversarial verifier, and raise the Target once you match it. A generic engine; ships with a guitar-learning example.
It's a small MCP server + Claude Code skill. The coaching agent teaches; a separate fresh-context examiner subagent grades — so the teacher never certifies itself.
Quickstart
python3 -m venv .venv && .venv/bin/pip install "mcp[cli]" pytest
.venv/bin/pytest # all green
THE_TEACHER_STORE=./store.local.json .venv/bin/python server.py
See Install below to add it to Claude Code.
Install as a plugin (one step) — recommended
The repo is its own plugin marketplace, so Claude Code can install the server and the skill
together. Requires uv on your PATH (it pulls the mcp dependency
on the fly — no venv to manage).
/plugin marketplace add outlast85/the-teacher
/plugin install the-teacher@the-teacher
The coaching skill is then available as /the-teacher:teacher.
Install manually
If you'd rather wire it up by hand (or don't use uv):
git clone https://github.com/outlast85/the-teacher.git
cd the-teacher
python3 -m venv .venv && .venv/bin/pip install "mcp[cli]"
# 1) register the MCP server (per-user; the `--` separator is required)
claude mcp add --transport stdio the-teacher -- "$PWD/.venv/bin/python" "$PWD/server.py"
# 2) install the coaching skill
mkdir -p ~/.claude/skills/teacher && cp skills/teacher/SKILL.md ~/.claude/skills/teacher/SKILL.md
There is no global MCP list — registration is per-user and local. Confirm with
claude mcp list.
How it works
- First run — the coach calls
status(), and if no Target is set it interviews you first: it probes your real goal, decomposes it into 2–6 claims with observablepass_criteria, tags each claimneeds_lab(runnable/software claims require lab evidence to pass), dispatches a fresh-context subagent to review the drafted Target for specificity, then callsset_target. A detailed Target is required before any teaching begins. - Teach → lab → test → gate per claim — for each module the coach teaches the concept,
runs a lab if
needs_lab=true(recording evidence withrecord_progress), asks you to explain the claim cold, dispatches a fresh-context examiner subagent to grade blind, and callsrecord_verdict. Aneeds_labclaim with no logged lab evidence is coerced to non-pass by the server even if the examiner says passed. The claim stays inderive_pathuntil it genuinely passes the gate. - Raise the Target — when
status().matchedis true, the coach congratulates you and offers a harder Target, restarting the loop.
Verifier-independence (the design point)
The examiner is deliberately adversarial (default-to-not-ready, high field standard). What makes the verdict independent of the teacher is context isolation — and that's the only mechanism:
- The verifier is a fresh-context examiner subagent. The coach asks the learner to explain the
module cold, then dispatches a SEPARATE subagent (same model, clean context) whose prompt
contains ONLY the claim, the pass criteria, the learner's explanation, and any lab evidence —
never the coaching conversation. Because that examiner never saw the context it would otherwise
be anchored on, the grade is genuinely decorrelated: real maker/checker, not Reflection. The
coach records it via
record_verdict(..., verdict_source="fresh-context"). This works for any subject, needs zero config, no second model, and no external service. - Discouraged —
same-context: inline grading in the same coaching conversation. If ever used, it's recorded asverdict_source="same-context"andstatus()raises anonly_same_contextwarning when a match is backed solely by it. This is the weak-verifier case; avoid it.
matched in status counts fresh-context verdicts. The server itself never calls any model —
all grading is done by the subagent inside your own client.
Resource URIs use the theteacher:// scheme (e.g. theteacher://target,
theteacher://path, theteacher://progress).
Privacy
Your Target/Path/progress live in a local JSON store (~/.the-teacher/store.json by default,
overridden by THE_TEACHER_STORE) that is gitignored. The repo ships only the generic
example. No personal data is ever committed.
Установка The Teacher
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/outlast85/the-teacherFAQ
The Teacher MCP бесплатный?
Да, The Teacher MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для The Teacher?
Нет, The Teacher работает без API-ключей и переменных окружения.
The Teacher — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить The Teacher в Claude Desktop, Claude Code или Cursor?
Открой The Teacher на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare The Teacher with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
