gaze: Command for Claude Code

.opencode/commands/uf.finale.md

uf.finale is a command for Claude Code, OpenCode from unbound-force/gaze. It costs 39 tokens per session (7,331 once invoked), scanned B, original, Apache-2.0.

A command that finishes a software branch by preparing a commit, sending it to the remote repository, opening a pull request, monitoring its automated checks, and returning to the main branch.

In plain words
What is it for?
Use it after implementing a feature or change on a Speckit or OpenSpec branch, optionally supplying a hint for the commit message.
Why use it?
It groups the repetitive end-of-branch steps into one workflow while leaving the pull request open for human review.

Command for Claude CodeOpenCode

Written for Claude Code and OpenCode: $ARGUMENTS substitution, but also installed under .opencode/. Also seen: mentions subagents.

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.finale.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.finale

README.md
[![agentmods](https://agentmods.dev/badge/commands/unbound-force/gaze/uf.finale.svg)](https://agentmods.dev/commands/unbound-force/gaze/uf.finale)
Your own site
<a href="https://agentmods.dev/commands/unbound-force/gaze/uf.finale"><img src="https://agentmods.dev/badge/commands/unbound-force/gaze/uf.finale.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 7,331 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
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.00039 $0.07331
Opus 5 $0.00019 $0.03666
Sonnet 5 $0.00008 $0.01466
Haiku 4.5 $0.00004 $0.00733

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

Security

Grade B, and why

uf.finale 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 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.

Asks for rootmediumPrivilege escalation

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

chmod 600 "$BODY_FILE"
.opencode/commands/uf.finale.md · 1,023 lines

How it starts

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

Command: /uf.finale

User Input

$ARGUMENTS

Description

Automate the end-of-branch workflow. Stages all changes, generates a conventional commit message, pushes, creates a PR, watches CI checks, and returns to main. The PR stays open for human review. Works with both Speckit (NNN-* or NNN-* legacy) and OpenSpec (opsx/*) branches.

Usage

/uf.finale                    # auto-detect everything
/uf.finale fix the typo       # use as commit message hint

Instructions

Session-resume guard: If this session has been resumed from compressed context, or if you cannot verify that the human explicitly confirmed a gate in the current uncompressed conversation history, you MUST re-read this entire template, recover state from the execution checklist below, and re-confirm any pending gates via the question tool before proceeding. Do NOT rely on gate confirmations recorded in compressed context. Do NOT infer step completion from compressed summaries. When in doubt, re-confirm — false re-confirmation is harmless; executing without consent is a violation.

Execution checklist: The agent MUST maintain this checklist using the Edit tool after completing each step. This checklist survives context compression and serves as the source of truth for workflow state.

BRANCH=<set when known>
COMMIT=<set when known>
PR_NUMBER=<set when known>
PR_URL=<set when known>
CONFLICT_OPTION=<set when known>

[ ] Step 1 — Branch Safety Gate
[ ] Step 2 — Check for Changes to Commit
[ ] Step 3 — Generate and Confirm Commit Message
[ ] Step 4 — Push to Remote
[ ] Step 5 — Create or Find PR
[ ] Step 6 — Watch CI Checks
[ ] Step 7 — Return to Main
[ ] Step 8 — Summary

After completing each step, use the Edit tool to:

  1. Mark the step [x] in this checklist
  2. Set any state variables that became known (e.g., BRANCH=opsx/my-feature after Step 1)

If resuming from compressed context, re-read this checklist to determine which steps are complete and what state is available.

Read the full file on GitHub · 1,023 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. 2d ago Changed · +51 lines 39166be59045
  2. 6d ago First seen · 972 lines · 39 tokens per session scan B 577902adbf3d

Subscribe to this mod's changes

uf.finale is a command published in the GitHub repository unbound-force/gaze (2 stars, last pushed yesterday), licensed Apache-2.0. It adds 39 tokens to every session and 7,331 once invoked, about $0.0002 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.