agentleFS
kirilxdkirilxd/claude-tutor/skills/learn/SKILL.md

learn

Skill133 starsChanged 8 months agoMITView on GitHub

Use when user wants to learn a topic or create a study plan. Triggers on "teach me", "I want to learn", "explain X to me", "study", "help me understand", "where do I start with", "how do I get into", or any request to understand a subject in depth. Covers both technical topics (programming, system design, DevOps) and general knowledge (history, science, languages, music theory). Also use when someone asks for a "learning path", "roadmap", or "curriculum" for a topic — even if they don't explicitly say "learn".

133 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use open-gstack-browser, design-html and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • seek888Skill

    open-gstack-browser

    Launch GStack Browser — AI-controlled Chromium with the sidebar extension baked in. Opens a visible browser window where you can watch every action in real time. The sidebar shows a live activity feed and chat. Anti-bot stealth built in. Use when asked to "open gstack browser", "launch browser", "connect chrome", "open chrome", "real browser", "launch chrome", "side panel", or "control my browser". Voice triggers (speech-to-text aliases): "show me the browser".

    Also in 6 projects that use this

  • seek888Skill

    design-html

    Design finalization: generates production-quality Pretext-native HTML/CSS. Works with approved mockups from /design-shotgun, CEO plans from /plan-ceo-review, design review context from /plan-design-review, or from scratch with a user description. Text actually reflows, heights are computed, layouts are dynamic. 30KB overhead, zero deps. Smart API routing: picks the right Pretext patterns for each design type. Use when: "finalize this design", "turn this into HTML", "build me a page", "implement this design", or after any planning skill. Proactively suggest when user has approved a design or has a plan ready. (gstack) Voice triggers (speech-to-text aliases): "build the design", "code the mockup", "make it real".

    Also in 7 projects that use this

  • chloropineSkill

    setup-gbrain

    Set up gbrain for this coding agent: install the CLI, initialize a local PGLite or Supabase brain, register MCP, capture per-remote trust policy. One command from zero to "gbrain is running, and this agent can call it." Use when: "setup gbrain", "connect gbrain", "start gbrain", "install gbrain", "configure gbrain for this machine". (cgstack)

    Also in 4 projects that use this

  • TomGranotSkill

    add-anydoc

    Add local office-document-to-Markdown conversion to NanoClaw agent containers with the pinned Firecrawl AnyDoc CLI. Use when agents need to read attached Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV, or text-based PDF files without uploading them to a hosted parser.

    Also in 3 projects that use this

  • TomGranotSkill

    add-clidash

    Add clidash — a zero-dependency, read-only web dashboard that derives its tabs and tables at runtime from any CLI that lists resources as JSON. Ships pre-wired for NanoClaw's ncl CLI (agent groups, sessions, channels, users, roles), plus message-activity charts, a log tail, and a read-only file viewer for group skills/CLAUDE.md/profiles.

    Also in 3 projects that use this

  • chloropineSkill

    plan-tune

    Self-tuning question sensitivity + developer psychographic for cgstack (v1: observational). Review which AskUserQuestion prompts fire across cgstack skills, set per-question preferences (never-ask / always-ask / ask-only-for-one-way), inspect the dual-track profile (what you declared vs what your behavior suggests), and enable/disable question tuning. Conversational interface — no CLI syntax required.

    Also in 4 projects that use this

  • +1 more from seek888
  • +5 more from TomGranot

The file

Show its rules and text

We split this skill into the rules it gives an agent

