gaze: Command for Claude Code

.opencode/commands/uf.triage-issue.md

uf.triage-issue is a command for Claude Code, OpenCode from unbound-force/gaze. It costs 12 tokens per session (5,472 once invoked), scanned B, original, Apache-2.0.

A command for reviewing and categorising a GitHub issue, a tracked task or problem in a code repository. It gathers several assessments, combines them, and can then update the issue after you confirm.

In plain words
What is it for?
Use it to inspect an issue, check for duplicates, assign a classification, add labels or comments, and create related child issues when appropriate.
Why use it?
It reduces the manual work of deciding what an issue means and what should happen next. It also keeps the review and resulting actions in one repeatable process.

Command for Claude CodeOpenCode

Written for OpenCode and Claude Code: installed under .opencode/, but also a Claude Code command (commands/*.md). Also seen: mentions AGENTS.md; mentions OpenCode.

This is unbound-force/gaze's own configuration. It tells Claude Code and OpenCode how to work on gaze 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 gaze configures →

Reuse

Borrowing it

Nothing to install: this file belongs to unbound-force/gaze. 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/unbound-force/gaze/main/.opencode/commands/uf.triage-issue.md
Clone the repo
git clone --depth 1 https://github.com/unbound-force/gaze

Made for: Claude Code, 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 uf.triage-issue

README.md
[![agentmods](https://agentmods.dev/badge/commands/unbound-force/gaze/uf.triage-issue.svg)](https://agentmods.dev/commands/unbound-force/gaze/uf.triage-issue)
Your own site
<a href="https://agentmods.dev/commands/unbound-force/gaze/uf.triage-issue"><img src="https://agentmods.dev/badge/commands/unbound-force/gaze/uf.triage-issue.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,472 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.00012 $0.05472
Opus 5 $0.00006 $0.02736
Sonnet 5 $0.00002 $0.01094
Haiku 4.5 $0.00001 $0.00547

Measured 4d ago against content hash eaf635cdb8ff, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade B, and why

uf.triage-issue scanned grade B with 1 finding 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 4d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

(`chmod 600` or `umask 077`), pass via `gh api --input
.opencode/commands/uf.triage-issue.md · 540 lines

How it starts

The opening of the file, as written. The whole thing — 540 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Triage Issue

You are a token-efficient issue analyst. The user provides a GitHub issue number. Fetch the issue, fan out to the Divisor review panel for multi-agent assessment, consolidate verdicts into a classification, then execute triage actions (labels, comments, child issues) with user confirmation. Produce a JSON artifact for every invocation.

The command follows four sequential phases (Ingest → Assess → Classify → Act). Phases are not independently invocable — run all four in sequence every invocation.

Arguments

  • Issue number (required): The GitHub issue number to triage (e.g., 42).

Argument parsing (before any tool calls): Check the user's message for an issue number argument. Validate that it matches ^[1-9][0-9]*$ (positive integer, no leading zeros). If the argument is missing, invalid, zero, negative, or contains non-numeric characters: STOP with error:

"Invalid issue number. Must be a positive integer."

No gh CLI commands are permitted until the argument passes validation. Set ISSUE_NUMBER to the validated value. All subsequent steps use <ISSUE_NUMBER>.


Phase 1: Ingest

Fetch the issue, repository context, and duplicate candidates.

1.0 Prerequisites

Verify the gh CLI is available and authenticated:

which gh

If not found: STOP with error:

"GitHub CLI (gh) is not installed. Install from https://cli.github.com/"

gh auth status

If not authenticated: STOP with error:

"GitHub CLI not authenticated. Run gh auth login to authenticate."

Detect the current repository:

gh repo view --json nameWithOwner --jq '.nameWithOwner'

Record {owner}/{repo} for all subsequent API calls. Repository identifiers MUST NOT be hardcoded.

1.1 Fetch Issue

gh issue view <ISSUE_NUMBER> --json number,title,body,labels,author,comments,assignees,createdAt,state

If the issue does not exist: STOP with the gh error output.

Read the full file on GitHub · 540 lines

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. 4d ago Changed · +42 lines eaf635cdb8ff
  2. 7d ago First seen · 498 lines · 12 tokens per session scan B 125b9fd8a783

Subscribe to this mod's changes

uf.triage-issue is a command published in the GitHub repository unbound-force/gaze (2 stars, last pushed 3d ago), licensed Apache-2.0. It adds 12 tokens to every session and 5,472 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.