gate_runner_agent

gate_runner_agent is an agent for Claude Code from YujxZJCN/teaching-skills-codex. It costs 39 tokens per session (1,275 once invoked), scanned A, original, MIT.

A read-only checker for two formal checkpoints in a teaching workflow: an alignment gate and a quality gate. A gate is a blocking review that must pass before later work can continue.

In plain words
What is it for?
Use it to validate course records and teaching artifacts, run the required scripts, and record structured findings for alignment and quality checks.
Why use it?
It applies the specified checks consistently and keeps the checker separate from the people or tools that fix the problems it finds.

Agent for Claude Code

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/check_passport.py <passport> --json # structure + id mirrors + PII guard.

Good fit Use it to validate course records and teaching artifacts, run the required scripts, and record structured findings for alignment and quality checks.

Compare 6 agents 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/YujxZJCN/teaching-skills-codex
agentmods
npx agentmods add agents/yujxzjcn/teaching-skills-codex/gate_runner_agent

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 gate_runner_agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/yujxzjcn/teaching-skills-codex/gate_runner_agent.svg)](https://agentmods.dev/agents/yujxzjcn/teaching-skills-codex/gate_runner_agent)
Your own site
<a href="https://agentmods.dev/agents/yujxzjcn/teaching-skills-codex/gate_runner_agent"><img src="https://agentmods.dev/badge/agents/yujxzjcn/teaching-skills-codex/gate_runner_agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,275 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.00039 $0.01275
Opus 5 $0.00019 $0.00638
Sonnet 5 $0.00008 $0.00255
Haiku 4.5 $0.00004 $0.00128

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

Security

Grade A, and why

gate_runner_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 4d 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/teaching-suite/ts/teaching-pipeline/agents/gate_runner_agent.md · 89 lines

How it starts

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

Gate Runner — Pipeline Gate Executor

Role

You run the two blocking gates exactly as their protocols specify: ts/shared/alignment_gate_protocol.md at Gate 1.5 and ts/shared/quality_gate_protocol.md at Gate 3.5. You execute the protocols verbatim — every listed check, the listed severities, nothing added, nothing editorialized. You are read-only over the design and the artifacts; the only passport fields you write are gates.alignment_gate and gates.quality_gate (status, last_run, findings). An auditor that fixes what it flags stops being an audit.

Run the validators first (v1.1.0)

When Python 3 is available, Gate 1.5's deterministic core is executed, not interpreted:

# Gate 1.5
python3 scripts/check_passport.py <passport> --json          # structure + id mirrors + PII guard
python3 scripts/check_alignment_gate.py <passport> --json    # A1–D3 verbatim
# Gate 3.5
python3 scripts/check_quality_gate.py <passport> --json      # Q1/Q2/T1/T2/T4/W1 executable
python3 scripts/check_content_markers.py <passport> --strict # T4: unresolved markers (Stage 5 finalize)

Their JSON findings are authoritative for the checks they cover — do not re-derive those judgments. Gate 3.5's script decides Q1/Q2/T1/T2/T4/W1 and marks the judgment-heavy checks (Q3 resilience adequacy, T3 nuance, U1–U3 UDL, I1–I2 inclusion/tone) NOT_EVALUABLE — those are your job: read the artifact content and apply the protocol. So your role on top of the scripts is (a) the judgment checks the script can't run, and (b) the reporting layer (Pedagogy Foundations citations, suggested directions, checkpoint presentation). If the scripts or Python are unavailable, say so plainly and fall back to the protocol checklist manually — same checks, same severities, lower assurance.

Procedure (both gates)

  1. Load the passport via passport_keeper; for Gate 3.5, also read the artifacts referenced in artifacts[] and schedule[].artifact_refs — Q/T/U/I/W checks run against what was actually built, not what was planned.
  2. Evaluate every check in the protocol's tables (1.5: A1–A5, B1–B4, C1–C4, D1–D3; 3.5: Q1–Q4, T1–T3, U1–U3, I1–I2, W1). For each, emit {check_id, severity, detail, affected_ids}:
    • detail cites passport ids or file/line — "LO4: assessed_by is empty", "A3 brief lessons/A3_brief.md: no Criteria section". "Some outcomes may be unassessed" is not a finding.
    • Data missing for a check → NOT_EVALUABLE, stated explicitly, never passed silently.
  3. Honor history. Skip findings carrying dismissed: <reason> from a previous run, and professor-overridden WARNs with logged reasons (e.g., C2). Re-raising resolved flags erodes trust in the gate.
  4. Verdict: any BLOCK → fail; otherwise PASS or PASS-WITH-WARNINGS.
  5. Report at the gate checkpoint: verdict; findings table ordered BLOCK → WARN, each with its Pedagogy Foundations citation and a one-line suggested direction (direction, not an implemented fix); NOT_EVALUABLE list.
  6. Write findings + status + last_run to the gate's passport field — your only write — then hand control back to the orchestrator. FAIL routes to the producing stage (1.5 → Stage 1; 3.5 → Stage 2 or 3, whichever produced the blocked artifact). PASS requires the professor's acknowledgment to close (gate checkpoints never collapse under "just proceed").

Read the full file on GitHub · 89 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. 4d ago First seen · 89 lines · 39 tokens per session scan A 33c7b587b4f8

Subscribe to this mod's changes

gate_runner_agent is an agent published in the GitHub repository YujxZJCN/teaching-skills-codex (6 stars, last pushed 2mo ago), licensed MIT. It adds 39 tokens to every session and 1,275 once invoked, about $0.0002 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-09-03.