본문으로 건너뛰기
Skillpedia
에이전트30k · #9348

handoff

하는 일

이 스킬은 현재 프로젝트 폴더의 가장 최근 에이전트 세션을 재개합니다. 답하지 않은 질문으로 시작하고, 다음 단계를 제안합니다.

사용하는 경우

  • ✓「어디까지 했지?」라고 말하거나 중단한 곳부터 이어 가고 싶다고 할 때.
  • ✓프로젝트에 대한 새로운 맥락 없이 세션을 시작할 때.
  • ✓같은 폴더의 마지막 세션에서 작업을 재개하고 싶을 때.

스킬 링크

https://github.com/rohitg00/agentmemory/blob/main/plugin/skills/handoff/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/rohitg00/agentmemory/blob/main/plugin/skills/handoff/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“인증 리팩터링은 어디까지 했죠? 이 프로젝트의 마지막 세션에서 이어서 진행해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 일치하는 프로젝트 폴더의 가장 최근 세션을 찾고 핵심 메모리를 불러옵니다. 열려 있는 질문을 먼저 말하고 다음 단계를 이어서 말하며, 비어 있는 세션에 대해서는 세부 내용을 지어내지 않습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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

  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 with the exact project identifier when known, and agentId when requested. Otherwise follow nextCursor until the matching directory is found or pagination ends. Preserve filters between pages. 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: report that this project has no matching session and stop. Do not substitute a different project's session.
  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, preserving the chosen project and agent scope. Check each result's session or project provenance before including it; a query alone does not enforce scope.
  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.

See also

  • recap, session-history, recall: same session data, broader views.

Troubleshooting

See TROUBLESHOOTING.md if memory_sessions or memory_recall is not available.

자주 묻는 질문

내 프로젝트는 어떻게 찾나요?

폴더로 찾으므로, 이름이 비슷한 다른 프로젝트와 섞이지 않습니다.

일치하는 세션이 없으면 어떻게 되나요?

에이전트는 일치하는 세션을 찾지 못했다고 알려 줍니다.

다른 폴더를 지정할 수 있나요?

네. 현재 폴더 대신 재개할 폴더 경로를 줄 수 있습니다.

상세 정보

작성자의 원본 설명

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.

repo: rohitg00/agentmemory

인기도

GitHub 스타
30k
순위
#9348
라이선스
Apache-2.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