48 rules. 0 are common, 40 are distinctive, and 8 are very specific to this project.

  • 0

    Common

    Most of the 114 edited versions we read keep these.

  • 40

    Distinctive

    This author's own choices. Worth a look.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Always use the ABSOLUTE path ~/.claude/learning/ — never a relative path like ./learning/.

    line 31
  2. Distinctive:

    Never add quiz fields (quizzes, weakAreas, strongAreas, spacedRepetition, overallScore) to plan files.

    line 32
  3. Distinctive:

    Never add plan fields (modules, resources, goal, depth, timeCommitment) to progress files.

    line 33
  4. Distinctive:

    Verify the path is correct BEFORE writing.

    line 34
  5. Distinctive:

    Before starting a new plan, check if this topic already exists.

    line 40
  6. Very specific:

    Read ~/.claude/learning/index.json and look for a matching topic (fuzzy match same as quiz skill: "k8s" → "kubernetes").

    line 42
  7. Distinctive:

    Read the plan file and progress file

    line 45
  8. Distinctive:

    If no quizzes taken on any module: "Ready to start learning?

    line 56
  9. Distinctive:

    If some modules quizzed: "You left off at Module [N]: [title].

    line 57
  10. Distinctive:

    If all modules quizzed with score >80%: "You've completed this topic!

    line 58
  11. Distinctive:

    If user wants to continue, teach the next incomplete module interactively (see Phase 5: Teach)

    line 59
  12. Distinctive:

    If user wants to adjust, load the existing plan and let them modify it

    line 60
  13. Very specific:

    Read ~/.claude/learning/profile.json if it exists.

    line 66
  14. Very specific:

    After Phase 1, save the profile as JSON to ~/.claude/learning/profile.json (create directory if needed):

    line 75
  15. Very specific:

    ALWAYS: use the AskUserQuestion tool when asking the user questions, in any context.

    line 85
  16. Distinctive:

    Ask 2-5 clarifying questions, skipping any already answered by the user's initial message.

    line 87
  17. Distinctive:

    Ask ONE question per message — wait for the answer before asking the next

    line 90
  18. Distinctive:

    Use multiple choice with clear options and descriptions for every question

    line 91
  19. Distinctive:

    Only one question per message — never combine questions

    line 92
  20. Distinctive:

    Ask at least 2 (level + goal) — cap at 5

    line 93
  21. Distinctive:

    If a learner profile exists, skip the learning style question

    line 94
  22. Distinctive:

    Ask "What's your current experience with [topic]?" with options:

    line 98
  23. Distinctive:

    No experience — Complete beginner, starting from scratch

    line 99
  24. Distinctive:

    Ask "What do you want to be able to do after learning [topic]?" with 3 topic-specific goal options.

    line 106
  25. Distinctive:

    Ask "How deep do you want to go?" with options:

    line 110
  26. Distinctive:

    Ask which areas to focus on.

    line 117
  27. Distinctive:

    Ask "How much time do you want to invest?" with options:

    line 121
  28. Distinctive:

    After the diagnostic, note which level the user actually tested at:

    line 149
  29. Distinctive:

    Use these results in Phase 3 (Generate Learning Plan) to mark introductory modules as "skippable" or compress them into a quick review.

    line 168
  30. Distinctive:

    Use the WebSearch tool

    line 181
  31. Distinctive:

    Create a structured plan with modules.

    line 189
  32. Very specific:

    Every module MUST have keyConcepts with at least 2 concept strings — the quiz system uses these to generate questions.

    line 218
  33. Distinctive:

    If a diagnostic was taken, mark modules covering concepts the user already knows as "Review (optional)" instead of required

    line 219
  34. Distinctive:

    Ask the user: "Does this plan look good?

    line 221
  35. Distinctive:

    After user approves the plan:

    line 225
  36. Very specific:

    If the file doesn't exist, create {"topics":{}}

    line 266
  37. Distinctive:

    Add/update ONLY this topic's entry (preserve all other topics):

    line 267
  38. Very specific:

    Read existing profile (or create {} if missing)

    line 285
  39. Distinctive:

    After saving the plan (or when resuming an existing topic), offer to teach the next incomplete module.

    line 294
  40. Distinctive:

    Ask: "Ready to start Module [N]: [title]?

    line 296
  41. Distinctive:

    Use an analogy that connects to something the user likely knows

    line 308
  42. Distinctive:

    If the learner profile says "hands-on", emphasize examples and exercises

    line 310
  43. Distinctive:

    If "theory-first", lead with principles before examples

    line 311
  44. Distinctive:

    Keep explanations conversational, not textbook-like

    line 324
  45. Distinctive:

    Never go more than 3-4 paragraphs without an interaction point

    line 325
  46. Distinctive:

    If the user seems to be struggling (wrong answers on comprehension checks), slow down and add more examples

    line 326
  47. Distinctive:

    If the user is breezing through, pick up the pace and add depth

    line 327
  48. Distinctive:

    Use the learner profile's learning style to adapt your approach

    line 328

