
Handoff
Resume the most recent agent session for the current working directory, leading with...
Install
npx skills add rohitg00/agentmemory --skill handoff -g -a claude-code -y- Repository
- rohitg00/agentmemory30.1k
- Category
- AI and agents
- Updated
- 6d ago
- License
- Apache-2.0
- Context cost
- Lightabout 693 tokens
- Runs scripts
- No, instructions only
What it does
Resume the most recent agent session for the current working directory, leading with any unanswered question. Use when the user says "where were we", "resume", "handoff", "pick up where I left off", or starts a session with no fresh context.
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.

