Index of every page on this site: llms.txt
All skills
coleam00 avatar

/triage

@f68ba4e
by Cole Medincoleam00/archon24k stars
3,542
Run it yourself

Triage GitHub issues by applying type, effort, priority, and area labels. Runs in an isolated context to avoid polluting the main conversation with issue details. Delegates to a specialized triage agent with label validation hooks.

Use this Skill: https://skilld.dev/gh/coleam00/archon/triage

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈60 tokens for metadata: the name and description. ≈667 when used: this file. ≈2.2k more on demand in 1 file.

How this Skill uses context

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

This Skill turns off automatic use in Claude Code. Its description stays out of the automatic Skill list by default.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Triage GitHub Issues

Triage issues for this repository by applying appropriate labels.

Repository Context

  • Current repo: !gh repo view --json nameWithOwner -q .nameWithOwner 2>/dev/null || echo "unknown"
  • Open issues: !gh issue list --state open --json number --jq 'length' 2>/dev/null || echo "?"
  • Existing labels: !gh label list --json name -q '.[].name' 2>/dev/null | head -20 || echo "none found"

Scope

Determine which issues to triage based on the arguments: $ARGUMENTS

Argument Behavior
(empty) Only unlabeled issues (default)
unlabeled Only issues without any labels
all All open issues
N Specific issue (e.g., 67)
N-M Range of issues inclusive (e.g., 60-67)

Process

  1. Fetch available labels — run gh label list --json name,description to understand the label taxonomy. Labels are organized into type, effort, priority, and area categories.

  2. Fetch target issues — based on the scope above. For each issue, fetch the full body:

    gh issue view {number} --json number,title,body,labels
  3. For each issue:

    • Read the title and full body carefully
    • If needed, explore the codebase (Glob, Grep, Read) to understand the affected code
    • Classify: one type, one effort, one priority, one or more areas
    • Track relationships with other issues (duplicates, related, blocking)
    • Apply labels:
      gh issue edit {number} --add-label "type,effort/level,P#,area.domain"
    • Skip issues that already have complete labeling (type + effort + priority + area)
    • For partially labeled issues, only add missing label categories
  4. Output a triage summary:

    ## Triage Summary
    
    | Issue | Title | Labels Applied | Reasoning |
    |-------|-------|----------------|-----------|
    | #67 | ... | bug, effort/low, P1, core.config | ... |
    
    **Totals:**
    - Issues triaged: X
    - Already labeled (skipped): Y
    - By priority: P0(n), P1(n), P2(n), P3(n)
    
    ## Relationships Discovered
    
    | Issues | Relationship | Notes |
    |--------|--------------|-------|
    | #61, #62 | Related | Both involve config/logging UX |

Rules

  • Don't hardcode labels — always fetch current labels first, they may change
  • Respect existing labels — don't remove labels, only add missing ones
  • Check issue body — titles alone aren't enough context
  • Use the codebase — if understanding a relationship requires seeing how modules connect, look
  • When uncertain, note it — flag ambiguous issues in the summary rather than guessing

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    The skill is designed to triage GitHub issues and includes several robust security features like context isolation and tool restrictions. The main security consideration is the risk of indirect prompt injection, as the agent processes untrusted data from issue bodies which could potentially contain malicious instructions intended to manipulate its labeling logic.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: MEDIUM · 1 issue

Signed by skilld at f68ba4e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 11 hours ago.

Activeupdated 9 months ago
What it can do
Runs commands Reads files
argument-hint
[unlabeled|all|N|N-M]
disable-model-invocation
true
context
fork
All 4 allowed tools
Bash(gh *)ReadGlobGrep
Other metadata
agent
triage-agent

README badge

README badge for coleam00/archon/triage