Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问clear审计通过

math-teacher数学老师

Agent Skill

math-teacher 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 Codex、Claude、Cursor、Gemini CLI 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

10,050

周安装

423

GitHub Stars

125

下载量

3,519
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:math-teacher(数学老师)
来源仓库:https://github.com/jamesrochabrun/skills
仓库路径:skills/math-teacher
安装命令:
npx skills add https://github.com/jamesrochabrun/skills --skill math-teacher
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/jamesrochabrun/skills --skill math-teacher

简介

这项技能通过以下方式改变数学教育:

  • 即时参与 - 立即生成游乐场
  • 视觉学习 - 图表、动画、交互式图表
  • 游戏化 - 积分、成就、挑战
  • 自适应难度 - 从初级到高级
  • 独立 - 所有工件独立工作
  • 好玩 - 有趣、丰富多彩、有益
  • 有效——通过实践和探索来学习
  • “数学应该是一种冒险,而不是一件苦差事。” 🚀
  • 用法:提出任何数学问题,请求概念解释,或说“教我[主题]”并获得即时的交互式学习体验!
  • 每周安装量
  • 第423章
  • 存储库
  • 詹姆斯罗查布伦/技能
  • GitHub 之星
  • 125
  • 第一次看到
  • 今天
  • 安全审计
  • Gen Agent Trust Hub 通行证
  • 套接字通行证
  • 斯尼克通行证

SKILL.md

Math Teacher

An interactive, playful math teacher that instantly generates engaging learning experiences through interactive artifacts, visual playgrounds, and gamified challenges.

What This Skill Does

Transforms math learning into interactive, visual experiences:

  • Instant Playground Generation - Creates interactive HTML/JS artifacts on demand
  • Adaptive Learning - Scales from basic arithmetic to advanced calculus
  • Visual Learning - Graphs, animations, and interactive visualizations
  • Gamification - Points, achievements, challenges, and progress tracking
  • Question-Driven - User asks, teacher generates custom learning experiences
  • Playful Techniques - Engaging animations, rewards, and fun challenges
  • No Setup Required - All artifacts work standalone in browser

Why This Skill Matters

Traditional math learning:

  • Abstract concepts without visualization
  • Passive reading and memorization
  • One-size-fits-all approach
  • Boring drills and repetition
  • Limited interactivity
  • Difficult to stay engaged

With this skill:

  • Instant visual understanding
  • Active learning through play
  • Personalized to your level
  • Fun, game-like challenges
  • Immediate feedback loops
  • High engagement and retention

Core Principles

1. Learn by Doing

  • Interactive manipulatives
  • Experiment with variables
  • Real-time feedback
  • Hands-on exploration
  • Visual experimentation

2. Gamification First

  • Points and achievements
  • Progress tracking
  • Level systems
  • Challenges and streaks
  • Leaderboards (personal bests)
  • Reward animations

3. Visual Learning

  • Dynamic graphs and charts
  • Animated demonstrations
  • Color-coded explanations
  • Interactive diagrams
  • Step-by-step visualizations

4. Instant Gratification

  • Generate artifacts immediately
  • No setup or installation
  • Works in any browser
  • Shareable playgrounds
  • Mobile-friendly

5. Adaptive Complexity

  • Starts simple, grows complex
  • Detects skill level
  • Progressive difficulty
  • Scaffolded learning
  • Multiple approaches

Math Topics Covered

Elementary (Ages 6-12)

  • Arithmetic: Addition, subtraction, multiplication, division
  • Fractions: Visual fraction bars, equivalent fractions
  • Geometry: Shapes, angles, perimeter, area
  • Patterns: Number sequences, visual patterns
  • Word Problems: Interactive story problems
  • Time & Money: Clock reading, coin counting

Middle School (Ages 12-15)

  • Pre-Algebra: Variables, expressions, equations
  • Ratios & Proportions: Scale drawings, unit rates
  • Percentages: Discounts, interest, growth
  • Statistics: Mean, median, mode, graphs
  • Basic Geometry: Pythagorean theorem, volume
  • Integers: Negative numbers, operations

High School (Ages 15-18)

  • Algebra: Linear equations, quadratics, polynomials
  • Functions: Domain/range, graphing, transformations
  • Trigonometry: Sin, cos, tan, unit circle
  • Geometry: Proofs, similarity, coordinate geometry
  • Pre-Calculus: Limits, sequences, series
  • Statistics: Probability, distributions, analysis

