/agents-for-learning:classroomfrom agents-for-learning
Create interactive Vimwiki lessons from topics. Use this skill whenever the user wants to learn something, create a lesson, build a study guide, structure learning material, break down a topic into chunks, or create educational wiki content. Also trigger when the user mentions topics files, lesson plans, study sessions, or wants to organize knowledge into digestible pieces. Works with Vimwiki format and LaTeX math. Pairs with the ask-question skill for diagnostic-first learning.
Ships in agents-for-learning. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Build structured, digestible Vimwiki lessons from a topics file. Each lesson is a self-contained .wiki page covering one focused chunk — small enough to fit in working memory, rich enough to deliver a concrete win.
The user works in Vim. Their notes, their thinking, their workflow — all happen there. Vimwiki is their native format: headers with =, links with [[...]], LaTeX math inline. Producing HTML or Markdown that needs a browser breaks the flow. Every lesson should feel like opening another page in their personal wiki, not like launching a separate app.
Everything starts from a topics file: a .wiki file that acts as the course index. It can already exist (the user hands you one) or you create it from what the user tells you.
= Topic Name =
%% Configuration
%% latex: vimwiki
%% level: beginner
== Subtopic 1 ==
- [[chunk-1a|Chunk 1A Title]]
- [[chunk-1b|Chunk 1B Title]]
== Subtopic 2 ==
- [[chunk-2a|Chunk 2A Title]]
- [[chunk-2b|Chunk 2B Title]]
The %% Configuration block (Vimwiki comments) controls behaviour:
latex: vimwiki → use $...$ inline and {{$...}}$ block (default)latex: standard → use $...$ inline and $$...$$ blocklevel: beginner|intermediate|advanced → starting difficulty (default: beginner)If no configuration block exists, default to latex: vimwiki and level: beginner.
When the user gives you a topic (e.g., "trigonometry") without an existing file:
trig-unit-circle, not chunk-1When a topics file exists, read it, understand the structure, and pick up where progress left off (check progress.json).
Each chunk becomes a .wiki file. A lesson follows this template:
= Chunk Title =
%% Parent: [[topics-file]]
%% Prereqs: [[previous-chunk]]
%% Status: draft
== What You'll Learn ==
{1–2 sentences. Concrete: "After this, you'll be able to..." not "This lesson covers..."}
== Core Concept ==
{The main explanation. Keep it tight — one idea per paragraph. Use analogies
the user can picture. Build from what they already know.}
{When math is involved, show the intuition FIRST, then the formula:}
The sine of an angle in a right triangle is the ratio of the opposite side
to the hypotenuse:
{{$
\sin(\theta) = \frac{\text{opposite}}{\text{hypotenuse}}
}}$
For $\theta = 30^{\circ}$, the opposite side is half the hypotenuse, so
$\sin(30^{\circ}) = 0.5$.
== Worked Example ==
{Step through a concrete problem. Show every step. Don't skip algebra.}
== Key Takeaways ==
* {Takeaway 1}
* {Takeaway 2}
* {Takeaway 3}
== Try It ==
{1–3 practice problems for the user to try. Include answers in a
collapsed section or at the bottom.}
=== Answers ===
{Detailed solutions — not just answers, but the reasoning.}
== Next ==
[[next-chunk|Next: Chunk Title]] | [[topics-file|Back to Topics]]
Track lesson progress in progress.json alongside the wiki files:
{
"topics_file": "trigonometry.wiki",
"created": "2025-01-15",
"updated": "2025-01-20",
"config": {
"latex": "vimwiki",
"level": "beginner"
},
"chunks": [
{
"id": "trig-what-is-trig",
"title": "What is Trigonometry?",
"subtopic": "Introduction",
"status": "completed",
"created": "2025-01-15",
"completed": "2025-01-15"
},
{
"id": "trig-unit-circle",
"title": "The Unit Circle",
"subtopic": "Core Concepts",
"status": "in_progress",
"created": "2025-01-16",
"completed": null
},
{
"id": "trig-sin-cos",
"title": "Sine and Cosine",
"subtopic": "Core Concepts",
"status": "not_started",
"created": null,
"completed": null
}
],
"weakness_areas": []
}
Status values: not_started, in_progress, completed, needs_review.
The weakness_areas array is populated by the ask-question skill when it discovers gaps. Each entry looks like:
{
"area": "unit circle angles",
"detail": "Confused 30° and 60° positions",
"severity": "moderate",
"discovered": "2025-01-17",
"addressed_in": null
}
When generating lessons, check weakness_areas and prioritise chunks that address unresolved weaknesses.
ask-question has produced a qa_log.json, read it for weakness dataprogress.jsonin_progressprogress.json if it existsprogress.jsonprogress.jsonweakness_areas from ask-questionSometimes the user doesn't want to follow the sequence — they have a specific question ("why is sin 30° = 0.5?"). In that case:
progress.jsonUse these when generating .wiki content:
| Element | Vimwiki Syntax |
|---|---|
| Header 1 | = Title = |
| Header 2 | == Title == |
| Header 3 | === Title === |
| Bold | *bold* |
| Italic | _italic_ |
| Link | [[page|display text]] |
| External link | [[url|text]] |
| Bullet list | * item or - item |
| Numbered list | 1. item |
| Code block | {{{lang ... }}} |
| Inline math | $...$ |
| Block math | {{$...}}$ or $$...$$ |
| Comment | %% |
| Horizontal rule | ---- |
The ask-question skill diagnoses where the user is. This skill builds lessons from that diagnosis. The handoff works through shared files:
ask-question writes qa_log.json with the diagnostic resultsask-question updates progress.json → weakness_areas with discovered gapsclassroom reads both and tailors the lesson plan accordinglyWhen weakness data is available, restructure the topics file to front-load chunks that address the gaps. Don't just add remedial content at the end — weave it into the natural progression so the user doesn't feel singled out for "failing."
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub coderj001/agents-for-learning --plugin agents-for-learning6 skills in this plugin
/ask-questionDiagnostic questioning to find the user's knowledge gaps before teaching. Use this skill whenever the user wants to learn something new, says they don't understand a concept, asks "why does X work this way", wants to test their knowledge, or when you need to assess where they stand before building lessons. Also trigger when the user mentions quizzes, self-assessment, knowledge checks, or wants to figure out what they don't know. Pairs with the classroom skill — run diagnostics first, then build targeted lessons./quizTest the user's retention after teaching by re-examining previously diagnosed knowledge gaps. Use this skill whenever the user says "quiz me", "test me", "check if I remember", "did I learn it", "am I ready", or wants to verify that taught concepts actually stuck. Also trigger when the user has completed teach sessions and wants to close the loop, or after some time has passed since learning and they want to see if they retained the material. This skill pulls questions from past `ask-question` diagnostic sessions — it re-tests the exact gaps that were found, not random topics. Pairs with `ask-question` (which finds gaps), `teach` (which fills gaps), and `classroom` (which provides reference material)./skill-creatorCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Other plugins' skills for the same job