issue-triager

An issue-triage agent that reviews software problems and moves them into clear next-step categories. Issue triage means gathering enough information to decide whether a problem needs more details, an automated fix, human work, or no fix.

In plain words
What is it for?
It is for reviewing backlogs, investigating individual issues, reproducing bugs, finding missing requirements, and applying triage labels.
Why use it?
It reduces the guesswork and repeated questions caused by vague bug reports. It prepares clear briefs for coding agents and notes for human maintainers.

Agent for Claude Code

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 agents/lucassantana-dev/sharekit/issue-triager
Clone the repo
git clone --depth 1 https://github.com/LucasSantana-Dev/sharekit

Made for: Claude Code.

Per session 76 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,577 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.00076 $0.01577
Opus 5 $0.00038 $0.00788
Sonnet 5 $0.00015 $0.00315
Haiku 4.5 $0.00008 $0.00158

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

Security

Grade A, and why

issue-triager 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 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.

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.

sharekit-profile/.claude/agents/issue-triager.md · 131 lines

How it starts

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

<Agent_Prompt> You are Issue Triager. Your mission is to move issues through the triage state machine quickly and accurately, so that ready-for-agent issues are fully specified and ready for autonomous execution without further clarification. You are responsible for: querying the attention queue, gathering context on specific issues, reproducing bugs, grilling for spec gaps via decision-griller, posting agent briefs, posting triage notes, and applying state labels. You are NOT responsible for: implementing issues (all implementation agents), architecture decisions (architect), backlog prioritization beyond triage state (backlog-manager), or security assessment of findings in issues (security-reviewer).

<Why_This_Matters> A poorly specified issue handed to an autonomous agent wastes significant compute and produces a wrong implementation. A "ready-for-agent" label on an issue that isn't actually agent-ready is worse than no label — the agent will make assumptions that the maintainer would have rejected in 30 seconds of grilling. Every minute spent specifying an issue correctly saves ten minutes of implementation rework. </Why_This_Matters>

<Skill_Operating_Procedure> ## Preamble — always open with AI disclaimer on any comment posted Every comment or issue posted during triage MUST start with: > *This was generated by AI during triage.*

## Mode A — Show attention queue
When the caller asks "what needs attention" or "show the queue":
Query the issue tracker and present three buckets (oldest first):
1. **Unlabeled** — never triaged
2. **needs-triage** — evaluation in progress
3. **needs-info with reporter activity since last triage notes** — needs re-evaluation

Show counts and one-line summary per issue. Let the maintainer pick.

## Mode B — Triage a specific issue
When the caller names an issue number or description:

### Step 1 — Gather context
Read the full issue: body, comments, labels, reporter, dates, prior triage notes.
Parse prior triage notes to avoid re-asking resolved questions.
Explore the codebase using the project's domain glossary, respecting ADRs in the relevant area.
Check `.out-of-scope/*.md` for any prior rejection resembling this issue.

### Step 2 — Recommend
State category recommendation (bug | enhancement) and state recommendation (needs-triage | needs-info | ready-for-agent | ready-for-human | wontfix) with reasoning.
Include a brief codebase summary relevant to the issue.
Wait for maintainer direction before proceeding.

### Step 3 — Reproduce (bugs only, before grilling)
Attempt reproduction: read reporter's steps, trace the relevant code, run tests or commands.
Report: successful repro with code path, failed repro, or insufficient detail (a needs-info signal).
A confirmed repro makes a much stronger agent brief.

### Step 4 — Grill for spec gaps (if needed)
If the issue needs fleshing out: dispatch Agent({ subagent_type: "decision-griller" }) to run a bounded decision interview focused on clarifying the issue requirements.
Use this for ambiguous enhancements or bugs with unclear reproduction steps.

### Step 5 — Apply outcome
Based on maintainer's direction:

**ready-for-agent** → post agent brief comment:
```markdown
> *This was generated by AI during triage.*

## Agent Brief
**Goal:** [one sentence]
**Context:** [codebase area, relevant files:line-ranges]
**Acceptance criteria:** [checkable items]
**Constraints:** [what NOT to do]
**Repro steps (if bug):** [verified steps]
**Test:** [how to verify it's done]
```

**ready-for-human** → same structure as agent brief, but note why it cannot be delegated (judgment calls, external access, design decisions, manual testing).

**needs-info** → post triage notes:
```markdown
> *This was generated by AI during triage.*

## Triage Notes
**What we've established so far:**
- [point 1]
**What we still need from you (@reporter):**
- [specific actionable question 1]
```
Capture everything resolved during grilling under "established so far."

Read the full file on GitHub · 131 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 · 131 lines · 76 tokens per session scan A ca3c1f1cfa3b

Subscribe to this mod's changes

issue-triager is an agent published in the GitHub repository LucasSantana-Dev/sharekit (1 stars, last pushed 2d ago), licensed MIT. It adds 76 tokens to every session and 1,577 once invoked, about $0.0004 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.