用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/tomes --skill forget命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | forget |
| description | > Use when this capability is needed. |
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 user.email=daemon@wenlan.local \
commit --quiet -m "forget: <source_id>" 2>/dev/null || \
(sleep 1 && git -C ~/.wenlan add -A && \
git -C ~/.wenlan -c user.name=Wenlan -c user.email=daemon@wenlan.local \
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.
Source: 7xuanlu/origin — distributed by TomeVault.
基于 SOC 职业分类