forget

forget is a skill for Claude Code, Codex from 7xuanlu/wenlan. It costs 29 tokens per session (485 once invoked), scanned A, a copy of forget, Apache-2.0.

A confirmation-gated workflow for deleting one Wenlan memory by its exact identifier.

In plain words
What is it for?
Finding a memory when needed, confirming its exact deletion, deleting only that item, and recording the resulting change.
Why use it?
It reduces accidental permanent deletion and preserves history when correcting information would be safer than removing it.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also agents/openai.yaml present. Also seen: mentions Codex.

Good fit Finding a memory when needed, confirming its exact deletion, deleting only that item, and recording the resulting change.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/7xuanlu/wenlan/forget
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add 7xuanlu/wenlan --skill forget
Clone the repo
git clone --depth 1 https://github.com/7xuanlu/wenlan

Made for: Claude Code, Codex.

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/skills/7xuanlu/wenlan/forget/github.svg)](https://agentmods.dev/skills/7xuanlu/wenlan/forget)
Your own site
<a href="https://agentmods.dev/skills/7xuanlu/wenlan/forget"><img src="https://agentmods.dev/badge/skills/7xuanlu/wenlan/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/skills/7xuanlu/wenlan/forget"><img src="https://agentmods.dev/badge/skills/7xuanlu/wenlan/forget.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 485 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin 89% copy Near-identical to another mod 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.00029 $0.00485
Opus 5.5 $0.00012 $0.00194
Sonnet 5.5 $0.00006 $0.00097
Haiku 4.5 $0.00003 $0.00049

Measured 1mo ago against content hash ed22e7c63a6a, 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 1mo 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.

Origin

This is a copy

89% identical to forget — 59 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugin-codex/skills/forget/SKILL.md · 68 lines

What it actually says

/forget

Delete one memory by exact source_id.

Safety

This cannot be undone by Wenlan. Prefer /capture with a corrected memory when history should be preserved.

Always confirm with the user before calling forget, unless the same user message already includes an exact id and an unambiguous delete instruction.

If the id is missing, use mcp__wenlan__recall to find candidates or ask the user for the exact id. The confirmation reply must include the action and id:

delete <id>

A bare id is not confirmation.

Call

After confirmation, call:

mcp__wenlan__forget(memory_id="<source_id>")

Delete only one memory per tool call. For bulk cleanup, use /curate captures so each item has its own decision.

Auto-commit ~/.wenlan

After a successful delete, snapshot any Markdown projection changes. Best effort only:

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

Do not fail the delete if this commit fails.

When to use

  • User says to forget or delete a specific memory and gives the id.
  • User confirms delete <id> after recall found the matching memory.

When not to use

  • Corrections where history matters: capture a superseding memory.
  • Page rebuilds: use /distill rebuild <page-id>.
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 68 lines · 29 tokens per session scan A ed22e7c63a6a

Subscribe to this mod's changes

forget is a skill published in the GitHub repository 7xuanlu/wenlan (79 stars, last pushed 13d ago), licensed Apache-2.0. It adds 29 tokens to every session and 485 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 89% identical to forget, differing in 59 lines, and is treated as a copy.

Related

Other skills, from other repositories

wenlan-handoff

End a work session. Stores durable captures, writes a narrative session log, and automatically applies typed item-level deltas to the current Space Brief. Invoked as /wenlan-handoff.

wenlan-app/wenlan · 43 tokens

curate

Power-user audit of Wenlan's pending surfaces: accept or dismiss pending revisions (conflicts/merges), or audit pending captures (not yet confirmed). Most users want /brief for revisions; that handles the daily flow. Use /wenlan curate only for explicit deep-walk audits after bulk imports, or to walk the full queue…

wenlan-app/wenlan · 106 tokens

wenlan-capture

Save a memory to Wenlan in flow, or save something from this conversation as one note when the user asks for a note. Use proactively when the user states a preference, makes a decision, corrects you, or shares a durable fact. Invoked as /wenlan-capture .

wenlan-app/wenlan · 66 tokens

wenlan

A single command entry point for Wenlan, a tool that checks its setup and connection and turns stored memories into notes. It can also open or list notes and report its current status.

wenlan-app/wenlan · 228 tokens

wenlan-recall

Search Wenlan's local memory by query. Targeted lookup, not orientation. Invoked as /wenlan-recall . Use when the user asks "do you remember", "what do you know about", "look up".

wenlan-app/wenlan · 54 tokens

pages

Browse, open, or print distilled pages, reusing the wenlan pages CLI for the actual open (one implementation on your PATH, no setup). /wenlan pages opens the page when one matches, or shows a small native picker when 2-4 match. /wenlan pages --print reads the page here instead of opening an editor. /wenlan pages lists…

wenlan-app/wenlan · 105 tokens