handoff

handoff is a skill for Claude Code, Codex from rmarquesa/agentmemory-offline. It costs 55 tokens per session (612 once invoked), scanned A, a copy of handoff, Apache-2.0.

A session-resume skill that finds the most recent agent session connected to the current project directory. It brings forward unresolved questions and the next suggested step.

In plain words
What is it for?
Use it when resuming work, asking where you left off, or starting a session without fresh context.
Why use it?
It helps continue unfinished work without manually searching through old conversations or confusing a nearby project with the current one.

Skill for Claude CodeCodex

Part of the agentmemory plugin — 15 skills, 2 commands, 12 hooks, 1 MCP server shipped together

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 skills/rmarquesa/agentmemory-offline/handoff
Any agent
npx skills add rmarquesa/agentmemory-offline --skill handoff
Clone the repo
git clone --depth 1 https://github.com/rmarquesa/agentmemory-offline

Made for: Claude Code, Codex.

Or install agentmemory, the plugin that ships this one along with the rest of its 15 skills, 2 commands, 12 hooks, 1 MCP server.

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/skills/rmarquesa/agentmemory-offline/handoff.svg)](https://agentmods.dev/skills/rmarquesa/agentmemory-offline/handoff)
Your own site
<a href="https://agentmods.dev/skills/rmarquesa/agentmemory-offline/handoff"><img src="https://agentmods.dev/badge/skills/rmarquesa/agentmemory-offline/handoff.svg" alt="Measured on agentmods" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 612 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.00055 $0.00612
Opus 5 $0.00028 $0.00306
Sonnet 5 $0.00011 $0.00122
Haiku 4.5 $0.00006 $0.00061

Measured 4d ago against content hash 1a5695744091, 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 4d 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.

Origin

This is a copy

100% identical to handoff — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugin/skills/handoff/SKILL.md · 69 lines

How it starts

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

The user wants to resume work. Optional cwd override: $ARGUMENTS

Quick start

memory_sessions { "limit": 20 }

Pick the most recent session whose cwd matches this project, then: memory_recall { "query": "<session top concepts>", "limit": 10 }.

Expected output:

Resuming 7f3a9c2 "Auth refresh rework".
Open question: should logout revoke all device tokens or just the current one?
Next step: decide revoke scope, then update auth/logout.ts.

Why

Match the session by directory boundary, not raw prefix, so a sibling repo never gets mistaken for this one. Never invent observations for an empty session.

Workflow

  1. Resolve the project path: if $ARGUMENTS is given, normalize it to absolute (path.resolve(process.cwd(), $ARGUMENTS)); else use the cwd.
  2. Call memory_sessions. Pick the most recent session whose normalized cwd matches by directory boundary: equality, OR cwd.startsWith(projectPath + sep), OR projectPath.startsWith(cwd + sep). Prefer completed over abandoned. No match: fall back to the single most recent session overall.
  3. If the session ended on an unanswered user-facing question, surface it FIRST. Look in summary or recent conversation observations whose narrative ends in ?.
  4. Summarize: title/summary, key files, key decisions or errors, using memory_recall on the top concepts, limit 10.
  5. End with one concrete "next step?" pointer.

Anti-patterns

WRONG: session.cwd.startsWith(projectPath) matches /repo-a-staging when the project is /repo-a, resuming the wrong repo's session.

RIGHT: session.cwd === projectPath || session.cwd.startsWith(projectPath + sep), a directory-boundary check that cannot cross sibling repos.

Checklist

  • cwd override resolved to an absolute, normalized path.
  • Match used a directory-boundary check, not a raw prefix.
  • Unanswered question (if any) leads the response.
  • Empty session is reported plainly, with an offer to start fresh.

Read the full file on GitHub · 69 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 69 lines · 55 tokens per session scan A 1a5695744091

Subscribe to this mod's changes

handoff is a skill published in the GitHub repository rmarquesa/agentmemory-offline (0 stars, last pushed 4d ago), licensed Apache-2.0. It adds 55 tokens to every session and 612 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to handoff, differing in 0 lines, and is treated as a copy.