Obey forget

Remove a rule. Use when the user says "/forget", "forget rule", "remove rule", "delete rule", or wants to stop a rule from being enforced.

install
source · Clone the upstream repo
git clone https://github.com/Lexxes-Projects/obey
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/Lexxes-Projects/obey "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/forget" ~/.claude/skills/lexxes-projects-obey-forget && rm -rf "$T"
manifest: skills/forget/SKILL.md
source content

/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.