handoff
यह क्या करती है
यह स्किल मौजूदा प्रोजेक्ट फ़ोल्डर के आपके सबसे हाल के एजेंट सेशन को फिर से शुरू करती है। यह किसी अनुत्तरित सवाल से शुरू करती है और अगला कदम सुझाती है।
कब इस्तेमाल करें
- ✓जब आप कहें 'हम कहाँ थे' या पूछें कि जहाँ छोड़ा था वहीं से आगे बढ़ें।
- ✓जब आप किसी प्रोजेक्ट के बारे में ताज़ा संदर्भ बिना सत्र शुरू करें।
- ✓जब आप उसी फ़ोल्डर के आखिरी सेशन से काम फिर शुरू करना चाहें।
Skill का लिंक
https://github.com/rohitg00/agentmemory/blob/main/plugin/skills/handoff/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“ऑथ रिफ़ैक्टर पर हम कहाँ थे? इस प्रोजेक्ट के आखिरी सेशन से आगे बढ़िए।”
हर हफ़्ते 5 नई skills, 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
- Resolve the project path: if
$ARGUMENTSis given, normalize it to absolute (path.resolve(process.cwd(), $ARGUMENTS)); else use the cwd. - Call
memory_sessionswith the exact project identifier when known, andagentIdwhen requested. Otherwise follownextCursoruntil the matching directory is found or pagination ends. Preserve filters between pages. Pick the most recent session whose normalizedcwdmatches by directory boundary: equality, ORcwd.startsWith(projectPath + sep), ORprojectPath.startsWith(cwd + sep). Prefercompletedoverabandoned. No match: report that this project has no matching session and stop. Do not substitute a different project's session. - If the session ended on an unanswered user-facing question, surface it FIRST.
Look in
summaryor recentconversationobservations whosenarrativeends in?. - Summarize: title/summary, key files, key decisions or errors, using
memory_recallon 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. - 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
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
agentmemory-agents
30kयह आपके एजेंट को agentmemory मेमोरी सर्वर को Claude Code, Cursor और Codex जैसे कोडिंग टूल से जोड़ने में मदद करती है।
agentmemory-architecture
30kयह समझाती है कि agentmemory कोडिंग एजेंट की मेमोरी को कैसे सेव, खोजता और संभालता है, कैप्चर से लेकर याद करने तक।
agentmemory-config
30kयह आपके एजेंट को agentmemory मेमोरी सर्वर सेट करने और जांचने में मदद करती है, जिसमें पोर्ट, सेटिंग और फ़ीचर फ़्लैग शामिल हैं।
agentmemory-hooks
30kयह आपके एजेंट को हर नोट खुद सेव किए बिना कोडिंग सेशन से काम की बातें अपने-आप कैप्चर करने में मदद करती है।
मिलती-जुलती skills
add-model-provider
394kयह आपके एजेंट को सुरक्षित कमांड से OpenClaw में नया AI मॉडल प्रोवाइडर जोड़ने, API कीज़ को सादे टेक्स्ट से बचाने और लाइव टेस्ट चलाने देती है।
acp-router
394kयह आपके एजेंट को OpenClaw के ज़रिए Claude Code या Cursor जैसे कोडिंग असिस्टेंट को काम भेजने देती है, ताकि काम उसी टूल में चले।
browser-automation
394kयह आपके एजेंट को लॉगिन, टैब और अटकी वेब पेज से उबरने समेत, वेबसाइट पर चरण-दर-चरण काम करना सिखाती है।