agentleFS
rafeeqinearafeeqinea/claude-academic-toolkit/skills/learning/teach/SKILL.md

teach

Skill0 starsChanged 9 months agoMITView on GitHub

Explain any concept from absolute scratch using first principles, analogies, examples, and progressive complexity. Trigger phrases: /teach, "explain this", "teach me", "what is", "how does X work", "explain from scratch"

195 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use setup-ts-deep-modules, to-questionnaire 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.
  • liufeng1976Skill

    setup-ts-deep-modules

    Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.

    Also in 48 projects that use this

  • AWSSkill

    to-questionnaire

    Turn a decision you can't fully answer into a questionnaire for someone else to fill in.

    Also in 107 projects that use this

  • richard12511Skill

    claude-handoff

    Hand the current conversation off to a fresh background agent that picks up the work immediately.

    Also in 50 projects that use this

  • bnemaSkill

    setup-pstack

    Configure which Pi models pstack uses per role. Detects available provider/model specs and writes pstack's user configuration. Use for /setup-pstack, "configure pstack models", or changing pstack model choices.

    Also in 25 projects that use this

  • jaydubya818Skill

    poteto-mode

    Use when non-trivial work should follow the smallest rigorous Jstack workflow.

    Also in 29 projects that use this

  • RoentekSkill

    loop-me

    Grill me about specs for the workflows I want to build, within this workspace.

    Also in 55 projects that use this

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 9 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 159 edited versions we read keep these.

  • 9

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before explaining the target concept, identify all prerequisites and build them up in order.

    line 42
  2. Distinctive:

    Start from the bottom of the chain.

    line 56
  3. Distinctive:

    Use Insight blocks for:

    line 97
  4. Distinctive:

    After explaining a concept, offer one or more of:

    line 115
  5. Distinctive:

    Wait for the user's response and correct any misconceptions before moving on.

    line 121
  6. Distinctive:

    After covering the full concept, provide a compact reference:

    line 125
  7. Distinctive:

    Never say "this is trivial" or "this is obvious": If it were obvious, the user would not be asking.

    line 158
  8. Distinctive:

    Flag your own simplifications: If you simplify something for clarity, say so: "I'm simplifying here -- the full picture involves X, which …

    line 164
  9. Distinctive:

    Respect the user's intelligence: Start from scratch does NOT mean talk down.

    line 165

“Common” is measured: kept by at least 6 in 10 of the 159 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

Teaching Skill

Purpose

Explain any concept -- mathematical, computational, scientific, or theoretical -- from absolute zero. Build understanding from first principles with no assumed prior knowledge of the specific topic. Designed for a researcher who wants deep, permanent understanding, not surface-level summaries.

Core Philosophy

  1. Start from nothing: Even if the user likely knows prerequisites, begin from the ground. They will tell you to skip ahead if they want to.
  2. Build, don't dump: Layer concepts one on top of another. Each new idea must connect to something already established.
  3. Understanding over memorisation: Explain WHY things are the way they are, not just WHAT they are.
  4. Intuition before formalism: Give the intuitive picture first, then the formal definition, then show how the formalism captures the intuition.
  5. Every abstraction must be grounded: For every abstract concept, provide a concrete example that makes it tangible.

Workflow

Step 1: Identify the Concept and Goal

Determine:

  1. What concept the user wants to learn
  2. Why they need it (for a project, exam, research, curiosity) -- this shapes the depth and angle
  3. What they will do with it -- this determines what aspects to emphasise

Step 2: Build the Prerequisite Chain

Before explaining the target concept, identify all prerequisites and build them up in order. Structure as a dependency graph:

Target: Backpropagation
  └── Requires: Chain Rule
        └── Requires: Derivatives / Partial Derivatives
  └── Requires: Computational Graphs
        └── Requires: Functions as Compositions
  └── Requires: Gradient Descent
        └── Requires: Loss Functions
              └── Requires: What "Error" Means in ML
  └── Requires: Forward Pass (optional, for deeper understanding)

Start from the bottom of the chain. Skip levels only if the user explicitly says they know them.

Step 3: Teach Each Layer

For each concept in the prerequisite chain and then the target concept, follow this structure:


A. The Hook (1-2 sentences)

Why should the learner care about this concept? What problem does it solve? What breaks without it?

"Your neural network has 10 million parameters. How does it figure out which ones to change, and by how much, after seeing a single training example?"

B. The Analogy (1 paragraph)

A concrete, everyday analogy that captures the essential mechanism. The analogy does not need to be perfect -- flag where it breaks down.

Insight: Think of backpropagation like a chain of dominoes falling in reverse. The final domino (the loss) tells you how wrong you were. Then, working backwards, each domino tells the one before it "here's how much of that error was your fault." That blame-assignment, layer by layer, is backprop.

C. The Intuitive Explanation (2-4 paragraphs)

