AgentSkillsCN

Recall Forget

将内存条目标记为“已过期”。保留历史记录,但不删除。

SKILL.md
--- frontmatter
description: Mark memory entries as superseded. Preserves history, does not delete.
argument-hint: <query>
disable-model-invocation: true

Mark memory entries matching a query as superseded. Does not delete — preserves history.

Query to forget: $ARGUMENTS

What To Do

1. Search for Matching Entries

Search across all memory tiers for content matching the query:

  • memory/CLAUDE.local.md
  • memory/registers/*.md
  • memory/daily/*.md

2. Show Matches

code
Found [N] entries matching "[query]":

1. [CLAUDE.local.md] "Prefers dark mode for all mockups"
2. [registers/preferences.md] "Dark mode preference (confidence: high, 2026-01-10)"
3. [daily/2026-01-10.md] "[14:00] User said they prefer dark mode"

3. Confirm with User

code
Mark these as superseded? This won't delete them — they'll be annotated as no longer current.

[a]ll / select by number / [c]ancel

4. Execute

For each confirmed entry:

In registers: Mark as superseded with date

markdown
## [superseded: 2026-02-05]
- **claim**: Prefers dark mode for all mockups
- **superseded_by**: User requested removal via /recall-forget
- **original_date**: 2026-01-10

In CLAUDE.local.md: Remove the entry entirely (working memory should only contain current facts)

In daily logs: Add a note but don't modify the original entry (daily logs are historical record)

code
[HH:MM] [superseded] "Prefers dark mode" — marked as no longer current via /recall-forget

5. Confirm

code
Superseded [N] entries for "[query]".
Memory updated across [N] files.