phx-triage

phx-triage is a skill for Claude Code, Codex from oliver-kriska/claude-elixir-phoenix. It costs 33 tokens per session (908 once invoked), scanned A, a copy of triage, MIT.

An interactive tool for deciding what to do with findings from a code review. It presents issues one by one so you can approve, skip, or prioritise them before fixes are made.

In plain words
What is it for?
Use it after a review when there are several findings and you need to choose which ones should be fixed first.
Why use it?
It helps you focus repair work on findings that matter and prevents automatic fixing of issues you have not agreed to address. Non-negotiable review rules can be included automatically.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: names the AskUserQuestion tool.

Good fit Use it after a review when there are several findings and you need to choose which ones should be fixed first.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oliver-kriska/claude-elixir-phoenix/phx-triage
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.

Any agent
npx skills add oliver-kriska/claude-elixir-phoenix --skill phx-triage
Clone the repo
git clone --depth 1 https://github.com/oliver-kriska/claude-elixir-phoenix

Made for: Claude Code, Codex.

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 phx-triage

README.md
[![agentmods](https://agentmods.dev/badge/skills/oliver-kriska/claude-elixir-phoenix/phx-triage/github.svg)](https://agentmods.dev/skills/oliver-kriska/claude-elixir-phoenix/phx-triage)
Your own site
<a href="https://agentmods.dev/skills/oliver-kriska/claude-elixir-phoenix/phx-triage"><img src="https://agentmods.dev/badge/skills/oliver-kriska/claude-elixir-phoenix/phx-triage/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 phx-triage

Your own site · 80×15
<a href="https://agentmods.dev/skills/oliver-kriska/claude-elixir-phoenix/phx-triage"><img src="https://agentmods.dev/badge/skills/oliver-kriska/claude-elixir-phoenix/phx-triage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 908 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 89% 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.00033 $0.00908
Opus 5.5 $0.00013 $0.00363
Sonnet 5.5 $0.00007 $0.00182
Haiku 4.5 $0.00003 $0.00091

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

Security

Grade A, and why

phx-triage 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 2mo 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

89% identical to triage — 33 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.

targets/amp/skills/phx-triage/SKILL.md · 112 lines

How it starts

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

Triage — Interactive Review Resolution

Walk through review findings one by one for human decision before committing to fixes.

Usage

phx-triage .claude/plans/user-auth/reviews/user-auth-review.md
phx-triage                  # Uses most recent review

Why Triage

After phx-review produces findings, you have three options:

  1. Fix everything — phx-plan .claude/plans/{slug}/reviews/...
  2. Triage first — phx-triage (filter, then fix what matters)
  3. Handle manually — Read review, pick what to fix yourself

Best when review has 5+ findings and you want to prioritize.

Workflow

Step 1: Load Review

Read the review file. Parse all findings with severity.

Iron Law violations first: list findings that match an Iron Law at the top, recommended as "Fix it". The user still makes the call (Iron Law 6).

Step 2: Present ALL Findings for Batch Selection

Use AskUserQuestion with multiSelect: true. Start with severity shortcuts, then list individual findings:

AskUserQuestion:
  question: "Which findings do you want to fix? (Iron Law violations auto-included)"
  header: "Triage"
  multiSelect: true
  options:
    - label: "All BLOCKERs ({count})"
      description: "Fix all critical issues"
    - label: "All WARNINGs ({count})"
      description: "Fix all should-fix issues"
    - label: "[BLOCKER] {title 1}"
      description: "{file}:{line} — {brief description}"
    - label: "[WARNING] {title 2}"
      description: "{file}:{line} — {brief description}"

If >4 options, batch into groups of 4 with severity shortcuts in the first batch. Severity shortcuts select all findings of that level — user can mix shortcuts with individual picks.

AskUserQuestion discipline: decisions only — never use it to narrate progress. Every option carries {file}:{line} + counts so the user decides without opening the review file.

Step 3: Gather Context on Selected Items

For selected items, ask ONE batch follow-up: "Any specific approach for any of these?" If they say "just fix them", proceed.

Read the full file on GitHub · 112 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago Changed · -1 lines ba1b651c3139
  2. 3mo ago First seen · 113 lines · 33 tokens per session scan A b6e4ee5fd40e

Subscribe to this mod's changes

phx-triage is a skill published in the GitHub repository oliver-kriska/claude-elixir-phoenix (580 stars, last pushed today), licensed MIT. It adds 33 tokens to every session and 908 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 89% identical to triage, differing in 33 lines, and is treated as a copy.

Related

phx-triage compared with skills from other repositories

phx-triage next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
phx-triageoliver-kriska/claude-elixir-phoenixSkill580todayMITA33Claude Code, Codex
multi-lens-reviewthoughtbot/rails-consultantSkill3915d agoMITA39Claude Code
diff-explainerthoughtbot/rails-consultantSkill3915d agoMITA27Claude Code
shipthoughtbot/rails-consultantSkill3915d agoMITA20Claude Code
risk-scorethoughtbot/rails-consultantSkill3915d agoMITA46Claude Code
fable-super-auditmadisonrickert/claude-skillsSkill41mo agoMITA317Claude Code
elderly-ui-auditXuYuting133/elderly-ui-auditSkill14mo agoMITA59Claude Code, Codex