gaze: Command for Claude Code

.opencode/commands/handoff.md

handoff is a command for Claude Code, OpenCode from unbound-force/gaze. It costs 16 tokens per session (399 once invoked), scanned A, original, Apache-2.0.

A command for closing an agent work session in an organized way. It records finished work, unfinished work, blockers, next steps, and important surprises.

In plain words
What is it for?
Use it to release reservations, update shared project status, sync state to Git, and save a handoff note.
Why use it?
It reduces lost context between sessions and frees shared file reservations before another agent or person continues the work.

Command for Claude CodeOpenCode

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

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/handoff.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 handoff

README.md
[![agentmods](https://agentmods.dev/badge/commands/unbound-force/gaze/handoff/github.svg)](https://agentmods.dev/commands/unbound-force/gaze/handoff)
Your own site
<a href="https://agentmods.dev/commands/unbound-force/gaze/handoff"><img src="https://agentmods.dev/badge/commands/unbound-force/gaze/handoff/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 handoff

Your own site · 80×15
<a href="https://agentmods.dev/commands/unbound-force/gaze/handoff"><img src="https://agentmods.dev/badge/commands/unbound-force/gaze/handoff.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 399 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 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.00016 $0.00399
Opus 5.5 $0.00006 $0.00160
Sonnet 5.5 $0.00003 $0.00080
Haiku 4.5 $0.00002 $0.00040

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

Security

Grade A, and why

handoff 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 8d 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.

.opencode/commands/handoff.md · 55 lines

What it actually says

Wrap up a session cleanly.

Workflow

Steps MUST execute in this exact order -- do not reorder or parallelize.

  1. Forge precondition check -- SHOULD check for active forge workers before proceeding. If workers are active, warn the user and request confirmation before releasing reservations. If forge tools are unavailable or you have no active forge context (no known epic_id/project_key), skip this check.

  2. Summarize completed work and open blockers -- do this first so you have full awareness of session state before releasing anything.

  3. comms_release_all() -- free all file reservations. Depends on step 1: you need the summary to know what was reserved and whether any reservations are still needed.

  4. org_update() / org_close() -- update cell statuses. Depends on step 2: reservations must be released before updating cell state to avoid stale lock references.

  5. org_sync() -- persist state to git. Depends on step 3: cell statuses must be final before syncing to avoid persisting intermediate state.

  6. org_session_end(handoff_notes="...") -- save handoff for next session. Depends on step 4: sync must complete before ending the session so the handoff reflects the final persisted state. Structure your handoff notes as follows:

    - Completed: What tasks were finished
    - In Progress: What was started but not finished
    - Blocked: What is waiting on external input
    - Next Steps: What the next agent should do first
    - Gotchas: Any surprises or edge cases discovered
    
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. 8d ago Changed · +29 lines dd00591403eb
  2. 2mo ago First seen · 26 lines · 16 tokens per session scan A e17988ecc6fc

Subscribe to this mod's changes

handoff is a command published in the GitHub repository unbound-force/gaze (4 stars, last pushed yesterday), licensed Apache-2.0. It adds 16 tokens to every session and 399 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

handoff compared with commands from other repositories

handoff next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
handoffunbound-force/gazeCommand4yesterdayApache-2.0A16Claude Code, OpenCode
checklistgithub/spec-kitCommand148kyesterdayMITA13Claude Code
clarifygithub/spec-kitCommand148kyesterdayMITA27Claude Code
specifygithub/spec-kitCommand148kyesterdayMITA13Claude Code
analyzegithub/spec-kitCommand148kyesterdayMITA26Claude Code
convergegithub/spec-kitCommand148kyesterdayMITA35Claude Code
implementgithub/spec-kitCommand148kyesterdayMITA14Claude Code