jh-math-exam

jh-math-exam is a skill for Claude Code, Codex from mathruffian-dot/teaching-exam-skills. It costs 215 tokens per session (9,869 once invoked), scanned A, original, MIT.

A Chinese-language assistant for creating and reviewing middle-school mathematics exams in Taiwan. It uses four levels of thinking from Bloom’s taxonomy, from remembering facts to analysing problems.

In plain words
What is it for?
Use it to plan exams, generate questions and answer sheets, review existing exams, create chapter-by-thinking-level tables, and add diagrams for geometry questions.
Why use it?
It helps teachers balance exam coverage and difficulty, check whether questions and answers are sound, and prepare consistent documents.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 output/generate_exam_docx.py output/exam_data.json output/ --blueprint-only.

Good fit Use it to plan exams, generate questions and answer sheets, review existing exams, create chapter-by-thinking-level tables, and add diagrams for geometry questions.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/mathruffian-dot/teaching-exam-skills
agentmods
npx agentmods add skills/mathruffian-dot/teaching-exam-skills/jh-math-exam

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for jh-math-exam

README.md
[![agentmods](https://agentmods.dev/badge/skills/mathruffian-dot/teaching-exam-skills/jh-math-exam/github.svg)](https://agentmods.dev/skills/mathruffian-dot/teaching-exam-skills/jh-math-exam)
Your own site
<a href="https://agentmods.dev/skills/mathruffian-dot/teaching-exam-skills/jh-math-exam"><img src="https://agentmods.dev/badge/skills/mathruffian-dot/teaching-exam-skills/jh-math-exam/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.

agentmods 80×15 button for jh-math-exam

Your own site · 80×15
<a href="https://agentmods.dev/skills/mathruffian-dot/teaching-exam-skills/jh-math-exam"><img src="https://agentmods.dev/badge/skills/mathruffian-dot/teaching-exam-skills/jh-math-exam.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 215 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,869 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00215 $0.09869
Opus 5 $0.00108 $0.04934
Sonnet 5 $0.00043 $0.01974
Haiku 4.5 $0.00021 $0.00987

Measured 7d ago against content hash 4169804e6110, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

jh-math-exam scanned grade A with 0 findings 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/jh-math-exam/SKILL.md · 671 lines

How it starts

The opening of the file, as written. The whole thing — 671 lines — stays where its author put it; the contents beside it link to each section on GitHub.

國中數學段考命題審題技能

技能概覽

本技能支援兩種模式,協助教師完成國中數學段考的完整命題與審題流程:

模式 A:出題模式(全新命題)

  1. 需求訪談 — 確認年級、範圍、題型、配分
  2. 規劃雙向細目表 — 章節 × 認知層次比例
  3. 生成題目 — 按 Bloom 四級分類產出
  4. 幾何圖形渲染 — 若有幾何題,自動呼叫 jh-math-geometry 技能的渲染腳本產生配圖 PNG
  5. 格式輸出 — 題目卷、答案卷、雙向細目表(三份 Word),幾何圖自動插入對應位置

模式 B:審題模式(審核現有考卷)

  1. 接收考卷 — 使用者貼入文字或上傳圖片/Word
  2. 逐題審查 — 判定 Bloom 層次、section 歸屬、答案與題目品質
  3. 輸出分級報告 — 顯示統計與偏差提示
  4. 格式輸出 — 僅產出雙向細目表(一份 Word)

環境約定(所有 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-exam
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:-(找不到,幾何題將無法配圖)}"

python3 -m pip install -q python-docx lxml cairosvg   # 首次使用安裝一次;Linux 系統 Python 拒絕時加 --break-system-packages
  • Windows 若沒有 python3 指令,把下文的 python3 換成 python;Bash 片段請在 Git Bash/WSL 執行。
  • 文中的「視覺確認」一律指讀取檔案(用你的檔案讀取工具開啟 .svg.png),不依賴任何特定工具。
  • 產出留在 output/,完成後在對話中列出檔案路徑即可,不需再複製到別處。

處理流程

Step 1:需求確認(必做)

向使用者確認以下資訊(未提供則詢問):

項目 說明
年級 七年級 / 八年級 / 九年級
學期 & 次別 第一學期第三次段考 等
考試範圍 章節名稱 + 版本(翰林版 / 康軒版 / 南一版)
題型需求 選擇題幾題、非選擇題幾題、配分
難度目標 參考 Bloom 各級比例,或教師自訂
模式 A. 出題(全新產出題目卷+答案卷+細目表) / B. 審題(審核現有考卷,只產細目表)

Step 2:建立雙向細目表

雙向細目表格式(本技能內建,不需外部檔案):

  • 縱軸:教材章節(依考試範圍列出各節名稱,如「1-1 等差數列」)
  • 橫軸:認知層次(記憶 / 理解 / 應用 / 分析)
  • 細格分數(題數),例如 6(2);最右欄「小計」,最下兩列「合計」與「百分比」
  • 表頭:學年度、學期、年級、次別、考試範圍;需要時加「對應課綱」欄(學習內容代碼 N/A/S/F/D,請上網查教育部十二年國教數學領綱)
章節 \ 層次 記憶 理解 應用 分析 小計
1-1 等差數列 4(1) 8(2) 12(3) 6(2) 30(8)
合計 10 20 40 30 100
百分比 10% 20% 40% 30% 100%

Read the full file on GitHub · 671 lines

Changes

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.

  1. 7d ago Changed · -176 lines 4169804e6110
  2. 11d ago First seen · 847 lines · 215 tokens per session scan A a5271b2137ea

Subscribe to this mod's changes

jh-math-exam is a skill published in the GitHub repository mathruffian-dot/teaching-exam-skills (5 stars, last pushed 7d ago), licensed MIT. It adds 215 tokens to every session and 9,869 once invoked, about $0.0011 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

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 "入职".

nexu-io/open-design · 62 tokens

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…

garrytan/gbrain · 138 tokens

miniapp

Build a tiny interactive HTML playground only when someone asks to see, play with, or step through a mechanism.

yc-software/qm · 25 tokens

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.

companion-inc/feynman · 63 tokens

deck-course-module

A course or workshop slide template with persistent learning goals, teaching pages, multiple-choice self-tests, and a wrap-up.

nexu-io/html-anything · 25 tokens

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.

xr843/Master-skill · 274 tokens