From kongcode
Selectively and reversibly forget stored memories/concepts by query or date, soft-deactivating them from retrieval without deletion. Useful for privacy or decluttering the kongcode graph.
How this skill is triggered — by the user, by Claude, or both
Slash command
/kongcode:kongcode-forgetThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Soft-forget content so it stops surfacing in retrieval. Honors the D4 founder
Soft-forget content so it stops surfacing in retrieval. Honors the D4 founder
rule — nothing is deleted; matching rows are soft-deactivated with an audit
annotation (archive_reason='forget:…') and can be fully reactivated.
node scripts/forget.mjs --query "api key" # preview (DRY RUN)
node scripts/forget.mjs --query "api key" --commit # apply
node scripts/forget.mjs --before 2026-01-01 --commit # forget content older than a date
node scripts/forget.mjs --undo --commit # reactivate everything forgotten by this tool
--commit to apply.status='archived'; concept → superseded_at set — both with
archive_reason='forget:…'. The retrieval pipeline already excludes these, so
they stop surfacing immediately, with no change to the hot retrieval path.--undo --commit reactivates everything this tool forgot.--query (case-insensitive substring) and --before (ISO date).memory + concept (the content tables whose retrieval candidate
query already filters the deactivation flag).--project / --session (edge-scoped) and never-remember
redaction at ingestion (privacy.json).SURREAL_URL/USER/PASS/NS/DB (same defaults as backup).npx claudepluginhub 42u/kongcode --plugin kongcodeSoft-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.
Audits and selectively forgets stored Claude Code memories. Use when memory is large/uncurated, project state has shifted, or retrieval quality degraded.