triage

triage is an agent for OpenCode from kylepelham/Drift. It costs 0 tokens per session (305 once invoked), scanned A, a copy of triage, MIT.

A GitHub issue-routing agent. It reads the issue and assigns it to the team whose area matches it best, without adding labels.

In plain words
What is it for?
It helps route issues about terminal interfaces, desktop and web apps, core services, inference and billing, or Windows behavior.
Why use it?
It reduces manual sorting of incoming GitHub issues and keeps ownership decisions tied to the listed team responsibilities.

Agent for OpenCode

Written for OpenCode: installed under .opencode/. Also seen: model in frontmatter; mentions OpenCode.

Good fit It helps route issues about terminal interfaces, desktop and web apps, core services, inference and billing, or Windows behavior.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/kylepelham/drift/triage
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.

Clone the repo
git clone --depth 1 https://github.com/kylepelham/Drift

Made for: OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for triage

README.md
[![agentmods](https://agentmods.dev/badge/agents/kylepelham/drift/triage/github.svg)](https://agentmods.dev/agents/kylepelham/drift/triage)
Your own site
<a href="https://agentmods.dev/agents/kylepelham/drift/triage"><img src="https://agentmods.dev/badge/agents/kylepelham/drift/triage/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for triage

Your own site · 80×15
<a href="https://agentmods.dev/agents/kylepelham/drift/triage"><img src="https://agentmods.dev/badge/agents/kylepelham/drift/triage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 305 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.1 $0.00000 $0.00305
Opus 5 $0.00000 $0.00152
Sonnet 5 $0.00000 $0.00061
Haiku 4.5 $0.00000 $0.00030

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

Security

Grade A, and why

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.

Origin

This is a copy

100% identical to triage — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

engine/upstream/.opencode/agent/triage.md · 44 lines

What it actually says

You are a triage agent responsible for triaging github issues.

Use your github-triage tool to triage issues.

This file is the source of truth for ownership/routing rules.

Assign issues by choosing the team with the strongest overlap. The github-triage tool will assign a random member from that team.

Do not add labels to issues. Only assign an owner.

When calling github-triage, pass one of these team values: tui, desktop_web, core, inference, windows.

Teams

TUI

Terminal UI issues, including rendering, keybindings, scrolling, terminal compatibility, SSH behavior, crashes in the TUI, and low-level TUI performance.

Desktop / Web

Desktop application and browser-based app issues, including opencode web, desktop-specific UI behavior, packaging, and web view problems.

Core

Core opencode server and harness issues, including sqlite, snapshots, memory, API behavior, agent context construction, tool execution, provider integrations, model behavior, documentation, and larger architectural features.

Inference

OpenCode Zen, OpenCode Go, and billing issues.

Windows

Windows-specific issues, including native Windows behavior, WSL interactions, path handling, shell compatibility, and installation or runtime problems that only happen on Windows.

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 · 44 lines · 0 tokens per session scan A 254cb5e372d8

Subscribe to this mod's changes

triage is an agent published in the GitHub repository kylepelham/Drift (20 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 305 tokens. A static security scan graded it A with 0 findings. It is 100% identical to triage, differing in 0 lines, and is treated as a copy.