Agent skill

Forget

by davepoon in davepoon/buildwithclaude

Delete a memory from Origin by ID. An agent skill from davepoon/buildwithclaude.

MITAuto-check: notes

Install Forget

skills CLI
$ npx skills add davepoon/buildwithclaude --skill forget -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install davepoon/buildwithclaude forget --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/davepoon/buildwithclaude.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/origin/skills/forget .claude/skills/forget && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
forget
GitHub stars
3.6k
Token cost
~511 tokens
SKILL.md length
199 words
Files
1
Skills in repo
245
Repo updated
First seen
Licence
MIT

At a glance

Delete a memory from Origin by ID. An agent skill from davepoon/buildwithclaude.

  • SKILL.md covers How to invoke, When to use, When NOT to use and Safety, plus 1 more section
  • Calls git

What it does

Forget is an agent skill from davepoon/buildwithclaude. Delete a memory from Origin by ID. Destructive and cannot be undone — prefer /capture with supersedes for corrections. Invoked as /forget <sourceid.

Its SKILL.md is about 510 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: A single hub to find Claude Skills, Agents, Commands, Hooks, Plugins, and Marketplace collections to extend Claude Code, Claude Desktop, Agent SDK and OpenClaw. The licence is MIT.

Example prompts

  • “/forget”

Requirements

  • Pre-approved tools (allowed-tools): Bash, mcp__plugin_origin_origin__forget, mcp__plugin_origin_origin__recall

What it can do on your machine

Read from SKILL.md and the folder at commit 10bfc43. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • mcp__plugin_origin_origin__forget
    • mcp__plugin_origin_origin__recall

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Forget loads about 511 tokens when it runs. Until then it costs about 41 tokens; SKILL.md has 199 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~41
When it runs · the whole SKILL.md, loaded when a task matches
~511

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, mcp__plugin_origin_origin__forget, mcp__plugin_origin_origin__recall

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from davepoon/buildwithclaude at commit 10bfc43, republished under its MIT licence (© davepoon). 199 words, ~511 tokens.

