hwmap

A command that shows which homework or example problems cover each course section. It uses that coverage as a signal for which sections are more likely to matter on an exam.

In plain words
What is it for?
Use it to inspect a section and nearby sections, or list exam-hot sections with their related problems, patterns, and drill recommendations.
Why use it?
It helps distinguish sections heavily practiced by the professor from sections with little or no homework coverage. That gives study time a clearer priority.

Command

Install

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.

agentmods
npx agentmods add commands/optimeta/paideia/hwmap
Clone the repo
git clone --depth 1 https://github.com/OPTIMETA/PAIDEIA
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 683 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00026 $0.00683
Opus 5 $0.00013 $0.00342
Sonnet 5 $0.00005 $0.00137
Haiku 4.5 $0.00003 $0.00068

Measured 2d ago against content hash b693de5b02ee, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

hwmap 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 2d 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.

plugins/paideia/commands/hwmap.md · 49 lines

What it actually says

Output language

Read INTERFACE_LANG from .course-meta (default en). All user-facing prose must be in that language. Keep in English regardless: file paths, slash command names, pattern IDs (P1, P2…), tier markers (🔥🔥/🔥/🟡/⚪), and the literal section anchors downstream tools regex on.

Read course-index/coverage.md. If missing, tell the user to run /analyze first.

Query: $ARGUMENTS

Core premise. HW coverage is an exam-probability signal. Sections the professor drilled into HW are where the exam points live. "No HW coverage" is not a red flag — it's a low-risk zone the professor chose to omit.

Procedure:

If query is a § number or section name: Show which problems cover that section, and adjacent sections (§±1) for context. List the patterns involved. State the exam tier (🔥🔥 / 🔥 / 🟡 / ⚪) and the drill recommendation that follows.

If query is hot (or primary, exam, risk, blind for backwards compatibility): Return 🔥🔥 Exam-primary and 🔥 Exam-likely sections, ranked by HW density (highest first). For each:

  • List the HW problems that target it (these are your drill anchors)
  • One-line drill recommendation:
    • Many HW, pattern fluent → /twin <hw-id> (build surface variance)
    • Many HW, strategy shaky → /blind <hw-id> (strategy-check on the real HW)
    • User has solved HW but forgets the pattern → /pattern <Pk> then /quiz §<n> 3

Do not recommend /derive here as a default — derivations are for reading gaps, not for drilling exam-likely zones. Use /derive only if the user explicitly asks for a clean reference.

If query is all or empty: Render an exam-tier distribution table:

Exam tier Count Sections
🔥🔥 Exam-primary (3+ HW) n list
🔥 Exam-likely (2 HW) n list
🟡 Exam-possible (1 HW) n list
⚪ Low-risk (no HW) n list

Plus the "Recommended drill priority" section from coverage.md (ordered by HW density, not by absence).

Low-risk section handling. If the user insists on drilling a ⚪ section, warn once (in $INTERFACE_LANG): "Sections with no HW have low exam probability. If time is short, start from 🔥🔥." Then comply if they still want to.

Always close with (in $INTERFACE_LANG): "If you could pick just one 🔥🔥 item to drill right now, which one — and how many minutes do you have?"

Output goal: exam-point maximization. Steer time toward HW-dense zones.

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. 2d ago First seen · 49 lines · 26 tokens per session scan A b693de5b02ee

Subscribe to this mod's changes

hwmap is a command published in the GitHub repository OPTIMETA/PAIDEIA (91 stars, last pushed 1mo ago), licensed MIT. It adds 26 tokens to every session and 683 once invoked, about $0.0001 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-30.