Skip to content
Development
Skill

/brain-forget

Remove a manually stored memory from the brain by partial text match. Use: /brain-forget <text>

From plugin
claude-teams-brain
2618 skills16 commands
Install
$ npx -y skills add Gr122lyBr/claude-teams-brain --skill brain-forget --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/brain-forget

Context preview

The summary Claude sees to decide when to auto-load this skill.

Remove a manually stored memory from the brain by partial text match. Use: /brain-forget <text>

SKILL.md

brain-forget.SKILL.md
name: brain-forget
description: |
  Remove a manually stored memory from the brain by partial text match.
  Use: /brain-forget <text>
user_invocable: true

brain-forget

Remove a manual memory previously stored with `/brain-remember`. Partial text matches are supported — you don't need the exact phrase.

Instructions

The user provides the text to match as an argument.

Run:

python3 ${CLAUDE_PLUGIN_ROOT}/scripts/brain_engine.py forget "$ARGS" "$CLAUDE_PROJECT_DIR"

Show which memories were removed and confirm success.

If no match is found, say so clearly and suggest: 1. Running `/brain-status` to see what's currently stored 2. Trying a shorter or different keyword from the memory text

Examples

| Command | What it removes | |---------|----------------| | `/brain-forget RS256` | Any memory containing "RS256" | | `/brain-forget always use` | Conventions starting with "always use" | | `/brain-forget postgres` | Any memory mentioning postgres |

Note: Only removes **manual memories** added via `/brain-remember`. Memories captured automatically from agent sessions (tasks, decisions) cannot be removed with this command — use `/brain-clear` to wipe all memory.

Ships withclaude-teams-brain

Give your Claude Code Agent Teams a memory. Auto-injects role-specific context into every new teammate — your team never starts blind again.

Get the whole plugin

Other skills on claude-teams-brain.