ticket-reviewer

ticket-reviewer is an agent for Claude Code from phobologic/claude_code_helpers. It costs 62 tokens per session (5,841 once invoked), scanned B, original, MIT.

A read-only reviewer for a ticket's code changes after the requested acceptance checks pass.

In plain words
What is it for?
It reviews a diff, returns structured findings for fixes, and creates separate tickets for problems outside the current task.
Why use it?
It looks for problems those checks may miss, such as security flaws, weak tests, reliability issues, performance traps and violations of project conventions.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions CLAUDE.md.

Good fit It reviews a diff, returns structured findings for fixes, and creates separate tickets for problems outside the current task.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/phobologic/claude_code_helpers/ticket-reviewer
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/phobologic/claude_code_helpers

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 ticket-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/phobologic/claude_code_helpers/ticket-reviewer/github.svg)](https://agentmods.dev/agents/phobologic/claude_code_helpers/ticket-reviewer)
Your own site
<a href="https://agentmods.dev/agents/phobologic/claude_code_helpers/ticket-reviewer"><img src="https://agentmods.dev/badge/agents/phobologic/claude_code_helpers/ticket-reviewer/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 ticket-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/phobologic/claude_code_helpers/ticket-reviewer"><img src="https://agentmods.dev/badge/agents/phobologic/claude_code_helpers/ticket-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,841 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00062 $0.05841
Opus 5.5 $0.00025 $0.02336
Sonnet 5.5 $0.00012 $0.01168
Haiku 4.5 $0.00006 $0.00584

Measured 1mo ago against content hash 6de84fb11540, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

ticket-reviewer scanned grade B with 1 finding 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 1mo 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.

Recursive force deletemediumDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

you finish: do not `rm -rf` them, since a computed path in `rm -rf` is held by

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

agents/ticket-reviewer.md · 457 lines

How it starts

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

Ticket Reviewer

Your posture is adversarial: this change has problems, find them. By the time you run, the ticket has passed its acceptance criteria (or has none), so checking that it does what was asked is not your job. Your job is to find the reasons it should not merge anyway: bugs the criteria did not anticipate, designs that satisfy the letter of the ticket but defeat its purpose, tests that cannot fail, security holes, reliability problems, performance traps, and convention violations.

Re-running the implementer's green checks is not a review. The implementer already ran lint and the tests. Your value is in what they did not check.

You run as a step in the /run-tickets workflow. Your only output is one StructuredOutput call; nobody reads your prose.

Your prompt

It names a worktree, the ticket, the ticket branch, the integration branch, the review round, a findings parent, and the implementer's summary of what it did. Your first Bash call is the prompt's cd ... && echo 'WORKTREE OK' check. Stay in that worktree and leave its code as you found it: no edits outside its .tmp/ folder, no commits, and never git stash or git checkout -m. Use git diff and git show, and tk for the ticket. Try code changes in a review-scratch copy (step 3), with the Edit tool. Write probe scripts and notes with the Write tool, in the worktree's .tmp/ (git ignores it) or under $TMPDIR: never anywhere else in the worktree, and never in your home folder. If a probe needs a folder that is not a temp folder, make it under $TMPDIR anyway and point the code under test at it, the way the project's own tests use a fake home folder.

Don't pass code to an interpreter inline (perl -pi -e, python3 -c, node -e): a safety check can't see what inline code does, so it holds the command for a person to answer, and the run waits until someone does. Use Edit, or a script file you wrote, instead. Leave scratch files in place when you finish: do not rm -rf them, since a computed path in rm -rf is held by the same check.

Read the full file on GitHub · 457 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. 1mo ago Changed · +46 lines 6de84fb11540
  2. 1mo ago Changed · +18 lines bcce44603382
  3. 1mo ago Changed · +45 lines f8331a7d0076
  4. 1mo ago First seen · 348 lines · 62 tokens per session scan B ef19db956137

Subscribe to this mod's changes

ticket-reviewer is an agent published in the GitHub repository phobologic/claude_code_helpers (6 stars, last pushed 5d ago), licensed MIT. It adds 62 tokens to every session and 5,841 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-05.

Related

ticket-reviewer compared with agents from other repositories

ticket-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ticket-reviewerphobologic/claude_code_helpersAgent65d agoMITB62Claude Code
cpp-revieweraffaan-m/ECCAgent314kyesterdayMITA41Claude Code, Kiro
thermo-nuclear-code-quality-review-subagentmichael-denyer/pstack-claudeAgent5.1ktodayMITA68Claude Code
review-obsidian-guidelinesuphy/obsidian-reminderAgent6682d agoMITA63Claude Code
atomic-auditordamusix/atomic-claudeAgent1172d agoMITA169Claude Code
karimo-implementeropensesh/KARIMOAgent2921mo agoApache-2.0A49Claude Code
Reviewermonkilabs/opencastleAgent8211d agoMITA30Claude Code