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

forget

하는 일

이 스킬은 agentmemory에서 선택한 메모리를 제거합니다. 일치하는 항목을 먼저 보여 주고, 내가 확인한 것만 삭제합니다.

사용하는 경우

  • ✓agentmemory에 저장된 특정 메모리를 삭제하고 싶을 때.
  • ✓개인정보 보호를 위해 민감한 정보를 제거하고 싶을 때.
  • ✓더 이상 맞지 않는 오래된 메모를 지우고 싶을 때.

스킬 링크

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

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

사용 방법

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

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

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

AI에게 요청하는 예시

“예전에 내 옛 API 키를 저장한 메모를 잊게 해 주세요. 확인할 수 있도록 먼저 일치하는 항목을 보여 주세요.”

매주 새 스킬 5개. 읽는 데 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

  1. Search with memory_smart_search, the user's text as query, targetLayer: "memory", limit: 20, and the requested project/agent scope. These are selected relevance matches, not an exhaustive inventory.
  2. 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".
  3. On confirmation, call memory_governance_delete with memoryIds as a comma-separated string and optional reason (default plugin skill request).
  4. 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.
  5. Lessons are separate: delete one with memory_lesson_delete and its lessonId; memory_governance_delete does not touch lessons.
  6. Check deleted, notFound, and failed in 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.
  • memoryIds holds real ids from the search, never a bare sessionId.
  • 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
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