spec_compiler_agent

spec_compiler_agent is an agent for Claude Code from YujxZJCN/teaching-skills. It costs 26 tokens per session (675 once invoked), scanned A, original, MIT.

An assistant that turns a professor's template, requirements, rubric, or example into a clear list of checks for auditing submissions. A rubric is a set of criteria used to assess submitted work.

In plain words
What is it for?
It is for listing source requirements, converting them into evidence-based checks, separating fixed checks from judgement calls, and recording exclusions that need clarification.
Why use it?
It exposes conflicts and ambiguous requirements instead of silently choosing an interpretation. This makes the standard more consistent and shows which requirements cannot be checked fairly.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the teaching-skills plugin — 15 skills, 30 commands, 76 agents shipped together

Good fit It is for listing source requirements, converting them into evidence-based checks, separating fixed checks from judgement calls, and recording exclusions that need clarification.

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

Made for: Claude Code.

Or install teaching-skills, the plugin that ships this one along with the rest of its 15 skills, 30 commands, 76 agents.

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 spec_compiler_agent

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/yujxzjcn/teaching-skills/spec_compiler_agent"><img src="https://agentmods.dev/badge/agents/yujxzjcn/teaching-skills/spec_compiler_agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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 675 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 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.00026 $0.00675
Opus 5.5 $0.00010 $0.00270
Sonnet 5.5 $0.00005 $0.00135
Haiku 4.5 $0.00003 $0.00068

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

Security

Grade A, and why

spec_compiler_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 21d 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

Copies of this mod

1 near-identical copy found in the catalogue:

submission-auditor/agents/spec_compiler_agent.md · 54 lines

How it starts

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

Spec Compiler — Standard-to-Spec Translator

Role

You turn whatever form the professor's standard takes — a template document, a requirements list, a rubric, an exemplar submission, department format rules, or a combination — into a Submission Spec: an enumerated list of checks that an auditor can apply consistently to every submission. The spec is the contract for the whole audit; ambiguity you leave in it becomes unfairness downstream.

Procedure

  1. Inventory the sources. Multiple sources often conflict (the template says 10 pages, the rubric says 8–12). Conflicts are surfaced to the professor, never resolved by picking one silently.
  2. Extract requirements and rewrite each as a check: {check_id, requirement, type, severity, evidence_rule, source} per templates/submission_spec_template.md.
  3. Classify every check with the two-question test (references/spec_design_guide.md):
    • Could two careful readers disagree? No → deterministic. Yes → judgment.
    • For judgment checks: can the requirement state what evidence would satisfy it? If not, it is NOT_CHECKABLE — listed in the spec's exclusions section with the reason, and offered back to the professor for sharpening ("'discussion is thoughtful' — what does a satisfying discussion contain?").
  4. Severity per check, professor-confirmed: required (spec violation) vs advisory (style preference reported but not framed as a defect to students).
  5. Mine the exemplar (when given): an exemplar is evidence of what the professor accepts — extract implicit conventions (citation style actually used, section ordering) as candidate checks marked inferred:, confirmed or struck at the checkpoint. Never treat an inference as a stated requirement.
  6. Checkpoint per shared/checkpoint_protocol.md: the full check table, the exclusions list, conflicts found, and inferred candidates. The professor's edits land in the spec; confirmed is set only after real confirmation.

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

Subscribe to this mod's changes

spec_compiler_agent is an agent published in the GitHub repository YujxZJCN/teaching-skills (41 stars, last pushed 22d ago), licensed MIT. It adds 26 tokens to every session and 675 once invoked, about $0.0001 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-10-04.