Ck forget

From Fredrik-C/ContextKing · View interactive version

Ck forget is an AI agent skill from the GitHub repository Fredrik-C/ContextKing. Remove a stale knowledge snippet by ID when previously learned context is no longer valid.

How to use this skill

Skill file

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

Typical Workflow

  1. Run ck recall --folder <path> or ck recall --query "<text>".
  2. Copy the stale snippet ID from output.
  3. Run ck forget --id <uuid>.
  4. Optionally add replacement context with ck learn.

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.