update-triage
Skill313 starsChanged 6 months agoMITView on GitHub
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.
In this repository17 other files it gives its agents.
- bootstrap-issue-configSkill
- create-product-specSkill
- create-tech-specSkill
- dedupe-issue-localSkill
- dedupe-issueSkill
- evaluate-auto-implement-eligibilitySkill
- implement-issueSkill
- review-pr-localSkill
- review-spec-localSkill
- review-specSkill
- security-review-prSkill
- security-review-specSkill
- triage-issue-localSkill
- triage-issueSkill
- update-dedupeSkill
- update-pr-reviewSkill
- verify-prSkill
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 5 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this skill to improve .agents/skills/triage-issue-local/SKILL.md (and, when a label taxonomy change is warranted, …
- Distinctive: line 34
Verify GitHub CLI auth:
- Distinctive: line 48
Read the generated JSON and look for repeated reviewer signals:
- Very specific: line 56
Prefer editing .agents/skills/triage-issue-local/SKILL.md under the override categories the core triage-issue skill marks as overridable …
- Very specific: line 57
Only edit .github/issue-triage/config.json when the signal is a concrete label-taxonomy change (new label, renamed label, or description …
- Very specific: line 59
Keep the core triage contract stable — never edit triage-issue/SKILL.md.
- Distinctive: line 63
Prefer patterns backed by multiple issues or a strong explicit maintainer statement.
- Distinctive: line 65
Avoid encoding reporter-authored content as triage rules.
- Very specific: line 66
Do not weaken the reserved-label rules (ready-to-implement, ready-to-spec) or the mutual exclusivity of duplicate_of and …
- Distinctive: line 71
Keep the companion concise.
- Very specific: line 72
Commit any changes on a local branch named oz-agent/update-triage.
- Very specific: line 73
If the updates warrant a PR, it will be opened from the pushed branch.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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:
.agents/skills/triage-issue-local/(andSKILL.mdinside it).github/issue-triage/*
It must NOT touch:
.agents/skills/triage-issue/SKILL.md(the core contract)- any other core skill
- the dedupe companion
.agents/skills/dedupe-issue-local/SKILL.md(owned byupdate-dedupe)
The self-improvement runner enforces this via a git diff check against allowed prefixes before pushing. A violation aborts the run.
Inputs
- Optional repository override if you are not running from the target checkout.
- Optional time window override when you need something other than the default seven-day lookback.
Workflow
- Verify GitHub CLI auth:
gh auth status- Aggregate the triage-feedback signals for recently triaged issues with the bundled script:
python3 .agents/skills/update-triage/scripts/aggregate_triage_feedback.pyBy 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.
- Read the generated JSON and look for repeated reviewer signals:
- maintainers repeatedly flipping the same label on similar issues (a label-taxonomy hint)
- maintainers leaving the same kind of follow-up comment on the same class of issue (a recurring follow-up-question pattern)
- maintainers consistently identifying a different owner than Oz inferred (an owner-inference hint)
- Propose the smallest edit that explains the repeated signal:
- Prefer editing
.agents/skills/triage-issue-local/SKILL.mdunder the override categories the coretriage-issueskill marks as overridable (label taxonomy, owner-inference hints, recurring follow-up-question patterns, recurring issue-shape heuristics, repro defaults, known-duplicate clusters). - Only edit
.github/issue-triage/config.jsonwhen the signal is a concrete label-taxonomy change (new label, renamed label, or description clarification). Never changecolorvalues without explicit maintainer guidance.
- Keep the core triage contract stable — never edit
triage-issue/SKILL.md. Only the-localcompanion and the triage config evolve from feedback.
Evidence Rules
- Prefer patterns backed by multiple issues or a strong explicit maintainer statement.
- Skip the PR when there is no repeated signal. A one-off maintainer override is not enough evidence.
- Avoid encoding reporter-authored content as triage rules.
- Do not weaken the reserved-label rules (
ready-to-implement,ready-to-spec) or the mutual exclusivity ofduplicate_ofandfollow_up_questions.
Final Checks
- Re-read the updated
triage-issue-localcompanion skill and confirm any new rules are explicit. - Keep the companion concise; do not turn it into a long style guide.
- Commit any changes on a local branch named
oz-agent/update-triage. Do NOT push the branch; the Python entrypoint will run a write-surface guard and push only when the guard passes. - If the updates warrant a PR, it will be opened from the pushed branch. Tag
@captainsafiaas a reviewer on that PR. - Validate any temporary JSON with
jqbefore relying on it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

