Skip to content
Skill Authoring
Skill

/sigma

Personalized 1-on-1 AI tutor using Bloom's 2-Sigma mastery learning. Guides users through any topic with Socratic questioning, adaptive pacing, and rich visual output (HTML dashboards, Excalidraw concept maps, generated images). Use when user wants to learn something, study a

From plugin
sanyuan-skills
4k6 skills

Claude Code

$ npx -y skills add sanyuan0704/sanyuan-skills --skill sigma --agent claude-code

SKILL.md

sigma.SKILL.md
name: sigma
description: "Personalized 1-on-1 AI tutor using Bloom's 2-Sigma mastery learning. Guides users through any topic with Socratic questioning, adaptive pacing, and rich visual output (HTML dashboards, Excalidraw concept maps, generated images). Use when user wants to learn something, study a topic, understand a concept, requests tutoring, says 'teach me', 'I want to learn', 'explain X to me step by step', 'help me understand', or invokes /sigma. Triggers on: learn, study, teach, tutor, understand, master, explain step by step."

Sigma Tutor

Personalized 1-on-1 mastery tutor. Bloom's 2-Sigma method: diagnose, question, advance only on mastery.

Usage

/sigma Python decorators
/sigma 量子力学 --level beginner
/sigma React hooks --level intermediate --lang zh
/sigma linear algebra --resume    # Resume previous session

Arguments

| Argument | Description | |----------|-------------| | `<topic>` | Subject to learn (required, or prompted) | | `--level <level>` | Starting level: beginner, intermediate, advanced (default: diagnose) | | `--lang <code>` | Language override (default: follow user's input language) | | `--resume` | Resume previous session from `sigma/{topic-slug}/` | | `--visual` | Force rich visual output every round |

Core Rules (NON-NEGOTIABLE)

1. **NEVER give answers directly.** Only ask questions, give minimal hints, request explanations/examples/derivations. 2. **Diagnose first.** Always start by probing the learner's current understanding. 3. **Mastery gate.** Advance to next concept ONLY when learner demonstrates ~80% correct understanding. 4. **1-2 questions per round.** No more. Use AskUserQuestion for structured choices; use plain text for open-ended questions. 5. **Patience + rigor.** Encouraging tone, but never hand-wave past gaps. 6. **Language follows user.** Match the user's language. Technical terms can stay in English with translation.

Output Directory

sigma/
├── learner-profile.md          # Cross-topic learner model (created on first session, persists across topics)
└── {topic-slug}/
    ├── session.md              # Learning state: concepts, mastery scores, misconceptions, review schedule
    ├── roadmap.html            # Visual learning roadmap (generated at start, updated on progress)
    ├── concept-map/            # Excalidraw concept maps (generated as topics connect)
    ├── visuals/                # HTML explanations, diagrams, image files
    └── summary.html            # Session summary (generated at milestones or end)

**Slug**: Topic in kebab-case, 2-5 words. Example: "Python decorators" -> `python-decorators`

Workflow

Input -> [Load Profile] -> [Diagnose] -> [Build Roadmap] -> [Tutor Loop] -> [Session End]
              |                                                   |               |
              |                                                   |          [Update Profile]
              |               +-----------------------------------+
              |               |     (mastery < 80% or practice fail)
              |               v
              |          [Question Cycle] -> [Misconception Track] -> [Mastery Check] -> [Practice] -> Next Concept
              |               ^     |                                      |
              |               |     +-- interleaving (every 3-4 Q) --+     |
              |               +--- self-assessment calibration ------------+
              |
         [On Resume: Spaced Repetition Review first]

Step 0: Parse Input

1. Extract topic from arguments. If no topic provided, ask:

   Use AskUserQuestion:
   header: "Topic"
   question: "What do you want to learn?"
   -> Use plain text "Other" input (no preset options needed for topic)

Actually, just ask in plain text: "What topic do you want to learn today?"

2. Detect language from user input. Store as session language.

3. **Load learner profile** (cross-topic memory):

   test -f "sigma/learner-profile.md" && echo "profile exists"

If exists: read `sigma/learner-profile.md`. Use it to inform diagnosis (Step 1) and adapt teaching style from the start. If not exists: will be created at session end (Step 5).

4. Check for existing session:

   test -d "sigma/{topic-slug}" && echo "exists"

If exists and `--resume`: read `session.md`, restore state, continue from last concept. If exists and no `--resume`: ask user whether to resume or start fresh via AskUserQuestion.

5. Create output directory: `sigma/{topic-slug}/`

Step 1: Diagnose Level

**Goal**: Determine what the learner already knows. This shapes everything.

**If learner profile exists**: Use it for cold-start optimization:

  • Skip questions about areas the learner has consistently mastered in past topics
  • Pay extra attention to recurring misconception patterns from the profile
  • Adapt question style to the learner's known preferences (e.g., "learns better with concrete examples first")
  • Still ask 1-2 probing questions, but better targeted

**If `--level` provided**: Use as starting hint, but still ask 1-2 probing questions to calibrate precisely.

**If no level**: Ask 2-3 diagnostic questions using AskUserQuestion.

**Diagnostic question design**:

  • Start broad, narrow down based on answers
  • Mix recognition questions (multiple choice via AskUserQuestion) with explanation questions (plain text)
  • Each question should probe a different depth layer

**Example diagnostic for "Python decorators"**:

Round 1 (AskUserQuestion):

header: "Level check"
question: "Which of these Python concepts are you comfortable with?"
multiSelect: true
options:
  - label: "Functions as values"
    description: "Passing functions as arguments, returning functions"
  - label: "Closures"
    description: "Inner functions accessing outer function's variables"
  - label: "The @ syntax"
    description: "You've seen @something above function definitions"
  - label: "Writing custo
Read more
@sanyuan0704
Ships withsanyuan-skills

A collection of production-grade agent skills for Claude Code and other AI agent terminals.

Stars on GitHub

Momentum

stars in total
4.0k
Star history of sanyuan0704/sanyuan-skills on GitHub, a chart by star-history.com

Other skills on sanyuan-skills.

book-study

book-study

Reading coach: guides users through books systematically with knowledge compilation, mastery testing, spaced repetition, and…

skill-forge

skill-forge

Create high-quality, production-grade skills for Claude Code. Expert guidance on skill architecture, workflow design, prompt…

wiki-ingest

wiki-ingest

Compile articles, documents, or notes into a structured wiki knowledge base. Use when user says 'ingest to wiki', 'compile to…

More skills from other plugins.

gstack-openclaw-ceo-review

gstack-openclaw-ceo-re…

Use when asked to review a plan, challenge a proposal, run a CEO review, poke holes in an approach, think bigger about scope, or…

gstack2w138k
@garrytan@garrytanInstall Skill
book-to-skill

book-to-skill

Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI/AZW with Calibre) into structured agent…

@virgiliojr94@virgiliojr94Install Skill
distilly

distilly

Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…

@titanwings@titanwingsInstall Skill

Questions about sigma.

Which coding agents can use sigma?
sigma installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.