Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/mathruffian-dot/teaching-exam-skillsnpx agentmods add skills/mathruffian-dot/teaching-exam-skills/jh-math-context-questionsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/mathruffian-dot/teaching-exam-skills/jh-math-context-questions)<a href="https://agentmods.dev/skills/mathruffian-dot/teaching-exam-skills/jh-math-context-questions"><img src="https://agentmods.dev/badge/skills/mathruffian-dot/teaching-exam-skills/jh-math-context-questions/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/mathruffian-dot/teaching-exam-skills/jh-math-context-questions"><img src="https://agentmods.dev/badge/skills/mathruffian-dot/teaching-exam-skills/jh-math-context-questions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium analysis-evasion · line 1 Suspicious Unicode normalization or mixed-script contentFix: Review the flagged content for security risks. Ensure no credentials, secrets, or sensitive data are exposed.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00249 | $0.09753 |
| Opus 5 | $0.00125 | $0.04876 |
| Sonnet 5 | $0.00050 | $0.01951 |
| Haiku 4.5 | $0.00025 | $0.00975 |
Grade A, and why
jh-math-context-questions scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
result = subprocess.run(cmd, capture_output=True, text=True, encoding='utf-8', errors='replace') How it starts
The opening of the file, as written. The whole thing — 768 lines — stays where its author put it; the contents beside it link to each section on GitHub.
國中數學生活情境非選擇題命題技能
技能概覽
本技能依使用者指定的國中數學單元,上網搜尋相關生活情境與時事新聞, 將真實素材轉化為非選擇題,並匯出格式正確的 Word 文件。
- 五大題,每大題含兩小題
- 第(1)小題:閱讀素材,理解條件即可作答(Bloom 第2級:理解)
- 第(2)小題:承接第(1)題,結合數學單元,達到應用或分析層次(Bloom 第3-4級)
- 每大題皆含完整解析
- 幾何圖形支援:若題目涉及幾何情境,自動呼叫 jh-math-geometry 技能的渲染腳本產生 PNG 並插入 Word
- 匯出 Word 文件,數學式以 OMML 正確格式呈現
數學標記語法(題目撰寫規則)
在題目文字中,用大括號 {} 包住數學式,系統會自動轉為 Word 正確格式:
| 標記語法 | 說明 |
|---|---|
| {x^2} | x 的平方(上標) |
| {x^{n+1}} | 上標含運算式 |
| {x_1} | x 下標 1 |
| {sqrt(2)} | 根號 2 |
| {sqrt3} | 三次方根 8 |
| {frac(3,4)} | 分數 3/4 |
| {(a+b)/2} | 含運算式的分數 |
| { | x-3 |
| {<=} | 小於等於符號 |
| {>=} | 大於等於符號 |
| {!=} | 不等於符號 |
規則:分數一律
{frac(分子,分母)}、次方一律{x^2}、根號一律{sqrt(x)}、不等號一律{<=}{>=}{!=},不直接貼 ²、√ 等字元;簡單方程式(如2x + 3 = 7)不需加{}。
環境約定(所有 Step 共用)
本技能不假設任何特定沙箱或工具名稱,路徑一律依下列約定:
| 名稱 | 意義 |
|---|---|
本技能目錄($SKILL_DIR) |
這份 SKILL.md 所在的資料夾 |
output/ |
當前工作目錄下的產出資料夾:中間檔(exam_data.json、幾何圖)與最終 Word 都放這裡 |
$GEOM_DIR |
jh-math-geometry 技能的 scripts/:同 repo 的 skills/jh-math-geometry/scripts/,或已安裝的 jh-math-geometry 技能 |
SKILL_DIR="<本技能目錄的絕對路徑>" # 例:~/.claude/skills/jh-math-context-questions
mkdir -p output
# 幾何腳本位置:同 repo 的 skills/jh-math-geometry/,或已安裝的 jh-math-geometry 技能
GEOM_DIR=""
for d in "$SKILL_DIR/../jh-math-geometry/scripts" "$HOME/.claude/skills/jh-math-geometry/scripts"; do
[ -f "$d/geometry_renderer.py" ] && GEOM_DIR="$d" && break
done
echo "幾何腳本目錄:${GEOM_DIR:-(找不到,幾何題將無法配圖)}"
# draw 生圖技能(選配):找不到就跳過 Step 5.7/6.6 的情境插圖,不影響出題與匯出
DRAW="$HOME/.claude/skills/draw/draw.py"
[ -f "$DRAW" ] || echo "ℹ️ 無 draw 技能,將跳過情境插圖"
python3 -m pip install -q python-docx lxml cairosvg pillow # 首次使用安裝一次;Linux 系統 Python 拒絕時加 --break-system-packages
- Windows 若沒有
python3指令,把下文的python3換成python;Bash 片段請在 Git Bash/WSL 執行。- 文中的「視覺確認」一律指讀取檔案(用你的檔案讀取工具開啟
.svg/.png),不依賴任何特定工具。- 產出留在
output/,完成後在對話中列出檔案路徑即可,不需再複製到別處。
處理流程
Step 1:確認需求
向使用者確認(未提供則詢問):數學單元、年級(七/八/九年級)、版本(選填)
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 7d ago Changed · -154 lines cc65f5d2a80c
- 11d ago First seen · 922 lines · 249 tokens per session scan A 78f60214b61c
jh-math-context-questions is a skill published in the GitHub repository mathruffian-dot/teaching-exam-skills (5 stars, last pushed 7d ago), licensed MIT. It adds 249 tokens to every session and 9,753 once invoked, about $0.0012 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
hr-onboarding
A new-hire onboarding plan as a single page — first week schedule, buddy + manager intro, learning track, equipment checklist, and "you're set when…" outcomes. Use when the brief mentions "onboarding", "new hire", "first week plan", or "入职".
book-mirror
Take any book (EPUB/PDF), produce a personalized chapter-by-chapter analysis. Each chapter is preserved in detail (The Chapter) and mirrored back to the reader's actual life (The Mirror) using brain context. The mirror observes and resonates — a friend pointing out parallels, NOT a consultant rearranging the reader's…
miniapp
Build a tiny interactive HTML playground only when someone asks to see, play with, or step through a mechanism.
eli5
Explain research, papers, or technical ideas in plain English with minimal jargon, concrete analogies, and clear takeaways. Use when the user says "ELI5 this", asks for a simple explanation of a paper or research result, wants jargon removed, or asks what something technically dense actually means.
deck-course-module
A course or workshop slide template with persistent learning goals, teaching pages, multiple-choice self-tests, and a wrap-up.
master-yinguang
A reference-based assistant for questions about Yinguang and Pure Land Buddhism, a Buddhist tradition focused on faith, ethical living, and practice connected with rebirth in the Pure Land. It can answer in Yinguang’s historical teaching style.