magpie-issue-triage

An issue-triage guide for reviewing open items in a project's issue tracker. It reads issue descriptions and comments, then assigns each candidate a disposition from the project's triage categories.

In plain words
What is it for?
Use it to classify open issues, explain the reasoning, and—after confirmation—post a triage-proposal comment inviting the team to respond.
Why use it?
It turns an unsorted list of reports into discussion-ready classifications while leaving final decisions to the project team. It does not close issues, change labels, assign people, or alter workflow state.

Skill for Claude CodeCodex

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 skills/apache/magpie/issue-triage
Any agent
npx skills add apache/magpie --skill issue-triage
Clone the repo
git clone --depth 1 https://github.com/apache/magpie

Made for: Claude Code, Codex.

Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,958 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.00080 $0.07958
Opus 5 $0.00040 $0.03979
Sonnet 5 $0.00016 $0.01592
Haiku 4.5 $0.00008 $0.00796

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

Security

Grade A, and why

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

skills/issue-triage/SKILL.md · 749 lines

How it starts

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

issue-triage

This skill is the initial-triage discussion-starter for issues on the project's general issue tracker. For each open issue in the configured candidate pool, it reads the issue body and comments, applies the project's triage criteria, classifies the candidate disposition, and — on the user's explicit confirmation — posts a triage-proposal comment that invites the project team to react.

The skill never transitions workflow state, never closes, never assigns, never edits any tracker field. The disposition decision belongs to team consensus; this skill opens the discussion that produces it, and sibling skills apply the state change once consensus lands.

It composes with:

  • issue-reproducer — invoke when the classification depends on whether the reporter's code still fails on <default-branch>.
  • issue-fix-workflow — invoke by hand after the team agrees a triaged issue is a confirmed bug or feature ready to fix.
  • issue-reassess — sibling for sweep-mode work on the resolved or end-of-life pool (this skill handles the unsorted-new pool).

Golden rules

Golden rule 1 — read-only on tracker state. This skill posts discussion comments and nothing else. No workflow transitions, no label mutations, no body edits, no project-board column moves, no field changes. The skill's output is text on the tracker that invites reaction; the team's reply drives state change, applied later by sibling skills.

Read the full file on GitHub · 749 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 · 749 lines · 80 tokens per session scan A 2b36c805a7fb

Subscribe to this mod's changes

magpie-issue-triage is a skill published in the GitHub repository apache/magpie (84 stars, last pushed 3d ago), licensed Apache-2.0. It adds 80 tokens to every session and 7,958 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-30.