handoff

handoff is a command for Claude Code from restarter/lets-workflow. It costs 116 tokens per session (9,435 once invoked), scanned A, original, MIT.

A handoff command writes a self-contained brief for another coding agent or reviewer. The brief can describe local changes, staged changes, a commit, a branch, or a pull request without relying on the current conversation.

In plain words
What is it for?
Use it to transfer work on uncommitted or staged changes, the last commit, a branch, or a GitHub or Bitbucket pull request. It can produce a message for tools such as Codex.
Why use it?
It prevents the next agent from missing important context about the repository and the work in progress. It also supports sending the brief to another agent or bringing back its report.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md; names the AskUserQuestion tool; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the lets plugin — 20 skills, 26 commands, 16 agents shipped together

Good fit Use it to transfer work on uncommitted or staged changes, the last commit, a branch, or a GitHub or Bitbucket pull request. It can produce a message for tools such as Codex.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add restarter/lets-workflow
Claude Code
/plugin install lets

Made for: Claude Code.

Or install lets, the plugin that ships this one along with the rest of its 20 skills, 26 commands, 16 agents.

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/restarter/lets-workflow/handoff/github.svg)](https://agentmods.dev/commands/restarter/lets-workflow/handoff)
Your own site
<a href="https://agentmods.dev/commands/restarter/lets-workflow/handoff"><img src="https://agentmods.dev/badge/commands/restarter/lets-workflow/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/restarter/lets-workflow/handoff"><img src="https://agentmods.dev/badge/commands/restarter/lets-workflow/handoff.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 116 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 9,435 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.00116 $0.09435
Opus 5.5 $0.00046 $0.03774
Sonnet 5.5 $0.00023 $0.01887
Haiku 4.5 $0.00012 $0.00944

Measured 15d ago against content hash 29754aa69a32, 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 15d 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.

plugins/lets/commands/handoff.md · 407 lines

How it starts

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

Handoff - Brief for Another Agent

Produce ONE message the user copies into another agent. That agent has NO context: not this conversation, not the task, not even which repo. The brief must be complete on its own.

  • The brief is the deliverable - review nothing yourself and edit no file of the repository (--fix is the one exception); --send / --open / --codex hand it on and bring the report back (Step 7)
  • --execute turns a plan's brief from "review this" into "implement this": the receiving agent writes code and commits, this session still edits nothing (Step 5b)
  • --fix applies the report's verified fixes in THIS session when nothing needs deciding (7.4, the apply-fixes skill); the user typing it is the write authorization for that run - edits only, never a commit
  • Target selectors mirror /lets:review, so the same flag reviews here or hands off there; works in any git repo, with or without LETS

IMPORTANT: If the spec below invokes any deferred tool (e.g. AskUserQuestion), you MUST load and call it as specified. Never skip the call, never substitute a default answer of your own — the tool invocation is part of the contract. This is critical.

Usage

/lets:handoff                      # infer the target from context; asks only if genuinely ambiguous
/lets:handoff <PR-url-or-number>   # GitHub or Bitbucket PR
/lets:handoff --pr <id-or-url>     # alias of the bare form above
/lets:handoff --local              # uncommitted changes
/lets:handoff --staged             # staged changes only
/lets:handoff --last-commit        # last commit
/lets:handoff --branch             # full branch vs the merge branch (three-dot, like a PR)
/lets:handoff --plan               # newest plan in .lets/plans/
/lets:handoff --plan <path>        # a specific plan file
/lets:handoff --file <path>        # one file
/lets:handoff --commits <N>        # handoff-only: the last N commits (a fix round)
/lets:handoff --range <a>..<b>     # handoff-only: an explicit range
/lets:handoff --spec <path>        # what the reviewer judges against (or a bare task id)
/lets:handoff --spec none          # deliberately no spec - no spec line, no caveat
/lets:handoff --plan --codex              # run the brief through Codex headless (read-only), relay + verify its report
/lets:handoff --branch --send             # type the brief into an agent tab of this worktree (pick one)
/lets:handoff --branch --send antigravity # ... the Antigravity tab (an agent name, or a fragment of the tab title)
/lets:handoff --plan --open               # a new Codex tab (read-only) in this worktree gets the brief
/lets:handoff --execute --send codex      # the open Codex tab implements the newest plan of this task
/lets:handoff --execute --plan <path> --send   # ... a specific plan; pick the tab
/lets:handoff --branch --codex --fix      # ... then apply the verified fixes here when nothing needs deciding

Read the full file on GitHub · 407 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. 15d ago Changed · +22 lines 29754aa69a32
  2. 19d ago Changed · +2 lines 3396736b63e6
  3. 20d ago Changed · +2 lines 7fe78e586972
  4. 23d ago Changed · +7 lines 06b61d86a532
  5. 26d ago Changed · +121 lines · +19 tokens per session 37045198748b
  6. 28d ago First seen · 253 lines · 97 tokens per session scan A 7390ae4a202c

Subscribe to this mod's changes

handoff is a command published in the GitHub repository restarter/lets-workflow (17 stars, last pushed today), licensed MIT. It adds 116 tokens to every session and 9,435 once invoked, about $0.0005 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-09-19.