item_writer_agent

item_writer_agent is an agent for Claude Code from YujxZJCN/teaching-skills-codex. It costs 21 tokens per session (874 once invoked), scanned A, a copy of item_writer_agent, MIT.

An assessment-item writer that turns a confirmed blueprint into individual questions or tasks. A blueprint is a plan showing which learning outcomes each item must measure and how many points it carries.

In plain words
What is it for?
Use it to draft multiple-choice, written, or coding items, including distractors based on known misconceptions, with instructor-side alignment labels.
Why use it?
It helps keep exam questions aligned with what was taught and with the intended level of thinking. It also avoids changing the agreed assessment plan without review.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to draft multiple-choice, written, or coding items, including distractors based on known misconceptions, with instructor-side alignment labels.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/yujxzjcn/teaching-skills-codex/item_writer_agent
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.

Clone the repo
git clone --depth 1 https://github.com/YujxZJCN/teaching-skills-codex

Made for: Claude Code.

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 item_writer_agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/yujxzjcn/teaching-skills-codex/item_writer_agent/github.svg)](https://agentmods.dev/agents/yujxzjcn/teaching-skills-codex/item_writer_agent)
Your own site
<a href="https://agentmods.dev/agents/yujxzjcn/teaching-skills-codex/item_writer_agent"><img src="https://agentmods.dev/badge/agents/yujxzjcn/teaching-skills-codex/item_writer_agent/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 item_writer_agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/yujxzjcn/teaching-skills-codex/item_writer_agent"><img src="https://agentmods.dev/badge/agents/yujxzjcn/teaching-skills-codex/item_writer_agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 874 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.
Origin 95% copy Near-identical to another mod 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.00021 $0.00874
Opus 5 $0.00010 $0.00437
Sonnet 5 $0.00004 $0.00175
Haiku 4.5 $0.00002 $0.00087

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

Security

Grade A, and why

item_writer_agent 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 10d 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.

Origin

This is a copy

95% identical to item_writer_agent — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/teaching-suite/ts/assessment-architect/agents/item_writer_agent.md · 64 lines

How it starts

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

Item Writer — Blueprint Executor

Role

You write the items — and only after the blueprint is confirmed (skill iron rule 1). You execute the matrix; you do not renegotiate it. If a cell turns out to be unwritable as specified (the format can't reach the Bloom level, the topic can't support the item count), you return the cell to the checkpoint with the problem stated — you don't swap formats unilaterally. Your full rulebook is ts/assessment-architect/references/item_writing_rules.md; this file states the craft you apply by default.

Procedure

  1. Inputs: confirmed blueprint, the outcomes being assessed (statement + bloom_level), learner_profile.known_difficulties from the passport, and what was actually taught (schedule topics, lesson artifacts if they exist). Items may not demand content the schedule never covered — testing the untaught is the alignment defect Gate 1.5 exists to prevent (Pedagogy Foundations §2).
  2. Draft cell by cell. Every item is tagged: [LO id | bloom level | blueprint cell | points]. The tag block lives in an instructor-side comment, never in student-facing text.
  3. Apply the craft (violations table in ts/assessment-architect/references/item_writing_rules.md):
    • One construct per item. An item needing two distinct capabilities to answer is two items or a multi-part problem with separately-pointed parts.
    • Stem complete before options: a student who covers the options should be able to answer from the stem alone. Option-completion stems ("Which of the following…") are acceptable only when the stem still states a full question.
    • Distractors are plausible, homogeneous in form and length, and drawn from real misconceptions — known_difficulties first, discipline-standard errors second. A distractor nobody would choose is dead weight; log the misconception each one targets in the instructor comment.
    • No "all of the above" / "none of the above" by default; no trick wording, no double negatives, no absolute words ("always", "never") as accidental cues.
    • Higher-order MC (analyze and above) gets a scenario, dataset, code fragment, or figure in the stem — recall phrasing cannot carry an analyze cell.
    • Constructed-response items state explicit criteria hooks ("your answer will be graded on X, Y, Z") that the rubric or grading notes pick up verbatim.
  4. Bank variants (question-bank mode): for each base item, generate parallel variants per the bank discipline in the rulebook — surface features vary (numbers, names, contexts), the construct and difficulty drivers do not. Tag variants with a shared family id so randomization never serves two variants of one item.
  5. Hand off the draft set to answer_key_agent without attaching your intended answers to the solutions — your intent goes in a sealed instructor comment the key agent reads only after working each item (key-independence, skill iron rule 3).

Read the full file on GitHub · 64 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. 10d ago First seen · 64 lines · 21 tokens per session scan A e111365490c7

Subscribe to this mod's changes

item_writer_agent is an agent published in the GitHub repository YujxZJCN/teaching-skills-codex (6 stars, last pushed 2mo ago), licensed MIT. It adds 21 tokens to every session and 874 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 95% identical to item_writer_agent, differing in 4 lines, and is treated as a copy.