Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add mathruffian-dot/teaching-exam-skills --skill jh-math-geometrygit clone --depth 1 https://github.com/mathruffian-dot/teaching-exam-skillsWrote 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-geometry)<a href="https://agentmods.dev/skills/mathruffian-dot/teaching-exam-skills/jh-math-geometry"><img src="https://agentmods.dev/badge/skills/mathruffian-dot/teaching-exam-skills/jh-math-geometry/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-geometry"><img src="https://agentmods.dev/badge/skills/mathruffian-dot/teaching-exam-skills/jh-math-geometry.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00399 | $0.02569 |
| Opus 5.5 | $0.00160 | $0.01028 |
| Sonnet 5.5 | $0.00080 | $0.00514 |
| Haiku 4.5 | $0.00040 | $0.00257 |
Grade A, and why
jh-math-geometry 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 212 lines — stays where its author put it; the contents beside it link to each section on GitHub.
國中數學幾何圖形技能(jh-math-geometry)
技能概覽
本技能生成適合試卷、簡報、教材的幾何 SVG 圖形,並輸出為 PNG 圖片檔, 可直接插入 Word 文件或 PowerPoint 投影片。
環境約定(任何使用前先做):
- 腳本在本技能目錄(這份 SKILL.md 所在資料夾)的
scripts/,以$GEOM_DIR代表 - 產出一律放當前工作目錄的
output/geometry_output/ - Windows 若無
python3指令請改用python;Bash 片段請在 Git Bash/WSL 執行
GEOM_DIR="<本技能目錄的絕對路徑>/scripts" # 例:~/.claude/skills/jh-math-geometry/scripts
mkdir -p output/geometry_output
python3 -m pip install -q cairosvg python-docx python-pptx # 首次使用安裝一次;Linux 系統 Python 拒絕時加 --break-system-packages
處理流程
Step 1:理解需求
根據使用者的描述,判斷需要哪些圖形。若不確定,先快速確認:
- 哪個單元(三角形/四邊形/圓/立體...)?
- 需要標哪些字母/數字?
- 是否有特殊標記(直角符號、等邊刻度、角弧)?
- 輸出目標:Word、PPTX 或純圖片下載?
Step 2:建立圖形規格 JSON
依需求建立 spec,儲存至 output/geometry_spec.json:
{
"figures": [
{
"id": "fig1",
"type": "triangle",
"config": {
"subtype": "right",
"vertex_labels": ["A", "B", "C"],
"right_angle_at": "C",
"side_labels": {"AB": "5", "BC": "3", "CA": "4"}
},
"canvas": {"width": 280, "height": 220}
}
],
"options": {"format": "png", "dpi": 150}
}
詳細參數見本技能目錄下的
references/figure-catalog.md(讀取該檔案)。
Step 3:執行渲染
python3 "$GEOM_DIR/geometry_renderer.py" output/geometry_spec.json output/geometry_output/
ls output/geometry_output/
Step 4:視覺確認
讀取產生的 .svg(或 .png)檔案確認圖形是否正確。
若有錯誤(標籤偏移、比例不佳),調整 config 後重新執行。
Step 5:輸出
純圖片
PNG 已在 output/geometry_output/<id>.png,直接告知使用者路徑。
插入 Word
python3 - <<EOF
from docx import Document
from docx.shared import Cm
from docx.enum.text import WD_ALIGN_PARAGRAPH
import sys; sys.path.insert(0, "$GEOM_DIR")
from insert_to_docx import insert_figure, figures_from_manifest
doc = Document() # 或 Document('existing.docx')
figures_from_manifest('output/geometry_output/manifest.json', doc, width_cm=7.0)
doc.save('output/geometry.docx')
print("✅ output/geometry.docx")
EOF
插入 PowerPoint
python3 - <<EOF
from pptx import Presentation
import sys; sys.path.insert(0, "$GEOM_DIR")
from insert_to_pptx import figures_from_manifest
prs = Presentation() # 或 Presentation('existing.pptx')
figures_from_manifest('output/geometry_output/manifest.json', prs,
mode='individual', title_prefix='幾何圖形')
prs.save('output/geometry.pptx')
print("✅ output/geometry.pptx")
EOF
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago Changed · -13 lines 7f2083e9c1b0
- 1mo ago First seen · 225 lines · 399 tokens per session scan A fda055eead3a
jh-math-geometry is a skill published in the GitHub repository mathruffian-dot/teaching-exam-skills (5 stars, last pushed 1mo ago), licensed MIT. It adds 399 tokens to every session and 2,569 once invoked, about $0.0016 per session on Opus 5.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.
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…
exam-forecast
Analyze past exams from the same professor to surface patterns — subject weighting, recurring issue-spot traps, favored hypo types, policy-vs-doctrine mix — and forecast likely emphases for the upcoming exam. Use when the user says "what's on the exam", "analyze past exams", "predict the exam", or shares past exams.
lean-formalize
Develop and verify a mathematical proof in Lean, continue an incomplete Lean project, or audit whether it proves the original statement. Connect actual inputs to intermediate lemmas, assemble the target theorem, check its transitive axioms, and provide a reproducible handoff. Use when Lean is requested or a specific…
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.