forget

forget is a skill for Claude Code from Magnifico4625/locus. It costs 32 tokens per session (156 once invoked), scanned A, original, MIT.

A command that deletes selected Locus memory entries matching a search phrase.

In plain words
What is it for?
Use it when you want Locus to forget a decision, topic, or other remembered detail.
Why use it?
It removes outdated or unwanted project context without clearing all stored memory.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the locus plugin — 9 skills, 3 hooks shipped together

Good fit Use it when you want Locus to forget a decision, topic, or other remembered detail.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/magnifico4625/locus/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 Magnifico4625/locus --skill forget
Clone the repo
git clone --depth 1 https://github.com/Magnifico4625/locus

Made for: Claude Code.

Or install locus, the plugin that ships this one along with the rest of its 9 skills, 3 hooks.

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/magnifico4625/locus/forget.svg)](https://agentmods.dev/skills/magnifico4625/locus/forget)
Your own site
<a href="https://agentmods.dev/skills/magnifico4625/locus/forget"><img src="https://agentmods.dev/badge/skills/magnifico4625/locus/forget.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 156 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.
Origin original No closer match found 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.00032 $0.00156
Opus 5 $0.00016 $0.00078
Sonnet 5 $0.00006 $0.00031
Haiku 4.5 $0.00003 $0.00016

Measured 8d ago against content hash b38f70b6e15d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 8d 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.

skills/forget/SKILL.md · 17 lines

What it actually says

Delete Locus memory entries matching the query using the memory_forget MCP tool.

Usage

  • /locus:forget JWT decision — delete entries matching "JWT decision"

What to do

  1. Call memory_forget with query from $ARGUMENTS
  2. If >5 matches found, the tool returns a confirmToken — ask the user to confirm
  3. If confirmed, call memory_forget again with the confirmToken
  4. Report how many entries were deleted
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. 8d ago First seen · 17 lines · 32 tokens per session scan A b38f70b6e15d

Subscribe to this mod's changes

forget is a skill published in the GitHub repository Magnifico4625/locus (14 stars, last pushed 2mo ago), licensed MIT. It adds 32 tokens to every session and 156 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

memory-audit

An entry point for reviewing and maintaining an AI agent's stored memories. It describes how to remove repetition, preserve useful reasoning, and update memories when old conclusions no longer fit.

Dataojitori/nocturne_memory · 31 tokens

memory-audit-belief-duel

A guided review process for conflicting beliefs or memories. It examines cases where two conclusions cannot both be true, including conflicts between a general rule and a more specific memory.

Dataojitori/nocturne_memory · 38 tokens

memory-audit-discoverability

A review guide for checking whether stored memories can be found at the right time. It focuses on where memories are attached, when they are triggered, whether aliases are missing, and whether a parent has too many children.

Dataojitori/nocturne_memory · 35 tokens

memory-audit-pattern-extraction

A method for investigating repeated mistakes by comparing related memories and checking whether an earlier reminder failed. It looks at where the reminder was stored, when it was created, and whether it was strong enough to prevent the mistake.

Dataojitori/nocturne_memory · 48 tokens

init-workspace-documentation

Skill "init-workspace-documentation" from griddynamics/rosetta, covering agent memory.md, agent memory, preventive rules, what worked and what failed.

griddynamics/rosetta · 10 tokens

handover

Use when wrapping up or capturing the current state of a coding session — writes a short, dated entry to the repo's RepoHandover.md so a future agent or you can resume without grepping archived sessions. Triggers on "handover", "hand off", "write handover", "capture state", "checkpoint this session".

jazzyalex/agent-sessions · 71 tokens