triage

triage is a command for Claude Code from nunoamorim99/agile-ledger. It costs 25 tokens per session (342 once invoked), scanned A, original, MIT.

A command for processing ideas from an Ideas.md file into an epic backlog. Epics are larger goals, while user stories describe smaller user-focused pieces of work.

In plain words
What is it for?
It is for triaging ideas, linking them to existing epics, creating new epics or draft stories, and clearing processed ideas from Ideas.md.
Why use it?
It finds duplicates, chooses the right work-item type, assigns IDs, and updates the backlog without writing detailed acceptance criteria yet.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agile-ledger plugin — 2 skills, 32 commands shipped together

Good fit It is for triaging ideas, linking them to existing epics, creating new epics or draft stories, and clearing processed ideas from Ideas.md.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/nunoamorim99/agile-ledger/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/nunoamorim99/agile-ledger

Made for: Claude Code.

Or install agile-ledger, the plugin that ships this one along with the rest of its 2 skills, 32 commands.

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/nunoamorim99/agile-ledger/triage/github.svg)](https://agentmods.dev/commands/nunoamorim99/agile-ledger/triage)
Your own site
<a href="https://agentmods.dev/commands/nunoamorim99/agile-ledger/triage"><img src="https://agentmods.dev/badge/commands/nunoamorim99/agile-ledger/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 triage

Your own site · 80×15
<a href="https://agentmods.dev/commands/nunoamorim99/agile-ledger/triage"><img src="https://agentmods.dev/badge/commands/nunoamorim99/agile-ledger/triage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 342 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 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.00025 $0.00342
Opus 5 $0.00013 $0.00171
Sonnet 5 $0.00005 $0.00068
Haiku 4.5 $0.00003 $0.00034

Measured 9d ago against content hash 651e96f2f0d5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 9d 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/agile-ledger/commands/triage.md · 16 lines

What it actually says

Triage the Inbox using the Agile-Ledger skill.

For each idea in Agile-Ledger/Ideas.md:

  1. Run duplicate detection across ALL files (four outcomes: exact / improved / related-distinct / new), including Paused and Discarded.
  2. Decide whether it is an Epic or a User Story — same user goal as an existing epic → a new User Story under that epic; a new goal → a new epic, cross-linked [EPIC-xxx](Epic-Backlog.md#epic-xxx).
  3. Assign the next sequential typed ID (recompute from the highest existing ID of that type), and set Parent, priority, and area.
  4. Rewrite it in the user's voice, in English.
  5. Write it into Agile-Ledger/Epic-Backlog.md and clear the line from Ideas.md. Reconcile each Next free ID.
    • If the idea becomes a new epic, also propose a few suggested 📝 Draft story-index lines under it, derived from the epic goal. Present them for the user's confirmation — they are proposals, not truth.
    • If it maps to an existing epic, add it as a single 📝 Draft story-index line under that epic.

Do not write acceptance criteria or estimates yet — that happens at /detail-us (there is no separate create-story step; stories are born here as Draft index lines and detailed later).

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. 9d ago First seen · 16 lines · 25 tokens per session scan A 651e96f2f0d5

Subscribe to this mod's changes

triage is a command published in the GitHub repository nunoamorim99/agile-ledger (1 stars, last pushed 1mo ago), licensed MIT. It adds 25 tokens to every session and 342 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.