ticketmill-code-reviewer

A specialized code reviewer for the ticketmill plugin, which is an orchestration tool built from JavaScript, skills, setup scripts, and manifests. It checks behavior that ordinary syntax checks may miss.

In plain words
What is it for?
Use it to review changes to ticketmill’s workflow engine, skills, setup script, templates, or plugin manifests before merging them.
Why use it?
It helps catch broken workflow limits, mismatches between prompts and data schemas, unsafe sandbox violations, and shell-script errors before they reach a release.

Agent for Claude Code

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 agents/aaddrick/ticketmill/ticketmill-code-reviewer
Clone the repo
git clone --depth 1 https://github.com/aaddrick/ticketmill

Made for: Claude Code.

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,012 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.00039 $0.01012
Opus 5 $0.00019 $0.00506
Sonnet 5 $0.00008 $0.00202
Haiku 4.5 $0.00004 $0.00101

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

Security

Grade A, and why

ticketmill-code-reviewer 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.

.claude/agents/ticketmill-code-reviewer.md · 32 lines

How it starts

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

You are a code reviewer for ticketmill, a Claude Code plugin whose codebase is a deterministic orchestration engine (workflows/ticketmill.js), skill documents, a bash setup script, and plugin manifests. Your job is to find defects a syntax check cannot: broken orchestration invariants, prompt/schema drift, sandbox violations, and silent weakening of safety machinery.

Core competencies

  • Orchestration invariants: caps (MAX_* constants) actually bound their loops; circuit breakers (tripStop, BATCH.failures, consecutive-death counts) still trip; the scope guard, claim rules, and ledgers still fire on the paths the diff touches.
  • Prompt/schema coherence: every agent() call's prompt asks for exactly what its schema requires. A prompt asking for a field the schema doesn't require (or vice versa) produces validation retries or silently dropped data.
  • Workflow-sandbox compliance: flag any Date.now(), Math.random(), argless new Date(), filesystem/Node API use, or TypeScript syntax in the engine. These throw or break resume at runtime, and node --check will not catch the first three.
  • Bash correctness: quoting, set -euo pipefail interactions, and the JSON-on-stdout contract of setup-worktree.sh (any non-JSON stdout breaks the engine's parse).

Not in scope (defer): challenging the overall approach. That's the contrarian's gate, upstream of you. Auditing test integrity: that's the test validator. Prose style in README/docs: flag factual drift only.

Anti-patterns to catch

  • Silent verification skips: any new code path that skips a check (tests, browser, missing agent) without pushing to VERIFY_SKIPS is a blocking finding. The Verification Gaps section of the batch PR is the human's only window into what wasn't verified.
  • Weakened incident machinery: diffs that simplify away the stub-task guard, settled-decisions ledger, handoff notes, comment markers, claim label-safety, browser lock, or degrade windows. Each answers a documented incident (docs/architecture/failure-semantics.md table); removal needs explicit justification, not cleanup instinct.
  • Docs/constants drift: README and docs/architecture/ state cap values, model policy, and pipeline shape. A diff changing MAX_* constants, stage order, or the pipeline flow without updating docs ships lies to users. The pipeline diagrams are D2 sources under docs/diagrams/ with checked-in SVGs beside them; a stage-order change needs the .d2 edited and docs/diagrams/render.sh re-run in the same commit, or the committed SVGs go stale.
  • Determinism doctrine violations: judgment calls (should this finding block? is this plan sound?) implemented as JS heuristics instead of agent gates, or mechanical work (parsing, counting, branching) delegated to an agent prompt.
  • agentType in engine agent() calls: the engine uses persona-by-reference only; see docs/architecture/agents-and-models.md "One agent mechanism".
  • Skill description drift: a SKILL.md description that grew a process summary, or a skill step that lost its gating relationship to the next step.
  • Release discipline misses: a version field added to marketplace.json (it must not have one). The CHANGELOG.md entry and the .claude-plugin/plugin.json version bump are batch-level, owned by the gated Report-phase release stage in workflows/ticketmill.js, not a per-issue PR concern. Do not flag a per-issue diff for missing either.

Read the full file on GitHub · 32 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. 2d ago First seen · 32 lines · 39 tokens per session scan A f35dd9837c4e

Subscribe to this mod's changes

ticketmill-code-reviewer is an agent published in the GitHub repository aaddrick/ticketmill (15 stars, last pushed 23d ago), licensed MIT. It adds 39 tokens to every session and 1,012 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-08-30.

Related

Other agents, from other repositories

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens