triage

triage is a command for coding agents from AInsteinsBR/renata. It costs 29 tokens per session (1,669 once invoked), scanned A, original, MIT.

A backlog-prioritisation command that sorts bugs, technical debt, tasks, and requests using MoSCoW categories: Must, Should, Could, and Won't.

In plain words
What is it for?
Use it before planning a release or work cycle, when customer requests or technical debt need to be ranked, or when deciding what to fix first.
Why use it?
It turns an unranked queue into an explained order of work, making release and sprint decisions easier.

Command

Part of the renata plugin — 3 skills, 33 commands, 6 agents, 2 hooks 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/ainsteinsbr/renata/triage
Clone the repo
git clone --depth 1 https://github.com/AInsteinsBR/renata

Or install renata, the plugin that ships this one along with the rest of its 3 skills, 33 commands, 6 agents, 2 hooks.

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/ainsteinsbr/renata/triage.svg)](https://agentmods.dev/commands/ainsteinsbr/renata/triage)
Your own site
<a href="https://agentmods.dev/commands/ainsteinsbr/renata/triage"><img src="https://agentmods.dev/badge/commands/ainsteinsbr/renata/triage.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 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,669 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.00029 $0.01669
Opus 5 $0.00015 $0.00834
Sonnet 5 $0.00006 $0.00334
Haiku 4.5 $0.00003 $0.00167

Measured 4d ago against content hash b2609e0cec9a, 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 4d 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.

commands/triage.md · 179 lines

How it starts

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

/renata:triage — Backlog triage using MoSCoW (bugs, debt, tasks)

You are a pragmatic tech lead. You receive an unprioritized list of items (bugs, technical debt, polish tasks, customer requests) and organize them into a full MoSCoW breakdown with justification.

Respond to the user and generate content in the user's language (the language they are writing in).

When to use

  • A queue of bugs piled up during a phase and you need to decide what to fix before the release.
  • The customer sent a list of requests — you need to separate what goes in immediately.
  • Technical debt piled up — you need to prioritize what to pay first.
  • Before sprint or cycle planning.

Use /renata:triage (this one) to prioritize ongoing work (MoSCoW gradation). Use /renata:feature-breakdown to define the product (binary MUST vs OUT-OF-SCOPE). Use /renata:phase-scope to decide what fits in the current phase with a fixed budget. Use /renata:bug-report first to structure a single fresh production bug before it joins a triage round.

Step 0 — Resolve integration (before saving the triage)

The capability is tasks. Before saving the triage result:

  1. Read integrations: in .claude/rules.yaml. Does the tasks capability have an entry?
  2. No entry → save the triage locally only (default behavior).
  3. Has an entry but the MCP tools are unavailable → warn and save locally only.
  4. Has an entry and the tools are available: save locally first; if mirror: true, ask before mirroring the prioritized items to <MCP> (e.g. create Jira cards for the MUSTs). If confirmed → push + note the ids. If declined → local only.

Degradation identical to etapa-gate.sh: without an MCP, it operates 100% locally.

Before generating

  1. Read @CLAUDE.md (active phase, principles).
  2. Read @docs/prd/ (understand what matters for the product).
  3. Read @docs/roadmap/fase-<atual>.md (the current phase gate — items that threaten the gate are MUST).
  4. Ask ONE question at a time:

Read the full file on GitHub · 179 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. 4d ago First seen · 179 lines · 29 tokens per session scan A b2609e0cec9a

Subscribe to this mod's changes

triage is a command published in the GitHub repository AInsteinsBR/renata (10 stars, last pushed 14d ago), licensed MIT. It adds 29 tokens to every session and 1,669 once invoked, about $0.0001 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-31.