agent-handoff

agent-handoff is a skill for Claude Code, Codex from hams-ollo/zen-agent-skills. It costs 186 tokens per session (1,602 once invoked), scanned A, original, MIT.

A handoff-writing guide for turning the current coding session into a self-contained brief for another agent or a new session.

In plain words
What is it for?
Use it to record the current repository state, decisions, attempted work, remaining tasks, and boundaries for a follow-up agent.
Why use it?
It prevents the next agent from repeating completed work, changing files it should leave alone, or relying on outdated assumptions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions subagents; installed under .agents/ (shared by several agents).

Good fit Use it to record the current repository state, decisions, attempted work, remaining tasks, and boundaries for a follow-up agent.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hams-ollo/zen-agent-skills/agent-handoff
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.

Any agent
npx skills add hams-ollo/zen-agent-skills --skill agent-handoff
Clone the repo
git clone --depth 1 https://github.com/hams-ollo/zen-agent-skills

Made for: Claude Code, Codex.

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 agent-handoff

README.md
[![agentmods](https://agentmods.dev/badge/skills/hams-ollo/zen-agent-skills/agent-handoff/github.svg)](https://agentmods.dev/skills/hams-ollo/zen-agent-skills/agent-handoff)
Your own site
<a href="https://agentmods.dev/skills/hams-ollo/zen-agent-skills/agent-handoff"><img src="https://agentmods.dev/badge/skills/hams-ollo/zen-agent-skills/agent-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 agent-handoff

Your own site · 80×15
<a href="https://agentmods.dev/skills/hams-ollo/zen-agent-skills/agent-handoff"><img src="https://agentmods.dev/badge/skills/hams-ollo/zen-agent-skills/agent-handoff.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 186 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,602 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.00186 $0.01602
Opus 5 $0.00093 $0.00801
Sonnet 5 $0.00037 $0.00320
Haiku 4.5 $0.00019 $0.00160

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

Security

Grade A, and why

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

.agents/skills/agent-handoff/SKILL.md · 95 lines

How it starts

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

Agent handoff

Write a brief that a downstream agent session or subagent can execute on its own, with no access to the current conversation. The reader is a machine that will act on what you write, so the brief has to be self-contained, unambiguous about what not to touch, and precise about what is already true. When the handoff target is a person rather than an agent, use human-handoff instead.

Why this shape

A fresh session starts cold. It cannot see what was decided here, what was already tried, or which files matter. Most bad handoffs fail in one of three ways: the agent re-does work that is already done, the agent wanders into files or decisions it should have left alone, or the agent acts on a stale assumption because the brief never pinned down what was actually proven and when. The five sections below exist to close those three gaps. Keep the whole thing tight; a brief the reader will not finish is worse than a short one.

Before writing: gather the real state

Do not write the brief from memory of the conversation alone. Ground it in the repository as it actually is right now, because that is what the downstream agent will see.

  1. If the repo has an AGENTS.md or CLAUDE.md, read it. Inherit its reading protocol, task lifecycle, and conventions rather than restating them. If it defines a task system (for example .tasks/), the brief should point the agent at the relevant task file instead of duplicating its content.
  2. Check git status and recent changes so the "what is proven" section reflects the working tree, not your recollection.
  3. Identify the exact files the work touches. Name them by path. If you are unsure a file is relevant, it probably is not; a shorter reading list is better than a padded one.

Output structure

Produce one contiguous block the user can copy in a single action. Use this order. The section labels can be light; the content is what matters.

1. Role and mode

State who the agent is for this task and, critically, what mode it is in. The sharpest handoffs name the mode as a boundary: an analysis and recommendation task is not an implementation task, and saying so up front prevents the agent from writing code when you wanted a written plan. Example framing: "You are doing an architectural deep-dive, not implementation. The deliverable is a written analysis, nothing more."

Read the full file on GitHub · 95 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 Changed · +7 lines f6e20f66b960
  2. 9d ago First seen · 88 lines · 186 tokens per session scan A a0f7ac9cbe71

Subscribe to this mod's changes

agent-handoff is a skill published in the GitHub repository hams-ollo/zen-agent-skills (2 stars, last pushed 8d ago), licensed MIT. It adds 186 tokens to every session and 1,602 once invoked, about $0.0009 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.