Skip to content

Resumes the latest matching session for a directory, surfacing any unanswered question before the summary.

CCM score
75 of 100
skills.sh installs
14.5K
GitHub stars
30.7K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers session lookup by working directory, recall of related concepts, and a single next-step pointer
  • Matches sessions by directory boundary, so sibling repos such as /repo-a-staging are never resumed by mistake
  • Surfaces an unanswered user question first, and reports plainly when no matching session exists
  • Designed for resuming work through memory_sessions and memory_recall, with an optional $ARGUMENTS cwd override

Install

$ npx -y skills add rohitg00/agentmemory --skill handoff -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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

Quick start

memory_sessions { "project": "<current-project-id>", "limit": 20 }

Pick the most recent session whose cwd matches this project, then: memory_recall { "query": "<session top concepts>", "project": "<current-project-id>", "limit": 10 }. When an agent is requested, pass the same agentId to both calls.

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

Details

Repository
github.com/rohitg00/agentmemory
Categories
Memory & Context, Agent Workflow & Planning
First seen
Jul 14, 2026

Questions

What does the handoff skill do?

The handoff skill resumes the most recent agent session for the current working directory. It leads with any unanswered question from that session, then summarizes key files, decisions and errors using memory recall.

How do I install the handoff skill?

Run npx -y skills add rohitg00/agentmemory --skill handoff -y in your project. Once installed, the agent can pick up where you left off when you say things like where were we or resume.

Where does handoff rank in the Memory & Context category?

The handoff skill ranks in the top 25 of the Memory & Context category on Claude Marketplaces. It sits alongside caveman-compress, caveman-stats, caveman-learn and caveman-optimize.

What does handoff need to work?

The skill relies on the agentmemory memory_sessions and memory_recall tools being available. If those tools are not available, the skill's troubleshooting guide covers the setup.

How does handoff avoid resuming the wrong project's session?

It matches sessions by directory boundary rather than raw path prefix, so a sibling repo such as a staging folder is never mistaken for the current project. If no session matches, it reports that and stops.

More from rohitg00/agentmemory

All 15

Similar to Handoff

More Memory & Context