triage

triage is a command for Claude Code from openshift-eng/ai-helpers. It costs 21 tokens per session (2,746 once invoked), scanned A, original, Apache-2.0.

A command for finding open Node team bugs, sorting them by urgency and sub-team, suggesting assignments, and producing a triage summary. Triage is the process of reviewing incoming issues and deciding what should happen next.

In plain words
What is it for?
Use it to review OpenShift Node bugs, filter by sub-team or sprint, find unassigned issues, and group bugs into categories such as release blockers or regressions.
Why use it?
It turns a large bug list into prioritized work and makes unassigned or team-specific issues easier to review. It also provides a repeatable summary for planning.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the node-bug plugin — 1 command shipped together

Good fit Use it to review OpenShift Node bugs, filter by sub-team or sprint, find unassigned issues, and group bugs into categories such as release blockers or regressions.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/openshift-eng/ai-helpers/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.

Clone the repo
git clone --depth 1 https://github.com/openshift-eng/ai-helpers

Made for: Claude Code.

Or install node-bug, the plugin that ships this one along with the rest of its 1 command.

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 triage

README.md
[![agentmods](https://agentmods.dev/badge/commands/openshift-eng/ai-helpers/triage.svg)](https://agentmods.dev/commands/openshift-eng/ai-helpers/triage)
Your own site
<a href="https://agentmods.dev/commands/openshift-eng/ai-helpers/triage"><img src="https://agentmods.dev/badge/commands/openshift-eng/ai-helpers/triage.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,746 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 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.00021 $0.02746
Opus 5 $0.00010 $0.01373
Sonnet 5 $0.00004 $0.00549
Haiku 4.5 $0.00002 $0.00275

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

Security

Grade A, and why

triage scanned grade A 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 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -u "$JIRA_USER:$JIRA_API_TOKEN" \
plugins/node-bug/commands/triage.md · 225 lines

How it starts

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

Name

node-bug:triage

Synopsis

/node-bug:triage [--sub-team core|devices|kueue] [--sprint "OCP Node Core Sprint 42"] [--unassigned-only]

Description

Queries all open bugs in OCPBUGS for Node team components using the "Node Bugs" saved filter, classifies them into triage buckets (Release Blockers, Customer Escalations, Potential Blockers, Component Regressions, Untriaged), routes each bug to the correct sub-team, and suggests assignments based on current workload.

Designed for both interactive triage sessions and headless execution via claude --print.

Implementation

Phase 0: Setup and Argument Parsing

  1. Parse Arguments

    • --sub-team core|devices|kueue: Filter results to one sub-team's components. Optional. Read sub-team component lists from the sub-teams table in shared/components.md rather than hardcoding names.
      • core: all Node components not listed under another sub-team
      • devices: components listed under DRA/Devices in the sub-teams table
      • kueue: components listed under Kueue in the sub-teams table
    • --sprint <name>: Filter to bugs in a specific sprint (e.g., "OCP Node Core Sprint 42"). Optional.
    • --unassigned-only: Show only untriaged or unassigned bugs. Optional.
  2. Validate Jira Credentials

    Use the authentication chain from the jira reference:

    JIRA_API_TOKEN="${JIRA_API_TOKEN:-$(security find-generic-password -s "JIRA_API_TOKEN" -w 2>/dev/null || secret-tool lookup service redhat key JIRA_API_TOKEN 2>/dev/null)}"
    JIRA_USER="${JIRA_EMAIL:-$(security find-generic-password -s "JIRA_API_TOKEN" -g 2>&1 | grep acct | sed 's/.*="//;s/"//')}"
    : "${JIRA_USER:=$(git config user.email)}"
    [[ "$JIRA_USER" != *@* ]] && JIRA_USER="${JIRA_USER}@redhat.com"
    

    Exit with error if JIRA_API_TOKEN is empty after the chain.

  3. Create work directory: mkdir -p .work/node-bug/triage-$(date +%Y-%m-%d)

Read the full file on GitHub · 225 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 · 225 lines · 21 tokens per session scan A 7d93b0ef1175

Subscribe to this mod's changes

triage is a command published in the GitHub repository openshift-eng/ai-helpers (116 stars, last pushed 2d ago), licensed Apache-2.0. It adds 21 tokens to every session and 2,746 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.