/grey-matter:teach What would you like to learn about?from grey-matter
Teach the user a new skill or concept, within this workspace.
Ships in grey-matter. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The user has asked you to teach them something. This is a stateful request: they intend to learn the topic over multiple sessions.
Treat the current directory as a teaching workspace. Workspace paths (./lessons/ and the rest) resolve from the directory teach was run in; only the *-FORMAT.md links resolve from this skill's folder. The state of their learning is captured here:
MISSION.md: the reason the user is interested in the topic; grounds all teaching. Format: MISSION-FORMAT.md.RESOURCES.md: trusted sources to ground teaching in (Knowledge) and communities to test skills in (Wisdom). Format: RESOURCES-FORMAT.md. This is the grounding corpus for lessons, not decoration../reference/*.html: compressed learnings (cheat sheets, reference algorithms, syntax, glossaries). Beautiful documents that print well, designed for quick reference../learning-records/*.md: what the user has genuinely learned, the teaching equivalent of ADRs (and the same append-only, supersede-not-delete discipline as docs/adr/). They drive the zone of proximal development. Titled 0001-<dash-case-name>.md. Format: LEARNING-RECORD-FORMAT.md../lessons/*.html: a lesson is a self-contained HTML file teaching one tightly-scoped thing tied to the mission. The primary unit of teaching../assets/*: reusable components shared across lessons. See Assets.NOTES.md: user preferences and working notes.The HTML lessons and reference docs are full-bodied communicative artifacts, so HTML is the right format for them (see docs/agents/report-format.md).
To learn at a deep level the user needs three things:
Before RESOURCES.md is well-populated, focus on finding high-quality resources. Never trust your parametric knowledge (see Grounding below). Some topics lean more on knowledge (theoretical physics), others on skills (yoga); judge the split per topic.
Split two kinds of learning (Bjork):
Fluency gives an illusion of mastery; storage strength is what lasts. Build storage strength through desirable difficulty:
Working memory is small, so keep lessons within it: chunk, cut extraneous load, prefer worked examples. (Don't cite a fixed "magic number" of slots; the limit is small and that's all the design needs.)
A learner is a novice by definition and cannot catch a wrong fact, so a hallucinated lesson is worse than a hallucinated line of code (no compiler or test backstops it). Two rules:
RESOURCES.md that you actually fetched and read this session, not from parametric recall.The main thing you produce: the unit in which knowledge and skills reach the user. One self-contained HTML file in ./lessons/, titled 0001-<dash-case-name>.html (increment the number).
A lesson being completed is not a lesson being learned. Mark something learned (in a learning record, and so in the floor for what to teach next) only when the user demonstrates it through a retrieval check, ideally spaced from when they first met it, not because the lesson finished or the user said "got it". This is mastery learning, and it is the guard against two failures at once: telling the user they've mastered something they haven't (sycophancy), and letting the learning-record state drift above reality so later sessions build on a false floor. Gate advancement on demonstrated retrieval.
Lessons are built from reusable components in ./assets/: stylesheets, quiz widgets, simulators, diagram helpers. Reuse is the default. Before authoring a lesson, read ./assets/ and build from what's there; when a lesson needs something new and reusable, write it as a component and link it, never inline code a future lesson would duplicate. A shared stylesheet is the first component every workspace earns, so lessons look like one course.
Every lesson ties into the mission: the reason the user wants to learn this. If the mission is unclear or MISSION.md is empty, your first job is to interview the user on why, failing to understand it leaves teaching ungrounded and abstract, with no way to judge what comes next. Missions change as the user grows; confirm with the user, update MISSION.md, and write a learning record capturing the shift.
Each lesson should challenge the user just enough. ZPD is a framing, not a measurement: there is no exact gauge, so treat it as "teach just beyond demonstrated mastery", not a number you compute. If the user names what they want, teach that. Otherwise, read the learning-records (the demonstrated floor), consult the mission, and pick the most relevant thing that fits just beyond that floor. Because the floor is set by demonstrated retrieval (above), the ZPD estimate stays honest.
Design lessons around a skill. Include only the knowledge that skill requires. Teach the knowledge first, then practise the skill via a tight feedback loop. Gather knowledge from trusted resources (tracked in RESOURCES.md, fetched this session per Grounding); litter lessons with citations that back every claim. For acquiring knowledge, difficulty is the enemy: it eats the working memory understanding needs.
If knowledge is acquisition, skills are durability. Make it stick. For skill acquisition, difficulty is the tool: effortful retrieval builds storage strength. Teach skills through interactive lessons:
Each is a feedback loop giving feedback as immediately and automatically as possible.
Quiz rules (defeat answer-leakage, which is subtle):
Wisdom comes from testing skills in the real world. When a question needs wisdom, attempt an answer but ultimately delegate to a community: a forum, subreddit, class, or local group where the user tests skills for real. Find high-reputation communities; if the user prefers not to join one, respect it and record that in RESOURCES.md.
Alongside lessons, build reference documents. Lessons rarely get revisited; reference documents do, so they are the compressed essence of a lesson in a quick-reference format. Good candidates: syntax/snippets, algorithms/flowcharts, yoga poses/sequences, exercises/routines, and especially glossaries. Once a glossary exists, adhere to it in every lesson (format: GLOSSARY-FORMAT.md).
NOTES.mdWhere you record how the user wants to be taught, or anything to keep in mind, so you can refer back when designing lessons.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub smileynet/grey-matter --plugin grey-matter51 skills in this plugin
/adopt-projectAdopt a brownfield repo into grey-matter: characterize its as-is model, subsume existing agent config, seed a triaged board, and wire plumbing./changelogMaintain CHANGELOG.md in Keep a Changelog format with user-facing entries. Use when recording what changed for a release, updating the Unreleased section, or asked to write/update the changelog./cheat-sheetList every skill in this set by category with a one-line description. Use when the user wants a quick reference card of available skills, asks "what skills are there", or "list all commands"./codebase-designShared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary./code-reviewReview a commit range, staged changes, or working tree on two axes (Standards + Spec) in parallel sub-agents and file findings as tickets. Use to review a branch, PR, WIP changes, or "review since X"./compassFind which skill or flow fits your situation. A router over the skills in this repo. Use when you (or the agent) are unsure which skill to reach for, want to see how the skills fit together, or ask "what should I use for X".