forget
यह क्या करती है
यह स्किल agentmemory से चुनी हुई मेमोरी हटाती है। पहले मेल खाने वाली चीज़ें दिखाती है और केवल वही हटाती है जिनकी आप पुष्टि करें।
कब इस्तेमाल करें
- ✓जब आप agentmemory से कोई खास सेव की गई मेमोरी हटवाना चाहें।
- ✓जब आप गोपनीयता के कारण संवेदनशील जानकारी हटाना चाहें।
- ✓जब आप कोई पुराना नोट हटाना चाहें जो अब सही न हो।
Skill का लिंक
https://github.com/rohitg00/agentmemory/blob/main/plugin/skills/forget/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“वह नोट भूल जाइए जिसमें मैंने अपनी पुरानी API कुंजी सेव की थी, लेकिन पहले मेल खाने वाला नोट दिखाइए ताकि मैं पुष्टि कर सकूँ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट मेल खाने वाली मेमोरी खोजता है और उनके ID और स्कोप के साथ सूची दिखाता है, जिसमें सीक्रेट मान छिपे रहते हैं। आपकी पुष्टि के बाद वह केवल उन्हीं मेमोरी ID को हटाता है जिन्हें आपने मंज़ूर किया।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
The user wants to remove data from agentmemory: $ARGUMENTS
Quick start
memory_smart_search { "query": "old api key in config", "targetLayer": "memory", "limit": 20 }
Show the matches, get a yes, then:
memory_governance_delete { "memoryIds": "abc12345,def67890", "reason": "user privacy request" }
Expected output:
Found 2 matching memories. Confirmed. Deleted 2 memories.
Why
This is destructive and irreversible. Show exactly what will be deleted and get an explicit yes before calling delete. Delete by memory ID, never a bare session.
Workflow
- Search with
memory_smart_search, the user's text asquery,targetLayer: "memory",limit: 20, and the requested project/agent scope. These are selected relevance matches, not an exhaustive inventory. - Show what matched: memory ids, titles, and scope. Redact secret values. Ask for explicit confirmation. Do not proceed on silence or a vague "sure, whatever".
- On confirmation, call
memory_governance_deletewithmemoryIdsas a comma-separated string and optionalreason(defaultplugin skill request). - Observation or whole-session erasure is not supported by this operation.
Explain that limit before proceeding; never label selected memory deletion
as a complete session wipe. Do not pass observation IDs or a
sessionId. - Lessons are separate: delete one with
memory_lesson_deleteand itslessonId;memory_governance_deletedoes not touch lessons. - Check
deleted,notFound, andfailedin the response. Report actual deletions and unresolved IDs separately. Recheck the selected IDs before retrying a failed request; an interrupted response may hide a completed write.
Anti-patterns
WRONG: search returns matches, you immediately call memory_governance_delete
without showing them or waiting for a yes.
RIGHT: list the matches, ask "Delete these 2? (yes/no)", and only delete after an explicit yes.
Checklist
- Matches were shown to the user before any delete.
- An explicit yes was received, not assumed.
memoryIdsholds real ids from the search, never a baresessionId.- Final message states the actual count deleted.
See also
remember: the write side; forget is its undo.recall: find the exact memory id before deleting.
Troubleshooting
See TROUBLESHOOTING.md if memory_smart_search or memory_governance_delete is not available.
अक्सर पूछे जाने वाले सवाल
क्या हटाना वापस हो सकता है?
नहीं। हटाना स्थायी है, इसलिए एजेंट पहले साफ़ पुष्टि मांगता है।
क्या पूरा सेशन मिटाया जा सकता है?
नहीं। यहाँ पूरे सेशन या अवलोकन के हिसाब से हटाना समर्थित नहीं है, केवल चुनी हुई मेमोरी हटती है।
सहेजे गए सबक का क्या?
सबक मेमोरी से अलग संभाले जाते हैं।
जानकारी
लेखक का मूल विवरण
Delete selected durable memories from agentmemory after showing them and getting explicit confirmation. Use when the user says "forget this", "delete memory", "remove that note", or wants to scrub specific data for privacy.
repo: rohitg00/agentmemory
लोकप्रियता
- GitHub स्टार
- 30k
- रैंकिंग में स्थान
- #9347
- लाइसेंस
- 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यह आपके एजेंट को लॉगिन, टैब और अटकी वेब पेज से उबरने समेत, वेबसाइट पर चरण-दर-चरण काम करना सिखाती है।