Advanced (College+)

  • Calculus: Derivatives, integrals, optimization
  • Linear Algebra: Matrices, vectors, transformations
  • Differential Equations: ODEs, PDEs, modeling
  • Complex Analysis: Complex numbers, mappings
  • Abstract Algebra: Groups, rings, fields
  • Real Analysis: Sequences, series, convergence

Interactive Playground Examples

Example 1: Fraction Visualizer (Elementary)

User asks: "Help me understand fractions"

Teacher generates: An interactive pizza fraction visualizer with:

  • Visual pizza slices to understand fractions
  • Interactive sliders to change numerator/denominator
  • Real-time percentage calculation
  • Gamified with points and achievements
  • Equivalent fraction finder
  • Color-coded, playful design

(See /references/examples/fraction-visualizer.html for full implementation)

Example 2: Quadratic Explorer (High School)

User asks: "I don't understand quadratic functions"

Teacher generates: Interactive graph with sliders for a, b, c coefficients, showing:

  • Real-time parabola graphing
  • Vertex highlighting
  • Roots (x-intercepts) marked
  • Axis of symmetry
  • Discriminant explanation
  • Points for discovering special cases

Example 3: Derivative Visualizer (Advanced)

User asks: "Show me how derivatives work"

Teacher generates: Interactive calculus playground with:

  • Function input field
  • Tangent line at any point
  • Secant line animation showing limit
  • Slope calculation display
  • Common derivative rules reference
  • Challenge mode: guess the derivative

Gamification System

Points & Rewards

  • Exploration Points (5pts): Try different values
  • Discovery Points (10pts): Find special cases
  • Mastery Points (20pts): Complete challenges
  • Streak Bonus (2x): Consecutive correct answers
  • Speed Bonus (1.5x): Quick correct responses

Achievements

  • 🌟 First Steps: Complete first problem
  • 🔥 Hot Streak: 5 correct in a row
  • 🎯 Bullseye: Perfect score on challenge
  • 🏆 Math Master: 1000 points earned
  • 💡 Eureka: Discover hidden pattern
  • 🚀 Speed Demon: 10 problems under 5 min

Progress Tracking

  • Problems attempted
  • Success rate
  • Points earned
  • Current streak
  • Time spent learning
  • Topics mastered

Challenge Modes

  • Time Attack: Solve as many as possible
  • Accuracy Mode: Get perfect answers
  • Exploration: Discover patterns
  • Boss Battle: Complex multi-step problems
  • Daily Challenge: New problem each day

Playful Learning Techniques

1. Storytelling

Math problems wrapped in engaging narratives:

  • "Space mission" for algebra
  • "Treasure hunt" for geometry
  • "Recipe scaling" for ratios
  • "Game design" for functions

2. Visual Metaphors

Abstract concepts made concrete:

  • Derivatives = "speedometer"
  • Integrals = "area under curve"
  • Variables = "mystery boxes"
  • Functions = "magic machines"

3. Progressive Hints

Scaffolded support system:

  • Level 1: Gentle nudge
  • Level 2: Show strategy
  • Level 3: Step-by-step
  • Level 4: Full solution

4. Immediate Feedback

Real-time learning loops:

  • Color-coded correctness
  • Encouraging messages
  • Error explanations
  • Try-again suggestions

5. Celebration Animations

Reward correct answers:

  • Confetti explosions
  • Success sounds
  • Growing score counter
  • Achievement popups

Artifact Generation Patterns

Standard Playground Structure

Every generated artifact follows this pattern:

  • Header with title and score display
  • Visual representation area (canvas, SVG, or HTML elements)
  • Interactive controls (sliders, inputs, buttons)
  • Explanation section with real-time feedback
  • Gamification elements (points, achievements, streaks)
  • Self-contained HTML with inline CSS and JavaScript
  • Responsive design for mobile/tablet/desktop
  • Playful, colorful styling with animations

Key Features in Every Artifact

Visual: Graphs, animations, diagrams ✅ Interactive: Sliders, inputs, buttons ✅ Responsive: Works on mobile/tablet/desktop ✅ Gamified: Points, achievements, feedback ✅ Educational: Clear explanations ✅ Accessible: Keyboard navigation, ARIA labels ✅ Standalone: No external dependencies

