handoff

handoff is a command for Claude Code from regen-coordination/org-os-template. It costs 61 tokens per session (716 once invoked), scanned A, original, MIT.

A handoff-prompt generator for passing a specific coding task to another operator. An operator is a person or agent working on their own Git branch or clone.

In plain words
What is it for?
Use it to hand a document section or task to another operator, have them work on their branch, commit the result, and prepare a pull request to main.
Why use it?
It turns a vague transfer of work into a compact brief with the target, requested result, repository link, branch guidance, and delivery steps.

Command for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/regen-coordination/org-os-template/handoff
Clone the repo
git clone --depth 1 https://github.com/regen-coordination/org-os-template

Made for: Claude Code.

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/regen-coordination/org-os-template/handoff.svg)](https://agentmods.dev/commands/regen-coordination/org-os-template/handoff)
Your own site
<a href="https://agentmods.dev/commands/regen-coordination/org-os-template/handoff"><img src="https://agentmods.dev/badge/commands/regen-coordination/org-os-template/handoff.svg" alt="Measured on agentmods" height="20"></a>
Per session 61 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 716 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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 $0.00061 $0.00716
Opus 5 $0.00030 $0.00358
Sonnet 5 $0.00012 $0.00143
Haiku 4.5 $0.00006 $0.00072

Measured 5d ago against content hash 09b54152d456, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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.

.claude/commands/handoff.md · 37 lines

How it starts

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

You are generating a handoff prompt — a compact, copy-paste brief another operator pastes into THEIR clone of this org-os instance (any agent/editor) to pick up a piece of work. It self-syncs their trunk with plain git (no dependency on /sync existing), points them at the target, and ends with a clean trunk→main PR.

The output is the deliverable. Keep it minimal.

Step 1: Parse the ask

$ARGUMENTS = <operator> <target> [the ask…]

  • operator → trunk: resolve the operator's trunk slug from the instance's operator roster (data/members.yaml, or the trunk branches on the remote: git branch -r). If ambiguous, ask which trunk.
  • target: a repo doc (docs/SOME-DOC.md or a bare filename, optionally a §N/heading) or a task id (task-…, resolve from data/tasks.yaml).
  • the ask: the rest — one clause naming the concrete deliverable. If absent, infer from the target; if still unclear, ask ONE question. Don't over-ask.
  • Live link: derive the repo's web URL from git remote get-url originhttps://github.com/<org>/<repo>/blob/main/<docpath> (append #<anchor> only if confident it resolves; otherwise name the section inside the ask). For a task, link the same repo path to data/tasks.yaml and cite the id.
  • Confirm the trunk slug from Step 1.

Step 3: Emit the prompt (a single paragraph the operator pastes into their instance)

The prompt is an instruction to THEIR agent (Claude Code / OpenCode / Cursor / Zed) — natural language; the agent does the git sync, the edits, and the PR. Output ONLY this filled template in a code block, nothing else:

In <REPO-NAME>: sync my `<TRUNK>` trunk with `main` — fetch, switch to <TRUNK>, merge `origin/main` (fast-forward if possible, else a merge commit), push. Then open <LINK> and <ASK>. Commit to <TRUNK> and open a PR to `main`.

Rules:

  • One paragraph, no shell fences — the agent decides the exact commands.
  • <ASK> = section (§N) + the concrete deliverable, one clause.
  • If the target operator's trunk is far-behind/messy (e.g. a committed venv), extend the sync clause in-line: (if it conflicts, keep origin/main for shared files; if a venv is tracked, untrack it + gitignore).

Read the full file on GitHub · 37 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. 5d ago First seen · 37 lines · 61 tokens per session scan A 09b54152d456

Subscribe to this mod's changes

handoff is a command published in the GitHub repository regen-coordination/org-os-template (5 stars, last pushed 6d ago), licensed MIT. It adds 61 tokens to every session and 716 once invoked, about $0.0003 per session on Opus 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.