一键导入
math-graph
使用 Python + Matplotlib 生成教科书级别的数学函数图像。当用户想要画函数图、生成图像、可视化数学概念、替换 ASCII 字符图时使用此技能。支持任意函数表达式、多图对比、专业标注。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
使用 Python + Matplotlib 生成教科书级别的数学函数图像。当用户想要画函数图、生成图像、可视化数学概念、替换 ASCII 字符图时使用此技能。支持任意函数表达式、多图对比、专业标注。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
822电子技术基础考研学习入口。用于湖南大学822专业课的新学、题型训练、错题回收、章节复盘、模电/数电进度推进。默认围绕“章节输入 -> 题型SOP -> 错题归因 -> 进度更新”的考研闭环执行。
822电子技术基础知识结构与章节复盘模块。用于模电/数电章节定位、前置知识判断、高频题型映射、学习顺序建议、章节卡片和进度骨架生成。
This skill handles note generation and updates for 考研数学 (Chinese graduate entrance math exam) preparation. Use it when users want to generate exam-oriented study notes from existing materials, update notes based on feedback, or create structured learning content with LaTeX formatting.
This skill handles note generation and updates for 考研数学 (Chinese graduate entrance math exam) preparation. Use it when users want to generate exam-oriented study notes from existing materials, update notes based on feedback, or create structured learning content with LaTeX formatting.
审计并优化 LLM 提示缓存命中率、输入 token、延迟与调用成本。用于用户要求“优化缓存命中”“降低 token 成本”“审计 LLM 调用”“提示词缓存优化”“优化 AI 调用费用”,或需要为任意 agent profile 与应用代码建立可观测性和固定回归样本时。
Create or retrofit reusable named workflow state machines for multi-step agent projects. Use when a project needs recoverable workflow state files, multiple workflow definitions, phase gates, restart-safe agent workflows, explicit skipped/blocked states, workflow routing rules, or reusable workflow templates across repositories.
| name | math-graph |
| description | 使用 Python + Matplotlib 生成教科书级别的数学函数图像。当用户想要画函数图、生成图像、可视化数学概念、替换 ASCII 字符图时使用此技能。支持任意函数表达式、多图对比、专业标注。 |
| version | 1.0.0 |
本技能使用 Python + Matplotlib 生成高质量、教科书风格的数学函数图像,用于替换模糊的 ASCII 字符图,让数学概念更加清晰直观。
支持任意 Python/math 语法函数表达式:
abs(x), x**2, sin(x), exp(x)支持并排展示多个函数,便于对比分析:
/math-graph 画 y = |x| 的图像
/math-graph 对比 y = |x| 和 y = x^(1/3)
/math-graph 生成角点和无穷导数的对比图
# 单函数绘图
python .Codex/skills/math-graph/scripts/plot_functions.py \
--function "abs(x)" \
--range "-2,2" \
--output "考研数学/高数-一元微分学/.../assets/corner.png" \
--title "角点"
# 多函数对比(并排)
python .Codex/skills/math-graph/scripts/plot_functions.py \
--compare \
--functions "abs(x)" "np.cbrt(x)" \
--titles "角点 (|x|)" "无穷导数 (x^{1/3})" \
--output "assets/compare.png"
assets/ 子文件夹| 概念 | 函数表达式 | 说明 |
|---|---|---|
| 角点 | abs(x) | $y = |x|$,左右导数不等 |
| 无穷导数 | np.cbrt(x) | $y = x^{1/3}$,垂直切线 |
| 尖点 | np.sign(x) * np.abs(x)**(2/3) | $y = x^{2/3} \cdot \text{sgn}(x)$ |
| 可去间断 | (x**2 - 1) / (x - 1) if x != 1 else None | $y = \frac{x^2-1}{x-1}$ |
| 跳跃间断 | np.where(x < 0, -1, 1) | 阶梯函数 |
| 渐近线 | 1/x | $y = 1/x$ |
pip install matplotlib numpy seaborn
创建日期: 2026-03-16 维护者: Codex + 用户协作