create-handoff

create-handoff is a skill for Claude Code from aiya000/dotfiles. It costs 134 tokens per session (2,597 once invoked), scanned A, original, MIT.

A session handoff writer that saves instructions and current work details in a predictable file under a temporary directory. A later coding session can find that file without the user carrying its path.

In plain words
What is it for?
It helps create a timestamped note for the next session, including the project and follow-up instructions. It is useful when pausing work or switching to a new agent session.
Why use it?
It reduces the risk of losing unfinished work or context when a long session ends. The predictable location also avoids relying on a temporary random directory name.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code; mentions AGENTS.md.

Good fit It helps create a timestamped note for the next session, including the project and follow-up instructions. It is useful when pausing work or switching to a new agent session.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aiya000/dotfiles/create-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 aiya000/dotfiles --skill create-handoff
Clone the repo
git clone --depth 1 https://github.com/aiya000/dotfiles

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/aiya000/dotfiles/create-handoff"><img src="https://agentmods.dev/badge/skills/aiya000/dotfiles/create-handoff.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 134 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,597 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.00134 $0.02597
Opus 5.5 $0.00054 $0.01039
Sonnet 5.5 $0.00027 $0.00519
Haiku 4.5 $0.00013 $0.00260

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

Security

Grade A, and why

create-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 18d 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_global/skills/create-handoff/SKILL.md · 166 lines

How it starts

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

create-handoff

Writes the handoff prompt for the next session, and puts it where read-handoff will find it on its own. The point of the pair is that no one has to carry a path between sessions.

First: save the memory, then write the handoff around it

Run the save-memory skill before writing the handoff, unless the user said not to (/create-handoff --no-memory, 「メモリーは要らない」, and the like). The two files split the session between them, and each fact is written once, in the file it belongs to:

  • The memory file (~/.ai-memory/YYYY-MM-DD-{project}-{topic}.md) carries the durable half -- decisions with their reasons, the gotchas that cost time, the user's preferences, what is still open. Dense English, read by any later session, still worth having in a month
  • The handoff file carries the perishable half -- where the branch stands right now, what to do first, who is waiting on what, how the user is doing. Written for the very next session, and stale within days

Never copy the memory's content into the handoff. The handoff names the memory file and tells the next session to read it; that is the whole of the overlap between them.

Note the path save-memory wrote to -- the handoff's first section needs it.

If save-memory was skipped, say so in that section, and then this handoff carries everything itself, as it used to.

Where the file goes

~/.ai-memory/handoff/, in the same git repository as the memory files. It is shared by the local machine and Claude Code cloud sessions, so a handoff written on one side is picked up on the other -- but only once it is pushed (see After writing).

  1. Get the repository ready with the sync-memory skill (prepare). If save-memory just ran, it already did this; running it again only pulls
  2. mkdir -p ~/.ai-memory/handoff

The path is deterministic on purpose. A mktemp -d path cannot be found again by the next session, which is the whole thing this pair exists to avoid.

Read the full file on GitHub · 166 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. 18d ago Changed · +6 lines ef90d4efdfeb
  2. 25d ago Changed bf09a026ace5
  3. 28d ago Changed · +12 lines · +17 tokens per session 707100816db4
  4. 1mo ago Changed · +30 lines · +23 tokens per session b7de155064f1
  5. 1mo ago Changed · +36 lines · +21 tokens per session 6768b7530659
  6. 1mo ago First seen · 82 lines · 73 tokens per session scan A 112997cd5377

Subscribe to this mod's changes

create-handoff is a skill published in the GitHub repository aiya000/dotfiles (21 stars, last pushed 10d ago), licensed MIT. It adds 134 tokens to every session and 2,597 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-07.