Download SKILL.mdSave it as .claude/skills/forget/SKILL.md (or your agent's skills folder).
name
forget
description
Delete a memory from Origin by ID. Destructive and cannot be undone — prefer `/capture` with `supersedes` for corrections. Invoked as `/forget <source_id>`.
allowed-tools
Bash, mcp__plugin_origin_origin__forget, mcp__plugin_origin_origin__recall
argument-hint
<source_id>

/forget

Permanently delete a memory by its source_id.

How to invoke

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>")

When to use

  • User says "forget this", "delete that", "that's wrong, remove it".
  • User explicitly identifies a memory by ID.

When NOT to use

  • For corrections, prefer storing a new memory with supersedes pointing at the old one. That preserves history. Use /capture with the supersedes arg instead.
  • Bulk deletions — call /review first, confirm with the user, then delete one at a time.

Safety

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").

Auto-commit ~/.origin/

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, ~/.origin/ not a repo, or no diff.

Bash: git -C ~/.origin add -A && \
      git -C ~/.origin -c user.name=Origin -c user.email=daemon@origin.local \
          commit --quiet -m "forget: <source_id>" 2>/dev/null || \
      (sleep 1 && git -C ~/.origin add -A && \
       git -C ~/.origin -c user.name=Origin -c user.email=daemon@origin.local \
           commit --quiet -m "forget: <source_id>" 2>/dev/null) || true

The retry handles index.lock races — the daemon may be writing to ~/.origin/ at the same moment (auto-commit from captures). One-second wait is enough for the daemon to release the lock.

© davepoon, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/origin/skills/forget of davepoon/buildwithclaude.

Open the folder on GitHubat commit 10bfc43

Compare with similar skills

Forget next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Forget compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Forget this skilldavepoon/buildwithclaude3.6k—~511Automated safety check: NotesMIT
Forgetcodewhale-hq/Codewhale41k—~289Automated safety check: PassMIT
Mem0 Forgetmem0ai/mem067k—~263Automated safety check: PassApache-2.0
Mem0 Forgetmem0ai/mem067k—~360Automated safety check: PassApache-2.0
Agentmemory Forgetrohitg00/agentmemory29k—~612Automated safety check: PassApache-2.0
Mem0 Memory Deletionmem0ai/mem067k—~664Automated safety check: PassApache-2.0

Similar skills

  • Forget

    codewhale-hq/Codewhale

    Help the user remove a stored fact using Codewhale's Context Lens when they ask to forget or delete a memory.

    41k GitHub stars~289 tokensUpdated today
    Auto-check passed
  • Mem0 Forget

    mem0ai/mem0

    Deletes the Mem0 memories stored for this repository and user, after telling the user exactly what will be removed and getting their confirmation.

    67k GitHub stars~263 tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Mem0 Forget

    mem0ai/mem0

    Deletes Mem0 memories found by search query or memory ID, listing the matches and requiring explicit confirmation before anything is removed.

    67k GitHub stars~360 tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Agentmemory Forget

    rohitg00/agentmemory

    Deletes chosen memories from agentmemory only after showing the matches and getting an explicit yes, for privacy requests and cleanup of outdated notes.

    29k GitHub stars~612 tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed
  • Finds and deletes specific mem0 memories by search query or ID, always asking for confirmation first, and can undo the most recent memories added this session.

    67k GitHub stars~664 tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Cognee Forget

    topoteretes/cognee

    Removes data from cognee memory with forget(), finding the right dataset and document first and choosing between one document, a dataset or only the graph and vector memory.

    32k GitHub stars~1.9k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed

More from davepoon/buildwithclaude

All 245 skills in this repo
  • Qwen Vision

    davepoon/buildwithclaude

    A skill your agent uses when the user asks to "analyze video", "watch this video", "what happens in this video", "describe this clip", "review this footage", "classify these videos", "compare…

    3.6k GitHub starsUsed in 1 repo~1.2k tokens
    Auto-check passed
  • Hard Predict Future

    davepoon/buildwithclaude

    Activate this agent for any future-oriented question that requires deep quantitative analysis, historical precedents, and structured scenario planning.

    3.6k GitHub starsUsed in 1 repo~4.2k tokens
    Auto-check passed
  • iOS Hig Design Guide

    davepoon/buildwithclaude

    Build, update, and apply iOS design specifications using Apple Human Interface Guidelines (HIG) source data.

    3.6k GitHub stars~735 tokensUpdated 2 days ago
    Auto-check passed
  • Video Downloader

    davepoon/buildwithclaude

    Download YouTube videos with customizable quality and format options.

    3.6k GitHub starsUsed in 1 repo~871 tokens
    Auto-check passed
  • Atlas Cloud Media

    davepoon/buildwithclaude

    Discover Atlas Cloud image and video models, inspect their live schemas, and submit one confirmed media generation request with bounded GET polling.

    3.6k GitHub stars~852 tokensUpdated 2 days ago
    Auto-check passed
  • Slack Gif Creator

    davepoon/buildwithclaude

    Toolkit for creating animated GIFs optimized for Slack, with validators for size constraints and composable animation primitives.

    3.6k GitHub starsUsed in 12 repos~4.3k tokens
    Auto-check passed

Questions about Forget

What does Forget do?

Delete a memory from Origin by ID. An agent skill from davepoon/buildwithclaude. Forget is an agent skill from davepoon/buildwithclaude. Delete a memory from Origin by ID.

How do I install Forget in Claude Code?

Run `npx skills add davepoon/buildwithclaude --skill forget -a claude-code`. Or copy the skill folder (plugins/origin/skills/forget in davepoon/buildwithclaude) into .claude/skills/forget in your project. Claude Code loads it when a task matches its description.

How do I install Forget in Codex?

Run `npx skills add davepoon/buildwithclaude --skill forget -a codex`. Or copy the skill folder (plugins/origin/skills/forget in davepoon/buildwithclaude) into .agents/skills/forget in your project. Codex loads it when a task matches its description.

Can I use Forget in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add davepoon/buildwithclaude --skill forget -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/forget, .gemini/skills/forget, .github/skills/forget and .opencode/skills/forget in your project.

What does Forget need to run?

Going by SKILL.md and its folder, Forget needs the command-line tools its instructions call (git). Its frontmatter pre-approves these tools: Bash, mcp__plugin_origin_origin__forget, mcp__plugin_origin_origin__recall.

Does Forget access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Forget safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Forget use?

Forget is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Forget use?

About 511 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Forget?

Skills that share tags, products or a category with Forget: Forget (codewhale-hq/Codewhale, 41k stars), Mem0 Forget (mem0ai/mem0, 67k stars), Mem0 Forget (mem0ai/mem0, 67k stars) and Agentmemory Forget (rohitg00/agentmemory, 29k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Forget?

davepoon (a GitHub user) maintains it in davepoon/buildwithclaude, which has 3,604 GitHub stars. The repository holds 245 skills in this directory. The repository was last updated on October 6, 2026.

Source: davepoon/buildwithclaude on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.