forget

forget is a command for Claude Code from fatihguner/foreman. It costs 5 tokens per session (151 once invoked), scanned A, a copy of abort, MIT.

A command that reads the project's local instructions and runs the registered `/forget` command with the supplied arguments. The available behaviour depends on those project files.

In plain words
What is it for?
It is for carrying out the project's defined memory-forgetting operation after loading its runtime, policy, and command guidance.
Why use it?
It gives the project a controlled way to remove or forget stored information instead of relying on an unregistered command or alias.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the foreman plugin — 142 skills, 60 commands, 7 agents shipped together

Good fit It is for carrying out the project's defined memory-forgetting operation after loading its runtime, policy, and command guidance.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/fatihguner/foreman/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.

Clone the repo
git clone --depth 1 https://github.com/fatihguner/foreman

Made for: Claude Code.

Or install foreman, the plugin that ships this one along with the rest of its 142 skills, 60 commands, 7 agents.

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/commands/fatihguner/foreman/forget/github.svg)](https://agentmods.dev/commands/fatihguner/foreman/forget)
Your own site
<a href="https://agentmods.dev/commands/fatihguner/foreman/forget"><img src="https://agentmods.dev/badge/commands/fatihguner/foreman/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/commands/fatihguner/foreman/forget"><img src="https://agentmods.dev/badge/commands/fatihguner/foreman/forget.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 151 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 84% 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.00005 $0.00151
Opus 5.5 $0.00002 $0.00060
Sonnet 5.5 $0.00001 $0.00030
Haiku 4.5 $0.00001 $0.00015

Measured 2mo ago against content hash f2e99d97a318, 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 2mo 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

84% identical to abort — 6 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.

.claude/commands/forget.md · 14 lines

What it actually says

Foreman /forget

Read .claude/RUNTIME.md and .claude/policies/advisory.md first. Then read .claude/command-guides/memory-commands.md and execute only /forget with the user's arguments: $ARGUMENTS.

Use .claude/catalog.json to resolve exact content names before aliases or unique matches. Load all required supporting files from .claude. All paths in the source instructions are relative to this content directory. Persist confirmed changes through the runtime described in RUNTIME.md; never claim a write succeeded without reading its result.

Use the command map in catalog.json to recommend only registered commands.

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. 2mo ago First seen · 14 lines · 5 tokens per session scan A f2e99d97a318

Subscribe to this mod's changes

forget is a command published in the GitHub repository fatihguner/foreman (65 stars, last pushed 2mo ago), licensed MIT. It adds 5 tokens to every session and 151 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 84% identical to abort, differing in 6 lines, and is treated as a copy.

Related

forget compared with commands from other repositories

forget next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
forgetfatihguner/foremanCommand652mo agoMITA5Claude Code
ctx-checkknitli/toolshedCommand12d agoMITA21Claude Code
ctx-driftknitli/toolshedCommand12d agoMITA16Claude Code
ctx-fixknitli/toolshedCommand12d agoMITA23Claude Code
vaultnicoladevera/thinking-stackCommand27mo agoMITA12Claude Code
learnReflexioAI/claude-smartCommand797todayApache-2.0A14Claude Code
memory-storeverygoodplugins/mcp-automemCommand675d agoMITA10Claude Code