Update triage

From warpdotdev/oz-for-oss · View interactive version

Update triage is an AI agent skill from the GitHub repository warpdotdev/oz-for-oss. Update the repo-local triage-issue-local companion skill using signals from recently triaged issues (maintainer re-labels, re-opens, follow-up comments). Use when refining repo-specific triage heuristics and label taxonomy based on how maintainers overrode previous triage output.

How to use this skill

Skill file

Update Triage

Use this skill to improve .agents/skills/triage-issue-local/SKILL.md (and, when a label taxonomy change is warranted, .github/issue-triage/config.json) from real maintainer feedback on recent triage outcomes. The core skill at .agents/skills/triage-issue/SKILL.md is the cross-repo contract and is read-only from this loop.

Closed-as-duplicate signals are handled by the separate update-dedupe loop, not here.

Write surface

This self-improvement loop may only write to:

It must NOT touch:

The self-improvement runner enforces this via a git diff check against allowed prefixes before pushing. A violation aborts the run.

Inputs

Workflow

  1. Verify GitHub CLI auth:
gh auth status
  1. Aggregate the triage-feedback signals for recently triaged issues with the bundled script:
python3 .agents/skills/update-triage/scripts/aggregate_triage_feedback.py

By default this targets the current repo and looks back 7 days. It collects issues that were triaged in the window, any subsequent maintainer re-labels, re-opens, and follow-up comments. Closed-as-duplicate events are intentionally excluded. The script writes structured JSON to a temporary file and prints the path.

  1. Read the generated JSON and look for repeated reviewer signals:
  1. Propose the smallest edit that explains the repeated signal:
  1. Keep the core triage contract stable — never edit triage-issue/SKILL.md. Only the -local companion and the triage config evolve from feedback.

Evidence Rules

Final Checks

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.