agentleFS
ourinesourines/claude-code-learn/skills/forget/SKILL.md

forget

Skill1 starsChanged 9 months agoMITView on GitHub

Delete saved knowledge from ~/.claude/learnings/ and optionally clean up knowledge graph.

9 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use generate_podcast, muse_db and 6 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • jacobwellSkill

    generate_podcast

    Compose and deliver audio content: a podcast episode, briefing, or narrated summary, with one or more voices, as an MP3. For reading supplied text aloud verbatim, use tts.

    Also in 3 projects that use this

  • jacobwellSkill

    muse_db

    Inspect database-backed Muse records for diagnosis and cross-table tracing when purpose-built product tools do not expose the needed state.

    Also in 3 projects that use this

  • ansvisorSkill

    shopping

    Checks product pages and feed for ChatGPT Shopping (US) and Google Shopping (EU).

    Also in 4 projects that use this

  • SentrySkill

    tts

    Generates spoken narration with Gemini TTS through Vercel AI Gateway. Use for text-to-speech, audio samples, voiceovers, or speaking as Junior with the reusable Junior voice. Do not use for transcription, voice cloning, music generation, or rendering a video without a narration request.

    Also in 4 projects that use this

  • QuixiAISkill

    spotify

    Search Spotify, inspect current playback and devices, and control playback with explicit approval

    Also in 3 projects that use this

  • refly-aiSkill

    gmail

    Integrate with Gmail for email management and automation. Use when you need to: (1) send and compose emails with attachments, (2) read and search emails by criteria, (3) manage drafts and email labels, or (4) reply to email threads and conversations.

    Also in 3 projects that use this

  • +1 more from jacobwell

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 9 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Delete saved knowledge from ~/.claude/learnings/.

    line 15
  2. Distinctive:

    If empty, list all knowledge files and ask which to delete.

    line 23
  3. Distinctive:

    If multiple matches, list them and ask the user to pick.

    line 32
  4. Distinctive:

    Ask: "Delete this knowledge?

    line 41
  5. Very specific:

    If mcp__memory__search_nodes and mcp__memory__delete_entities are available: search for a "learning" entity matching the topic and delete …

    line 53
  6. Distinctive:

    If MCP memory tools are NOT available: skip this step silently.

    line 54

“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

forget

Delete saved knowledge from ~/.claude/learnings/.

Instructions

1. Parse Query

Argument: $ARGUMENTS

If empty, list all knowledge files and ask which to delete.

2. Find the File

Search ~/.claude/learnings/:

  1. Exact slug: ~/.claude/learnings/<slug>.md
  2. Partial match: ~/.claude/learnings/*<query>*.md

If multiple matches, list them and ask the user to pick.

3. Confirm Deletion

Show the user:

  • File path
  • Topic name (from frontmatter)
  • Created date

Ask: "Delete this knowledge? (yes/no)"

4. Delete

If confirmed:

Delete the file:

rm ~/.claude/learnings/<slug>.md

Clean up knowledge graph (graceful fallback):

  • If mcp__memory__search_nodes and mcp__memory__delete_entities are available: search for a "learning" entity matching the topic and delete it.
  • If MCP memory tools are NOT available: skip this step silently. The file deletion is sufficient.

Confirm:

Deleted knowledge on "<topic>".

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.