“Common” is measured: kept by at least 6 in 10 of the 114 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Learn — Topic Research & Learning Plan Generator

Overview

Guide the user from a vague "I want to learn X" into a structured, researched learning plan with curated resources. Ask clarifying questions, research the topic, and produce a module-by-module plan saved to disk.

File Storage Rules — EXACT PATHS (no deviation)

The learning system uses three separate directories. Each directory has ONE purpose:

DirectoryStoresAllowed fields
~/.claude/learning/plans/Learning plans ONLYtopic, slug, created, level, goal, depth, timeCommitment, modules, totalEstimatedTime, diagnostic
~/.claude/learning/progress/Quiz progress ONLYtopic, quizzes, weakAreas, strongAreas, overallScore, spacedRepetition
~/.claude/learning/ (root)index.json + profile.json ONLYtopics (index), learningStyle/background/createdTopics (profile)

CORRECT — saving a learning plan: ~/.claude/learning/plans/dns-2026-03-29.json WRONG — saving a learning plan: ~/.claude/learning/progress/dns.json

CORRECT — saving quiz progress: ~/.claude/learning/progress/dns.json WRONG — saving quiz progress: ~/.claude/learning/plans/dns-2026-03-29.json

CORRECT — saving any learning data: ~/.claude/learning/plans/dns-2026-03-29.json WRONG — saving to project directory: ./learning/plans/dns-2026-03-29.json

Always use the ABSOLUTE path ~/.claude/learning/ — never a relative path like ./learning/. Never add quiz fields (quizzes, weakAreas, strongAreas, spacedRepetition, overallScore) to plan files. Never add plan fields (modules, resources, goal, depth, timeCommitment) to progress files. Verify the path is correct BEFORE writing.

Process

Check for Existing Topic

Before starting a new plan, check if this topic already exists.

Read ~/.claude/learning/index.json and look for a matching topic (fuzzy match same as quiz skill: "k8s" → "kubernetes").

If the topic exists:

  1. Read the plan file and progress file
  2. Show a brief status:
── Resuming: [Topic] ────────────────────
Level: [level] | Modules: [completed]/[total] | Score: [score]%
Last activity: [date]
──────────────────────────────────────────
  1. Determine the next action:
    • If no quizzes taken on any module: "Ready to start learning? I'll teach you Module 1: [title]"
    • If some modules quizzed: "You left off at Module [N]: [title]. Continue?"
    • If all modules quizzed with score >80%: "You've completed this topic! Want to retake quizzes on weak areas, or adjust the plan?"
  2. If user wants to continue, teach the next incomplete module interactively (see Phase 5: Teach)
  3. If user wants to adjust, load the existing plan and let them modify it

If the topic is new: proceed to Phase 0 (profile) and Phase 1 (scope).

Phase 0: Load or Create Learner Profile

Read ~/.claude/learning/profile.json if it exists.

If profile exists:

  • Greet the user by acknowledging their learning style and background
  • Skip questions about learning style and background in Phase 1 — you already know
  • Still ask topic-specific questions (level, goal, focus areas)

If no profile exists (first time):

  • During Phase 1, include the learning style question (see Phase 1 examples)
  • After Phase 1, save the profile as JSON to ~/.claude/learning/profile.json (create directory if needed):
    • learningStyle: the user's choice (e.g., "hands-on")
    • background: extracted from level + goal answers
    • createdTopics: array with the current topic slug

If profile exists and this is a new topic:

  • Append the topic slug to createdTopics array

Phase 1: Clarify Scope

ALWAYS use the AskUserQuestion tool when asking the user questions, in any context. If you have too many questions for the tool, split them up into multiple calls.

Ask 2-5 clarifying questions, skipping any already answered by the user's initial message.

Rules:

  • Ask ONE question per message — wait for the answer before asking the next
  • Use multiple choice with clear options and descriptions for every question
  • Only one question per message — never combine questions
  • Ask at least 2 (level + goal) — cap at 5
  • If a learner profile exists, skip the learning style question

Question 1 — Current level:

Ask "What's your current experience with [topic]?" with options:

  • No experience — Complete beginner, starting from scratch
  • Some basics — Familiar with core ideas but not hands-on
  • Intermediate — Working knowledge, want to go deeper
  • Advanced — Strong foundation, want expert-level depth

Question 2 — Learning goal:

