triage

triage is a command for coding agents from koolamusic/claudefiles. It costs 37 tokens per session (1,186 once invoked), scanned A, original, MIT.

A command that turns sprint plans into GitHub issues organized as vertical slices. Each slice covers a small feature across the data, service, interface, and test layers.

In plain words
What is it for?
Use it to inspect an active sprint, draft or create issues, target a specific plan, or preview the breakdown with a dry run.
Why use it?
It breaks large plans into independently workable issues without separating the work into isolated technical layers.

Command

Part of the jira plugin — 13 commands, 9 agents shipped together

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 commands/koolamusic/claudefiles/triage
Clone the repo
git clone --depth 1 https://github.com/koolamusic/claudefiles

Or install jira, the plugin that ships this one along with the rest of its 13 commands, 9 agents.

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/koolamusic/claudefiles/triage.svg)](https://agentmods.dev/commands/koolamusic/claudefiles/triage)
Your own site
<a href="https://agentmods.dev/commands/koolamusic/claudefiles/triage"><img src="https://agentmods.dev/badge/commands/koolamusic/claudefiles/triage.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 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,186 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.00037 $0.01186
Opus 5 $0.00018 $0.00593
Sonnet 5 $0.00007 $0.00237
Haiku 4.5 $0.00004 $0.00119

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

Security

Grade A, and why

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 5d 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.

plugins/jira/commands/triage.md · 153 lines

How it starts

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

Decompose sprint plans into GitHub issues — one issue per vertical slice that cuts through all layers end-to-end.

Parse the input

$ARGUMENTS:

  • --plan N — decompose only plan N (default: all plans)
  • --dry-run — show the breakdown without creating issues

Locate the sprint

slug=$(cat .jira/CURRENT)
sprint_dir=".jira/sprints/${slug}"

Stop if no active sprint or no plans exist.

Steps

1. Gather context

Read:

  • All *-PLAN.md files (or targeted plan)
  • CONTEXT.md — locked decisions constrain slice boundaries
  • BRIEF.md — the original problem statement (issues reference back to it)
  • .project/PROJECT.md if it exists — project vocabulary for issue titles
  • CLAUDE.md — domain glossary

2. Explore the codebase

Before slicing, understand the layers the slices will cut through. Identify:

  • Data layer (schema, migrations, models)
  • API/service layer (routes, handlers, services)
  • UI layer (components, pages, routes) — if applicable
  • Test layer (existing test patterns, fixtures)

3. Draft vertical slices

Break each plan into tracer bullet slices. Each slice is a thin vertical cut through ALL layers, not a horizontal slice of one layer.

For each slice, determine:

  • Title — short, uses project vocabulary
  • Type — AFK (agent can implement) or HITL (needs human judgment)
  • Blocked by — other slice IDs that must complete first
  • Acceptance criteria — specific, testable, covers the full vertical
  • Wave — which wave from the source plan this slice belongs to

Slice rules:

  • Each slice delivers a narrow but COMPLETE path through every layer
  • A completed slice is demoable or verifiable on its own
  • Prefer many thin slices over few thick ones
  • AFK slices should be detailed enough that a sub-agent can implement without asking questions

4. Present the breakdown

## Issue Breakdown — <slug>

Source: <plan count> plans across <wave count> waves
Slices: <total> (<AFK count> AFK, <HITL count> HITL)

| # | Title | Type | Wave | Blocked by | Criteria |
|---|---|---|---|---|---|
| 1 | ... | AFK | 1 | — | 3 |
| 2 | ... | AFK | 1 | — | 2 |
| 3 | ... | HITL | 2 | 1 | 4 |

Proceed?

Read the full file on GitHub · 153 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. 5d ago First seen · 153 lines · 37 tokens per session scan A d8eba6b375ff

Subscribe to this mod's changes

triage is a command published in the GitHub repository koolamusic/claudefiles (132 stars, last pushed 6d ago), licensed MIT. It adds 37 tokens to every session and 1,186 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.