forget

A command for removing a saved rule. It can remove a rule by its ID or find matching rules from a text description.

In plain words
What is it for?
Use it after commands such as /forget to search for rules, remove one exact match, or choose between multiple matching rules.
Why use it?
It prevents you from deleting the wrong rule when several rules match and reports when no matching rule exists.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/lexxes-projects/obey/forget
Any agent
npx skills add Lexxes-Projects/obey --skill forget
Clone the repo
git clone --depth 1 https://github.com/Lexxes-Projects/obey

Made for: Claude Code, Codex.

Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 227 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00036 $0.00227
Opus 5 $0.00018 $0.00113
Sonnet 5 $0.00007 $0.00045
Haiku 4.5 $0.00004 $0.00023

Measured 2d ago against content hash 82ff57687305, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d 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 · 34 lines

What it actually says

/forget — Remove a Rule

The user wants to remove a rule. Input: $ARGUMENTS

Process

If the input looks like a rule ID (a long number):

bash ${CLAUDE_PLUGIN_ROOT}/scripts/rules-remove.sh --id "$ARGUMENTS"

If the input is text (keyword search):

First search for matching rules:

bash ${CLAUDE_PLUGIN_ROOT}/scripts/rules-list.sh --search "$ARGUMENTS"

If exactly one match across all scopes, remove it directly using its ID. If multiple matches, show them and ask the user which one to remove. If no matches, tell the user no rule was found with that keyword.

Confirm

Tell the user which rule was removed and from which scope.

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. 2d ago First seen · 34 lines · 36 tokens per session scan A 82ff57687305

Subscribe to this mod's changes

forget is a skill published in the GitHub repository Lexxes-Projects/obey (1 stars, last pushed 5mo ago), licensed MIT. It adds 36 tokens to every session and 227 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-31.

Related

Other skills, from other repositories

wordpress-plugin-fundamentals

Modern WordPress plugin development with PHP 8.3+, OOP architecture, hooks system, database interactions, and Settings API.

bobmatnyc/claude-mpm-skills · 32 tokens

dsh-hooks-authoring

编写或调试已安装的 dsh-hooks-plugin 的 hook 脚本。配置在 /.dsh/hooks.json,事件挂 PreToolUse/PostToolUse/UserPromptSubmit/SessionStart 等;命令从 toolinput.command 读,决策只能通过 stdout JSON 表达(permissionDecision deny/ask/allow),退出码不 gate,hookEventName 必须回填,Windows 上 command 由 PowerShell 解释且可能被沙箱拦外部 exe。.

KYinCode/dsh-hooks-plugin · 112 tokens

claude-automation-recommender

Analyze a codebase and recommend Claude Code automations (hooks, subagents, skills, plugins, MCP servers). Use when user asks for automation recommendations, wants to optimize their Claude Code setup, mentions improving Claude Code workflows, asks how to first set up Claude Code for a project, or wants to know what…

mahmoud20138/Tradecraft · 77 tokens

Guard Rules

This skill should be used when a command is blocked by claude-guard, when the response contains "BLOCKED by claude-guard", when the user asks "why was my command blocked", "what commands are blocked", "guard rules", "safety rules", or when Claude is about to execute a potentially dangerous command. Covers git force…

hex/claude-guard · 190 tokens

taiyi-ui-design

TaiyiForge 第 4 阶段 — UI/UX 契约,产出 UI-DESIGN.md。四端通用。.

Dong90/oh-my-taiyiforge · 35 tokens

taiyi-evolve

TaiyiForge 辅助 — 实现后架构与文档同步(architecture-sync)。OpenCode / Claude / Codex / Cursor 通用。.

Dong90/oh-my-taiyiforge · 37 tokens