Ask "What do you want to be able to do after learning [topic]?" with 3 topic-specific goal options. Each option needs a label and a description.

Question 3 — Depth (optional):

Ask "How deep do you want to go?" with options:

  • High-level overview — Understand the big picture and key concepts
  • Working knowledge — Enough to use it confidently day-to-day
  • Deep expertise — Thorough understanding including edge cases

Question 4 — Focus areas (optional):

Ask which areas to focus on. Allow selecting multiple from 2-4 topic-specific subtopics, each with a label and description.

Question 5 — Time commitment (optional):

Ask "How much time do you want to invest?" with options:

  • A few hours — Quick introduction to the basics
  • A weekend — Solid foundation with practice
  • A week — In-depth study with projects
  • Ongoing study — Long-term learning commitment

If no learner profile exists, also ask "How do you prefer to learn?" with options:

  • Reading docs & articles — Text-based, self-paced learning
  • Watching videos — Visual explanations and walkthroughs
  • Hands-on projects — Learn by building and experimenting
  • Theory first — Understand principles, then apply them

Phase 1.5: Diagnostic Assessment (non-beginners only)

Skip this phase if the user said they have "no experience" or are a "complete beginner."

For users with some background, generate a 5-question diagnostic quiz to calibrate their actual level. This prevents wasting time on material they already know.

How to run the diagnostic:

Generate 5 multiple choice questions testing foundational concepts at increasing difficulty. Ask ONE question per message — wait for the answer before the next.

  • Questions 1-2: Basic terminology and concepts (should be easy for anyone with "some basics")
  • Questions 3-4: Intermediate understanding (application of concepts)
  • Question 5: Advanced concept (only experts get this right)

Each question should have 4 options with descriptions. Label them "Diagnostic Q1/5" through "Q5/5".

After the diagnostic, note which level the user actually tested at:

  • 0-1 correct: Suggest starting from beginner despite their self-assessment
  • 2-3 correct: Confirmed intermediate — can skip introductory modules
  • 4-5 correct: Confirmed advanced — compress fundamentals, focus on depth

Store the diagnostic results in the plan JSON by adding a diagnostic field:

{
  "diagnostic": {
    "taken": true,
    "score": 3,
    "total": 5,
    "calibratedLevel": "intermediate",
    "skipModules": []
  }
}

Use these results in Phase 3 (Generate Learning Plan) to mark introductory modules as "skippable" or compress them into a quick review.

Phase 2: Research

Perform 3-5 web searches with varied queries:

  1. "[topic] learning roadmap [year]" — find structured learning paths
  2. "best [topic] tutorial for [level]" — find recommended resources
  3. "[topic] official documentation" — find authoritative sources
  4. "[topic] [specific subtopic] guide" — drill into focus areas
  5. "[topic] common mistakes beginners" — anticipate pitfalls

For each search:

  • Use the WebSearch tool
  • Fetch the top 2-3 results with WebFetch
  • Extract: key concepts, recommended order, good resources, common learning paths

Synthesize the research into a coherent structure. Don't just list links — understand what the community recommends and why.

Phase 3: Generate Learning Plan

Create a structured plan with modules. Present it to the user in readable markdown:

## Learning Plan: [Topic]