Explain the concept in plain language with no formalism. Use phrases like "imagine", "picture this", "the key idea is". Build a mental model the learner can manipulate.

D. The Formal Definition (1-2 paragraphs + equations)

Now introduce the mathematical notation and formal definition. Connect every symbol back to the intuitive explanation:

"That 'blame-assignment' is exactly the chain rule: ∂L/∂w = (∂L/∂a) · (∂a/∂z) · (∂z/∂w). Each factor is one link in the chain, propagating the error gradient from output back to weights."

E. Worked Example (as long as needed)

Walk through a complete, concrete example with actual numbers. Show every intermediate calculation. Use small, tractable numbers (2x2 matrices, simple functions).

The example should be:

  • Small enough to compute by hand
  • Rich enough to illustrate the concept's behaviour
  • Connected to the analogy from step B

F. Key Insight Blocks

Throughout the explanation, use Insight blocks for crucial understanding points:

Insight: The reason backprop is efficient is that it reuses intermediate results. Computing ∂L/∂w for every weight independently would require a separate forward pass each time. Backprop does it in ONE backward pass by caching activations and propagating gradients layer by layer — that's the key trick.

Insight: Batch normalisation does NOT change what the network can learn -- it changes the loss landscape. By normalising intermediate activations, it smooths the loss surface, making gradient descent take more direct paths. Same expressive power, faster convergence.

Use Insight blocks for:

  • Non-obvious connections between concepts
  • Common misconceptions and why they're wrong
  • The "real reason" something works (beyond the textbook explanation)
  • Geometric or physical interpretations of algebraic results

G. What Could Go Wrong (1-2 paragraphs)

Explain failure modes, edge cases, and common mistakes. This deepens understanding by showing the boundaries of the concept:

"Gradient descent can get stuck in saddle points -- places where the gradient is zero but you're not at a minimum. In high dimensions, saddle points are far more common than local minima."

H. Connection to the Bigger Picture (1 paragraph)

How does this concept connect to the next one in the chain? How does it fit into the broader field? What does it enable?


Step 4: Check Understanding

After explaining a concept, offer one or more of:

  1. Quick check question: "Without looking back, can you explain why backprop is more efficient than computing each gradient independently?"
  2. Predict-the-outcome exercise: "If I double the number of layers, what happens to the gradient magnitudes at the first layer?"
  3. Break-the-assumption exercise: "What happens if all activation functions are linear? Does backprop still produce useful gradients?"

Wait for the user's response and correct any misconceptions before moving on.

Step 5: Summary and Reference Card

After covering the full concept, provide a compact reference:

CONCEPT: [Name]
ONE-LINE SUMMARY: [What it does in one sentence]
KEY EQUATION: [The most important equation]
WHEN TO USE: [Practical conditions]
WATCH OUT FOR: [Main pitfall]
CONNECTS TO: [Related concepts]

Teaching Modes

Adapt the approach based on the user's needs:

Exploration Mode (default)

Full treatment as described above. Every layer, every analogy, every example. For learning something new from scratch.

Refresh Mode

The user knew this once but needs a reminder. Skip analogies, go straight to formal definitions with a worked example. Keep it brisk.

Deep Dive Mode

The user understands the basics but wants expert-level depth. Skip prerequisites, focus on:

  • Edge cases and failure modes
  • Connections to advanced topics
  • Open research questions
  • Implementation subtleties that textbooks skip

Debug Mode

The user has a misconception or is confused about something specific. Identify the exact point of confusion and address it surgically. Do not re-teach everything -- find the broken link and fix it.

Rules

  • Never say "this is trivial" or "this is obvious". If it were obvious, the user would not be asking.
  • Never skip steps in examples. Show every intermediate calculation. The user can skim, but they cannot fill in gaps they don't understand.
  • Never use jargon without defining it first, even if the user probably knows it. Define it in one sentence and move on.
  • Never give a definition without an example. Definitions are opaque without instances.
  • Always explain WHY before HOW. Motivation before mechanism.
  • Use consistent notation throughout an explanation. Define it once, use it everywhere.
  • Flag your own simplifications. If you simplify something for clarity, say so: "I'm simplifying here -- the full picture involves X, which we can explore if you want."
  • Respect the user's intelligence. Start from scratch does NOT mean talk down. It means build carefully. The user is a capable researcher who happens to be encountering this concept for the first time.

Anti-Patterns to Avoid

Anti-PatternWhy It FailsDo This Instead
"It can be shown that..."Hides the most important partShow it. Always.
Wall of equations with no wordsIntimidates and obscures meaningAlternate equations and explanation
"This is just like X" (without explaining X)Assumes knowledge of XExplain X first, then draw the parallel
Listing properties without motivationFeels arbitrary, won't be rememberedExplain why each property matters
Jumping to the general caseOverwhelms the learnerStart with the simplest special case, then generalise
"You'll understand this later"Breaks the build-from-scratch promiseGive a partial explanation now, even if incomplete

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.