Skip to content
AI & Agents
Command

/cs-forgetting-audit

Run only the blocking forgetting gate on a memory design or store — what leaves, and on what rule.

From plugin
claude-skills
30k169 skills127 agents169 commands2 MCP
$ npx -y skills add alirezarezvani/claude-skills --agent claude-code

Command definition

cs-forgetting-audit.md
disable-model-invocation: true
description: Run only the blocking forgetting gate on a memory design or store — what leaves, and on what rule.
argument-hint: "[policy JSON, or a memory directory to audit]"

/cs-forgetting-audit

The short pass. Skip the cost and architecture work; answer one question about `$ARGUMENTS`:

> **What leaves this store, and on what rule?**

Run

If given a policy JSON:

python ${CLAUDE_PLUGIN_ROOT}/skills/memory-engineering/scripts/forgetting_policy_linter.py --policy <policy.json>

If given a directory, first show what is actually accumulating, then gate:

python ${CLAUDE_PLUGIN_ROOT}/skills/memory-engineering/scripts/memory_density_auditor.py --dir <path>
python ${CLAUDE_PLUGIN_ROOT}/skills/memory-engineering/scripts/forgetting_policy_linter.py --policy <policy.json>

If no policy file exists, that is the answer — nothing leaves the store. Show what `--sample-failing` blocks, then help write one from `skills/memory-engineering/assets/forgetting_policy_template.md`.

The two blocking checks

  • **F1 — an explicit forgetting rule** (TTL, capacity bound with a stated

eviction order, or relevance decay). None of the memory systems in the Stanford evaluation prunes or forgets by default: if it was not built, it does not exist.

  • **F4 — contradictions surfaced, never auto-merged.** `newest_wins`,

`auto_merge`, `overwrite` and `last_write_wins` all fail. Two memories that disagree may both have been true in different contexts, and silently resolving them destroys the only evidence the conflict existed.

The other six checks (dedup, consolidation, scope, audit trail, rollback, growth-slope monitoring) degrade the verdict to CONDITIONAL rather than failing it.

Report

1. **Verdict** — PASS (0) / CONDITIONAL (2) / **FAIL (4)** 2. **Every failing check** with its ID, why it matters, and its fix 3. **The one thing to fix first** — F1 or F4 if either failed; otherwise the highest-leverage warning

Do not

  • Do not soften a FAIL into a suggestion. Retrofitting forgetting onto a full

store is a data migration with a judgment call attached to every record — which is exactly why it never happens.

  • Do not accept "we will add pruning later." Later is the failure mode.
  • Do not propose auto-resolution for contradictions, in any form.
Read more
@alirezarezvani
Ships withclaude-skills

411 production-ready skills for Claude Code and 12 other coding agents, covering engineering, product, marketing, compliance, finance and the C-suite. We test whether each skill loads when you ask in plain words, and publish the results.

30k200 skills127 agents2 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
29.6k
Star history of alirezarezvani/claude-skills on GitHub, a chart by star-history.com

Other commands on claude-skills.

focused-fix

focused-fix

Command

Deep-dive feature repair — systematically fix an entire feature/module across all its files and dependencies. Usage: /focused-fix…

plugin-audit

plugin-audit

Command

Comprehensive audit pipeline for skills, plugins, agents, and commands. Validates structure, quality, security, marketplace…

More commands from other plugins.

devbox-entrypoint

devbox-entrypoint

Command

Context: runloop resumes a devbox by re-running the same entrypoint script, which invokes `cn serve --id <agentId> ...`. Because…

@continuedev@continuedevInstall Command
c

c

Command

Shortcut for "continue working" — pick the work in flight back up exactly where it stopped and keep going until it is done or…

lifeos2w20k
@danielmiessler@danielmiesslerInstall Command
sidecar

sidecar

Command

Spawn a read-only sidecar subagent to investigate something in this checkout without editing files, moving branches, or touching…

@builderio@builderioInstall Command