From wenlan
Deletes a memory from Wenlan by source ID. Destructive and cannot be undone. Use /recall to find the ID first.
How this skill is triggered — by the user, by Claude, or both
Slash command
/wenlan:forget <source_id><source_id>This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Permanently delete a memory by its `source_id`.
Permanently delete a memory by its source_id.
You need the source_id. If the user did not provide it, call
/recall first to find the matching memory and confirm with the
user before deleting.
forget(memory_id="<source_id>")
supersedes pointing
at the old one. That preserves history. Use /capture with the
supersedes arg instead./curate first, confirm with the user,
then delete one at a time.Deletion is destructive. Always confirm with the user before calling forget, unless the user has already given an explicit, unambiguous instruction in the same turn (e.g. they pasted the ID and said "delete this").
If the deletion removed a page md (daemon archives the page and
KnowledgeWriter unlinks the file), snapshot the change. Defensive —
silent skip if git missing, ~/.wenlan/ not a repo, or no diff.
Bash: git -C ~/.wenlan add -A && \
git -C ~/.wenlan -c user.name=Wenlan -c [email protected] \
commit --quiet -m "forget: <source_id>" 2>/dev/null || \
(sleep 1 && git -C ~/.wenlan add -A && \
git -C ~/.wenlan -c user.name=Wenlan -c [email protected] \
commit --quiet -m "forget: <source_id>" 2>/dev/null) || true
The retry handles index.lock races — the daemon may be writing to
~/.wenlan/ at the same moment (auto-commit from captures). One-second
wait is enough for the daemon to release the lock.
npx claudepluginhub p/7xuanlu-wenlan-pluginSoft-deletes memories by adding/removing 'forget' tag or hard-deletes outdated/incorrect ones using Aide memory bash tools. Includes workflows for search, confirm, tag, and delete.
Supersedes memory entries matching a query in CLAUDE.local.md, registers/*.md, and daily/*.md. Preserves history without deletion, annotates as outdated, updates metadata.json.
Deletes specific observations or sessions from agentmemory via API after user confirmation. Use for privacy requests like 'forget this', 'delete memory', or targeted data removal.