OpenCode-GraphAgent: Agent for OpenCode

.opencode/agent/triage.md

triage is an agent for OpenCode from LeXwDeX/OpenCode-GraphAgent. It costs 0 tokens per session (293 once invoked), scanned A, a copy of triage, MIT.

An agent that sorts GitHub issues by assigning each one to the most relevant team. GitHub issues are the project's tracked bug reports, tasks, and requests.

In plain words
What is it for?
Use it to route issues among the listed TUI, desktop/web, core, inference, and Windows teams; it assigns an owner but does not add labels.
Why use it?
It reduces the manual work of deciding which team should handle each issue.

Agent for OpenCode

Written for OpenCode: installed under .opencode/. Also seen: mentions OpenCode.

This is LeXwDeX/OpenCode-GraphAgent's own configuration. It tells OpenCode how to work on OpenCode-GraphAgent itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything OpenCode-GraphAgent configures →

Reuse

Borrowing it

Nothing to install: this file belongs to LeXwDeX/OpenCode-GraphAgent. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/LeXwDeX/OpenCode-GraphAgent/main/.opencode/agent/triage.md
Clone the repo
git clone --depth 1 https://github.com/LeXwDeX/OpenCode-GraphAgent

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/lexwdex/opencode-graphagent/triage/github.svg)](https://agentmods.dev/agents/lexwdex/opencode-graphagent/triage)
Your own site
<a href="https://agentmods.dev/agents/lexwdex/opencode-graphagent/triage"><img src="https://agentmods.dev/badge/agents/lexwdex/opencode-graphagent/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/lexwdex/opencode-graphagent/triage"><img src="https://agentmods.dev/badge/agents/lexwdex/opencode-graphagent/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 293 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.00293
Opus 5.5 $0.00000 $0.00117
Sonnet 5.5 $0.00000 $0.00059
Haiku 4.5 $0.00000 $0.00029

Measured 18d ago against content hash 59f44f7c4a68, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 18d 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 — 1 line 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.

.opencode/agent/triage.md · 43 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. 18d ago Changed · -1 lines 59f44f7c4a68
  2. 1mo 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 LeXwDeX/OpenCode-GraphAgent (114 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 293 tokens. A static security scan graded it A with 0 findings. It is 100% identical to triage, differing in 1 line, and is treated as a copy.