name: ck-forget description: Remove a stale knowledge snippet by ID when previously learned context is no longer valid.
ck forget — Reference
Removes one snippet from CK knowledge JSONL files by UUID.
Syntax
.claude/skills/ck/ck forget --id <uuid> [--repo <path>]
When to Use
- A snippet became incorrect after refactor or behaviour change.
- A snippet duplicates newer, clearer knowledge.
- A snippet was recorded against the wrong folder context.
Typical Workflow
- Run
ck recall --folder <path>orck recall --query "<text>". - Copy the stale snippet ID from output.
- Run
ck forget --id <uuid>. - Optionally add replacement context with
ck learn.
Notes
- This is a targeted delete of one snippet, not a full reset.
- Silent no-op when CK Brain is disabled (
"brain": falsein.ck.json).