forget

forget is a command for Claude Code from shimeeuisuk/claude-memory-plugin. It costs 27 tokens per session (595 once invoked), scanned A, original, MIT.

A command for deleting saved memories from both local storage and GitHub.

In plain words
What is it for?
It lists memories, filters them by keyword or age, asks which ones to delete, and removes the selected files from local storage and GitHub.
Why use it?
It prevents deleted memories from returning during the next sync and requires confirmation before removal.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the claude-memory plugin — 2 skills, 4 commands, 2 hooks shipped together

Good fit It lists memories, filters them by keyword or age, asks which ones to delete, and removes the selected files from local storage and GitHub.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add shimeeuisuk/claude-memory-plugin
Claude Code
/plugin install claude-memory

Made for: Claude Code.

Or install claude-memory, the plugin that ships this one along with the rest of its 2 skills, 4 commands, 2 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for forget

README.md
[![agentmods](https://agentmods.dev/badge/commands/shimeeuisuk/claude-memory-plugin/forget/github.svg)](https://agentmods.dev/commands/shimeeuisuk/claude-memory-plugin/forget)
Your own site
<a href="https://agentmods.dev/commands/shimeeuisuk/claude-memory-plugin/forget"><img src="https://agentmods.dev/badge/commands/shimeeuisuk/claude-memory-plugin/forget/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for forget

Your own site · 80×15
<a href="https://agentmods.dev/commands/shimeeuisuk/claude-memory-plugin/forget"><img src="https://agentmods.dev/badge/commands/shimeeuisuk/claude-memory-plugin/forget.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 595 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.00595
Opus 5.5 $0.00011 $0.00238
Sonnet 5.5 $0.00005 $0.00119
Haiku 4.5 $0.00003 $0.00060

Measured 2mo ago against content hash 1b3be9757f71, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

forget scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/forget.md · 44 lines

What it actually says

너는 지금 claude-memory 플러그인의 삭제(forget) 동작을 수행한다. 기억 삭제는 로컬과 GitHub 양쪽에서 이뤄져야 한다 (로컬만 지우면 다음 pull 에서 되살아남). 실제 삭제·동기화는 scripts/forget-store.sh 가 담당한다.

할 일

  1. 목록 조회:

    bash "${CLAUDE_PLUGIN_ROOT}/scripts/forget-store.sh" list
    
    • STATUS=empty 면 "삭제할 기억이 없습니다" 안내 후 종료.
    • 결과(상대경로 목록)를 사용자에게 보기 좋게 정리해 보여준다 (날짜·제목 위주).
  2. 무엇을 지울지 결정:

    • 사용자가 인자($ARGUMENTS)로 조건을 줬으면 반영:
      • 키워드 → 파일명/내용이 매칭되는 것 추림
      • "N일 이전" → 파일명 앞 YYYYMMDD 로 날짜 비교해 오래된 것 추림
    • 인자가 없으면 → 목록을 보여주고 어떤 걸 지울지 사용자에게 물어본다.
  3. ⚠️ 삭제 전 반드시 확인:

    • 지울 파일들을 나열하고 "이 N개를 삭제할까요? (GitHub에서도 사라집니다)" 라고 묻는다.
    • 사용자가 명확히 동의할 때만 다음으로 진행. 애매하면 멈춘다.
  4. 삭제 실행:

    bash "${CLAUDE_PLUGIN_ROOT}/scripts/forget-store.sh" remove <상대경로1> <상대경로2> ...
    
    • 경로는 1단계 list 가 준 상대경로 그대로 사용한다 (store 기준).
  5. 결과 보고:

    • STATUS=done → 몇 개 삭제됐는지 + "GitHub에도 반영됨" 알린다.
    • push 실패 경고가 있으면 그대로 전달한다.
    • "git 히스토리에 남아 실수 시 복구 가능" 한 줄 덧붙인다.

주의

  • 삭제는 되돌리기 번거로우니 확인 없이 절대 실행하지 말 것.
  • store(~/.claude-memory/) 밖의 파일은 건드리지 않는다 (스크립트가 차단).
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 44 lines · 27 tokens per session scan A 1b3be9757f71

Subscribe to this mod's changes

forget is a command published in the GitHub repository shimeeuisuk/claude-memory-plugin (2 stars, last pushed 3mo ago), licensed MIT. It adds 27 tokens to every session and 595 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

forget compared with commands from other repositories

forget next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
forgetshimeeuisuk/claude-memory-pluginCommand23mo agoMITA27Claude Code
minutes-ideassilverstein/minutesCommand1.6kyesterdayMITA48Claude Code, OpenCode
learnReflexioAI/claude-smartCommand792todayApache-2.0A14Claude Code
memory-storeverygoodplugins/mcp-automemCommand66yesterdayMITA10Claude Code
cc-memoryTheLobbi/claudeCommand218d agoMITA0Claude Code
analyze-contextRohiRIK/OpenLtmCommand299d agoMITA39Claude Code
lians-recallLians-ai/LiansCommand175d agoApache-2.0A19Claude Code