kilocode: Agent for OpenCode

.opencode/agent/triage.md

triage is an agent for OpenCode from Kilo-Org/kilocode. It costs 0 tokens per session (332 once invoked), scanned A, a copy of triage, MIT.

An agent instruction set for sorting GitHub issues, which are reports and requests filed in a code repository. It routes each issue to an owning team without adding labels.

In plain words
What is it for?
Use it to assign issues to teams such as core, Windows, desktop/web, or inference based on the issue topic.
Why use it?
It provides consistent ownership decisions for incoming issues and avoids manually deciding which team should handle each one.

Agent for OpenCode

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

This is Kilo-Org/kilocode's own configuration. It tells OpenCode how to work on kilocode 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 kilocode configures →

About the project

Kilo Code is an open-source AI coding agent that works inside VS Code and JetBrains, from the command line, or through cloud services. Developers use it to build software with AI models, switch between providers, and run cloud agents or automated code reviews. The catalogue includes eleven skills, eight agents, and one instruction for Kilo Code.

Kilo-Org/kilocode · 27,710 stars · on GitHub · kilo.ai

Reuse

Borrowing it

Nothing to install: this file belongs to Kilo-Org/kilocode. 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/Kilo-Org/kilocode/main/.opencode/agent/triage.md
Clone the repo
git clone --depth 1 https://github.com/Kilo-Org/kilocode

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/kilo-org/kilocode/triage/github.svg)](https://agentmods.dev/agents/kilo-org/kilocode/triage)
Your own site
<a href="https://agentmods.dev/agents/kilo-org/kilocode/triage"><img src="https://agentmods.dev/badge/agents/kilo-org/kilocode/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/kilo-org/kilocode/triage"><img src="https://agentmods.dev/badge/agents/kilo-org/kilocode/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 332 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 95% 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.00332
Opus 5.5 $0.00000 $0.00133
Sonnet 5.5 $0.00000 $0.00066
Haiku 4.5 $0.00000 $0.00033

Measured 1mo ago against content hash aec6e622987a, 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 1mo 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

95% identical to triage — 14 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.

.opencode/agent/triage.md · 52 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, jetbrains, extension

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

Kilo Provider, Provider implementation, 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.

Jetbrains

Jetbrains extension related issues.

Extension

VSCode Extension related issues.

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. 1mo ago First seen · 52 lines · 0 tokens per session scan A aec6e622987a

Subscribe to this mod's changes

triage is an agent published in the GitHub repository Kilo-Org/kilocode (27,710 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 332 tokens. A static security scan graded it A with 0 findings. It is 95% identical to triage, differing in 14 lines, and is treated as a copy.

Related

Other agents, from other repositories

gsd-executor

Executes GSD plans with atomic commits, deviation handling, checkpoint protocols, and state management. Spawned by execute-phase orchestrator or execute-plan command.

itsjwill/gsd-pro · 36 tokens

ijfw-extract-learnings

Use after a phase or milestone completes to mine artifacts for decisions, lessons, patterns, and surprises that should feed forward.

FerroxLabs/ijfw · 31 tokens

ap-work-group-manager

Divide one accepted work group only when at least two useful workers can have non-overlapping ownership.

Spielewoy/autoprompt-skill · 24 tokens

product-manager

Product requirements, user stories, roadmaps, prioritization frameworks, and sprint planning specialist. Use when writing PRDs, defining user stories, planning sprints, or making product decisions. Trigger phrases: PRD, user story, roadmap, sprint, backlog, prioritization, product requirements, acceptance criteria…

travisjneuman/.claude · 71 tokens

task-executor

Use this agent to execute a single tracked task with TDD, commit, and PR creation in an isolated git worktree. Dispatched by /coco:loop for parallel execution. Context: Multiple tasks are ready with non-overlapping file ownership. /coco:loop dispatches parallel agents. assistant: "I'll dispatch task-executor agents…

skullninja/coco-workflow · 97 tokens

professor-x

Senior Product Manager — product vision, roadmap, prioritization, backlog, OKRs, go-to-market. Call to define what we build, why, and in what order.

CohesiumAI/assemble · 39 tokens