Interactive learning tutor with spaced repetition, structured lessons, and restart-safe study workspaces. Teaches programming, math, physics, and engineering through hands-on exercises.
Ships in mordor-forge-study-skill. 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.
A structured learning environment where you write the code, and the agent teaches, guides, and supervises. Every lesson has notes and exercises you implement yourself, with spaced repetition for long-term retention.
This skill follows the open Agent Skills folder shape: SKILL.md plus optional
references/, templates/, and scripts/. The durable behavior is the study
workspace contract, not any single agent client's slash-command implementation.
Before running a workflow in a new client, read:
references/agent-adapters.md for Claude Code, Codex, Hermes, Cline, OpenCode,
and generic agent setup.references/workspace-lifecycle.md for the init/start/break/resume state
contract shared by all agents.study init <topic> [--template=<name>] [--source <path>]Initialize a new study workspace.
Steps:
references/workspace-lifecycle.md for the shared workspace contract.git initreferences/template-resolution.md:
lessons/, practice/, notes/, .fsrs/How would you like to learn?
1. Project-based — build something real, lesson by lesson (I'll ask what you want to build)
2. Concept-based — focused lessons with standalone exercises (default)
3. Challenge-based — progressive difficulty, minimal hand-holding
If project: ask what to build → store as end_goal, create lessons/plan.md outline
If project and sciagent_skills are attached: use the primary skill's Workflow steps as a lesson plan backbone. Each workflow step maps to a lesson — read references/research-agents.md for how to extract skill content.
--source provided:
references/research-agents.md for backend selectionsources/~/.config/study/book-catalog.json exists:
.study-config.json (see Config Schema below), commit, show welcomestudy startStart or resume a learning session.
Resumption — always check first:
Read references/workspace-lifecycle.md before mutating .study-config.json.
.study-config.jsonsession_state.phase is NOT idle:
session_state.energy: "You were at [half] battery. How are you feeling now?"idle: fresh session, increment session_countFresh session flow:
references/fsrs-spaced-repetition.md:
<skill-dir> to the directory containing this SKILL.mdFSRS_STORE=.fsrs/cards.json <skill-dir>/scripts/fsrs/fsrs scheduleMain Loop:
LOOP:
1. Agent's Turn: Teach
- Create lesson notes (with proactive research — read references/research-agents.md)
- Assign exercise
- Commit notes: [agent] lesson N: topic
- Update session_state.phase = "teaching"
2. User's Turn: Implement
- User works in practice/lesson-NN/
- User can ask questions, request hints, or say "done"
- Update session_state.phase = "practicing"
3. Review & Feedback
- Check git diff to see user's work
- If sciagent skill attached: read references/difficulty-adaptation.md for verification protocol
- Provide specific feedback (quote their code, explain why)
- Track metrics: review_rounds, hints_requested
- Update session_state.phase = "reviewing"
4. Completion
- When exercise passes review:
- Add FSRS card: FSRS_STORE=.fsrs/cards.json <skill-dir>/scripts/fsrs/fsrs add "lesson-NN" "topic" N
- Update lesson status to "completed"
- Check difficulty adaptation (read references/difficulty-adaptation.md)
- Ask: next lesson, review, or break?
REPEAT
study statusShow progress overview. Read .study-config.json and use
references/workspace-lifecycle.md to interpret session_state. If
visual-explainer is available, generate an HTML dashboard. Otherwise text:
Study: [topic] ([approach])
Difficulty: [level]
Progress: [N] lessons completed, [M] in review queue
Lessons:
1. [title] ✓
2. [title] ✓
3. [title] ← current
4. [title] (planned)
Review: [N] items due | Next review: [date]
Sources: [N] books attached
study reviewStandalone review session. Read references/fsrs-spaced-repetition.md for the full protocol. No lesson, just recall exercises for all due items.
study add-source <path>Add a PDF/ebook to the current workspace. Read references/research-agents.md for backend selection and ingestion.
study catalog build <library-path>Build book catalog:
cd <skill-dir>/scripts/catalog && uv run study-catalog build <library-path>
study catalog search <query>Search the catalog:
cd <skill-dir>/scripts/catalog && uv run study-catalog search "<query>"
study breakSave session state and exit cleanly:
Read references/workspace-lifecycle.md first.
.study-config.json:
session_state.phase = current phase (NOT idle — that loses context)session_state.pending_action = specific next stepsession_state.context = brief note about where things standsession_state.energy = current energy levelnotes/session-YYYY-MM-DD.md[session] end session NEach lesson file in lessons/NN-topic.md:
# Lesson N: Topic
## Concept
[Clear explanation — enriched by research agent findings]
## Key Points
- Point 1
- Point 2
## Reference Example (Don't Copy!)
[Small example illustrating the concept, if helpful]
## Common Pitfalls
- Pitfall and how to avoid it
## Exercise
### What to Build
[Clear description]
### Requirements
1. Requirement 1
2. Requirement 2
### Success Criteria
- [ ] Criterion 1
- [ ] Criterion 2
### Where to Work
Create your implementation in: `practice/lesson-NN/`
After presenting a new lesson:
What would you like to do?
1. Read the lesson and start the exercise
2. I have questions about the concept first
3. Take a break
After providing feedback:
What's next?
1. I'll revise my implementation
2. Questions about the feedback
3. I think it's done — final review?
4. Move to next lesson
5. Take a break
When user is stuck:
references/research-agents.md)When teaching concepts that benefit from visual representation, read references/visual-libraries.md to select the right rendering approach:
If subagents or background tasks are available, ask visual-explainer with the library choice in the prompt:
Agent(subagent_type="general-purpose", prompt="
Using the visual-explainer skill, create an HTML page showing [concept].
Use KaTeX for equations and JSXGraph for the function plot.
Save to practice/lesson-NN/diagrams/
")
For SVG generation (circuits, molecules, etc.), generate a Python script, run it via Bash, and embed the SVG in the HTML.
For scientific topics with sciagent-skills attached, the plugin's visualization skills (matplotlib-scientific-plotting, plotly-interactive-visualization, seaborn-statistical-visualization) provide domain-appropriate plotting patterns (volcano plots, UMAP embeddings, heatmaps, survival curves). Pass the relevant sciagent visualization skill name to the visual-explainer agent for domain-specific output.
If visual-explainer is unavailable, use ASCII diagrams in the lesson notes. Visuals are enrichment, never a dependency.
.study-config.json:
{
"version": 3,
"topic": "Go Concurrency",
"template": "go-idiomatic",
"template_mode": "code-as-subject",
"approach": "concept",
"end_goal": null,
"difficulty": "beginner",
"difficulty_override": null,
"next_calibration_at_lesson": 4,
"mode": "tutorial",
"created": "2026-04-04T10:00:00Z",
"sciagent_skills": [],
"sciagent_primary": null,
"progress": {
"current_lesson": 0,
"lessons_completed": 0,
"session_count": 0,
"last_session": null
},
"lessons": [],
"session_state": {
"phase": "idle",
"pending_action": null,
"context": null,
"energy": null,
"time_budget_minutes": null
},
"sources": [],
"review": {
"fsrs_data_path": ".fsrs/cards.json",
"items_due": 0,
"last_review": null
},
"catalog_path": "~/.config/study/book-catalog.json"
}
[agent] - lesson notes, feedback, guidance written by the active agent[user] - user's implementation work[session] - session start/end markersAlways commit before switching turns between the agent and user. This keeps the
git history clean and makes git diff HEAD reliable for reviewing user work.
workspace/
├── .study-config.json
├── .fsrs/cards.json
├── lessons/
│ ├── plan.md (project approach only)
│ ├── 01-intro.md
│ └── 02-next-topic.md
├── practice/
│ ├── lesson-01/
│ └── lesson-02/
├── notes/
│ ├── feedback-2026-04-04.md
│ └── session-2026-04-04.md
├── sources/ (chunked text from PDFs, if no NLM)
└── [template files] (go.mod, Makefile, etc.)
Store in .study-config.json → approach. Shapes how exercises are generated.
Per-session modes that can change within an approach:
What SKILL.md sets; muted values are Claude Code's defaults
/mordor-forge-study-skill:studyfrom mordor-forge-study-skill
mordor-forge-study-skill@awesome-skills-plugins-for-students is listed by studentsuite/awesome-skills-plugins-for-students — review the source before installing
npx claudepluginhub studentsuite/awesome-skills-plugins-for-students --plugin mordor-forge-study-skillOther plugins' skills for the same job