**Level:** [beginner/intermediate/advanced]
**Goal:** [user's goal]
**Estimated time:** [total]

### Module 1: [Title]
**Time:** [estimate]
**Objectives:**
- [what the user will understand/be able to do]

**Key concepts:** [list]

**Resources:**
- [resource with link and type]

### Module 2: [Title]
...

Rules:

  • 3-8 modules depending on topic depth
  • Each module should be completable in one sitting
  • Order modules from foundational to advanced
  • Include a mix of resource types per module (docs, videos, tutorials, books)
  • Note free vs paid resources
  • Every module MUST have keyConcepts with at least 2 concept strings — the quiz system uses these to generate questions. A module with empty keyConcepts is broken.
  • If a diagnostic was taken, mark modules covering concepts the user already knows as "Review (optional)" instead of required

Ask the user: "Does this plan look good? Want to adjust anything — add, remove, or reorder modules?"

Phase 4: Save

After user approves the plan:

  1. Construct path: ~/.claude/learning/plans/{topic-slug}-{YYYY-MM-DD}.json
  2. Verify path contains /plans/ — NOT /progress/
  3. Create directory ~/.claude/learning/plans/ if it doesn't exist (use Bash: mkdir -p)
  4. Save plan as JSON to that path — use ONLY the fields listed below:

The JSON format:

{
  "topic": "Topic Name",
  "slug": "topic-name",
  "created": "YYYY-MM-DD",
  "level": "beginner|intermediate|advanced",
  "goal": "user's stated goal",
  "depth": "overview|working-knowledge|deep",
  "timeCommitment": "a few hours|a weekend|a week|ongoing",
  "modules": [
    {
      "id": 1,
      "title": "Module Title",
      "objectives": ["objective 1", "objective 2"],
      "keyConcepts": ["concept1", "concept2"],
      "estimatedTime": "2 hours",
      "resources": [
        {
          "title": "Resource Name",
          "url": "https://...",
          "type": "docs|video|tutorial|book|course",
          "free": true
        }
      ]
    }
  ],
  "totalEstimatedTime": "15 hours"
}
  1. Update index at ~/.claude/learning/index.json:
    • Read the existing file first — do not overwrite other topics
    • If the file doesn't exist, create {"topics":{}}
    • Add/update ONLY this topic's entry (preserve all other topics):
{
  "displayName": "Topic Name",
  "planFile": "plans/topic-name-2026-03-01.json",
  "progressFile": "progress/topic-name.json",
  "created": "2026-03-01",
  "lastActivity": "2026-03-01",
  "level": "beginner",
  "modulesCompleted": 0,
  "modulesTotal": 5,
  "quizzesTaken": 0,
  "overallScore": null
}
  1. Update profile at ~/.claude/learning/profile.json:
    • Read existing profile (or create {} if missing)
    • Set learningStyle if determined in Phase 1
    • Set background from the level
    • Append the topic slug to createdTopics array (if not already present)
  2. Confirm to the user: "Learning plan saved! You can now use /quiz [topic] to test your knowledge, or /resources [topic] to see all resources."

Phase 5: Teach (optional)

After saving the plan (or when resuming an existing topic), offer to teach the next incomplete module.

Ask: "Ready to start Module [N]: [title]? I can walk you through it now, or you can study on your own and come back for a quiz."

If the user wants to be taught:

Teach the module interactively. The goal is genuine understanding, not information dumping.

Teaching structure for each module:

  1. Connect to prior knowledge — "In the last module you learned [X]. [Topic] builds on that by..." If this is Module 1 or you don't know the user's background, connect to general knowledge or the user's stated goals.
  2. Explain core concepts — Cover each key concept from the module's keyConcepts list. For each concept:
    • Give a clear, concise explanation (2-3 paragraphs max)
    • Use an analogy that connects to something the user likely knows
    • Provide a concrete example
    • If the learner profile says "hands-on", emphasize examples and exercises
    • If "theory-first", lead with principles before examples
  3. Check understanding — After every 2-3 concepts, ask a quick multiple choice comprehension question. This isn't a quiz — it's a "does this make sense?" check. If the user gets it wrong, re-explain differently before moving on.
  4. Reference resources — Point to specific resources from the module: "For a deeper dive on this, check out [Resource Title] — it covers [specific aspect]."
  5. Summarize — At the end of the module, recap the 3-5 key takeaways.
  6. Bridge to next — "Next up is Module [N+1]: [title], which builds on [concept] you just learned."
  7. Suggest quiz — "Want to test what you've learned? Run /quiz [topic] (and mention the module you just covered) to check your understanding."

Teaching guidelines:

  • Keep explanations conversational, not textbook-like
  • Never go more than 3-4 paragraphs without an interaction point
  • If the user seems to be struggling (wrong answers on comprehension checks), slow down and add more examples
  • If the user is breezing through, pick up the pace and add depth
  • Use the learner profile's learning style to adapt your approach

If the user declines teaching:

  • Suggest: "No problem! Study at your own pace using the resources in the plan. When you're ready, run /quiz [topic] to test your knowledge."

Topic Slug Convention

Convert topic to kebab-case for filenames: "Kubernetes Networking" → "kubernetes-networking", "Spanish Grammar" → "spanish-grammar". Use lowercase, replace spaces with hyphens, remove special characters.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.