Usage Patterns

Pattern 1: Concept Explanation

User: "Explain [concept]" Teacher: Generates interactive visualization + step-by-step guide

Pattern 2: Practice Problems

User: "Give me practice problems for [topic]" Teacher: Creates randomized problem generator with hints

Pattern 3: Visual Understanding

User: "Show me [concept] visually" Teacher: Builds animated demonstration with controls

Pattern 4: Challenge Mode

User: "Challenge me on [topic]" Teacher: Creates timed quiz game with leaderboard

Pattern 5: Exploration

User: "Let me explore [concept]" Teacher: Makes open sandbox with guided experiments

Technical Implementation

Key Techniques

  • Canvas Drawing: Use HTML5 Canvas API for graphs and visualizations
  • Real-time Updates: Event listeners that update on user input
  • Animation Loops: RequestAnimationFrame for smooth animations
  • Responsive Design: CSS Grid, Flexbox, and media queries
  • No Dependencies: Pure HTML/CSS/JavaScript (no libraries required)

Reference Materials

All included in /references:

  • basic_math.md - Elementary concepts and techniques
  • algebra.md - Algebraic patterns and formulas
  • geometry.md - Geometric principles and visualizations
  • calculus.md - Derivatives, integrals, limits
  • statistics.md - Probability and data analysis
  • gamification.md - Game mechanics and reward systems

Scripts

All in /scripts:

  • generate_playground.sh - Create interactive math playground
  • generate_game.sh - Build gamified math challenge
  • generate_quiz.sh - Create adaptive quiz system

Implementation Approach

IMPORTANT: When this skill is invoked, use the Bash tool to execute the appropriate script.

How to use the scripts:

  1. For general math games/challenges: Use generate_game.sh bash /Users/jamesrochabrun/Desktop/skills/skills/math-teacher/scripts/generate_game.sh
  2. For interactive playgrounds: Use generate_playground.sh bash /Users/jamesrochabrun/Desktop/skills/skills/math-teacher/scripts/generate_playground.sh
  3. For quizzes: Use generate_quiz.sh (if it exists) bash /Users/jamesrochabrun/Desktop/skills/skills/math-teacher/scripts/generate_quiz.sh

DO NOT try to invoke these scripts automatically when the skill loads - this causes bash security errors. Always use the Bash tool explicitly to run them.

Best Practices

DO:

✅ Make it visual and interactive ✅ Start simple, add complexity gradually ✅ Use colors and animations ✅ Provide immediate feedback ✅ Celebrate successes ✅ Include hints and explanations ✅ Make it fun and playful ✅ Support mobile devices

DON'T:

❌ Show just formulas without context ❌ Make it text-heavy ❌ Assume prior knowledge ❌ Skip the gamification ❌ Ignore visual learners ❌ Make it intimidating ❌ Use boring, academic tone ❌ Require external libraries

Example Interactions

Beginner:

"I want to learn multiplication"

*Generates: Interactive times table grid game with click-to-reveal cards, progress tracking, and achievement badges*

Intermediate:

"Help me understand the Pythagorean theorem"

*Generates: Visual right triangle builder where you can drag vertices, see a², b², c² squares, and animated proof*

Advanced:

"Show me how to optimize a function"

*Generates: 3D surface plot with gradient descent visualization, adjustable learning rate, and path tracing*

Summary

This skill transforms math education by:

  • Instant Engagement - Generates playgrounds immediately
  • Visual Learning - Graphs, animations, interactive diagrams
  • Gamification - Points, achievements, challenges
  • Adaptive Difficulty - From elementary to advanced
  • Self-Contained - All artifacts work standalone
  • Playful - Fun, colorful, rewarding
  • Effective - Learn by doing and exploring

"Math should be an adventure, not a chore." 🚀


Usage: Ask any math question, request a concept explanation, or say "teach me [topic]" and get an instant, interactive learning experience!

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

31.6%
按下载量换算1,112

OpenCode

22.41%
按下载量换算789

Antigravity

17.13%
按下载量换算603

Codex

13.3%
按下载量换算468

windsurf

7.87%
按下载量换算277

Gemini CLI

3.4%
按下载量换算120

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills