ck-forget

ck-forget is a skill for Claude Code, Codex from Fredrik-C/ContextKing. It costs 20 tokens per session (210 once invoked), scanned A, original, no licence file.

A context-management tool that removes an outdated stored knowledge snippet by its ID.

In plain words
What is it for?
Use it to delete stale project context.
Why use it?
It prevents previously saved information from being treated as valid after the codebase or situation changes.

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/fredrik-c/contextking/ck-forget
Any agent
npx skills add Fredrik-C/ContextKing --skill ck-forget
Clone the repo
git clone --depth 1 https://github.com/Fredrik-C/ContextKing

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ck-forget

README.md
[![agentmods](https://agentmods.dev/badge/skills/fredrik-c/contextking/ck-forget.svg)](https://agentmods.dev/skills/fredrik-c/contextking/ck-forget)
Your own site
<a href="https://agentmods.dev/skills/fredrik-c/contextking/ck-forget"><img src="https://agentmods.dev/badge/skills/fredrik-c/contextking/ck-forget.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 210 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00020 $0.00210
Opus 5 $0.00010 $0.00105
Sonnet 5 $0.00004 $0.00042
Haiku 4.5 $0.00002 $0.00021

Measured 5d ago against content hash 9b1d02d59e1f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ck-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 5d 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/ck-forget/SKILL.md · 33 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 5d ago First seen · 33 lines · 20 tokens per session scan A 9b1d02d59e1f

Subscribe to this mod's changes

ck-forget is a skill published in the GitHub repository Fredrik-C/ContextKing (22 stars, last pushed 4d ago), with no licence file. It adds 20 tokens to every session and 210 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

codex-memory-trim

Manage Codex's native global memory (/.codex/memories) with three sub-procedures - trim (audit + dedupe + three-layer cleanup), compress (rewrite verbose memories into concise form), and add-global (add a custom global rule/preference). Use when the user asks to 精简/清理/整理/压缩 Codex 记忆, 去重, 简化冗长记忆, 添加/写入/修改全局记忆 or a…

Yu-Xiao-Sheng/codex-memory-trim · 108 tokens

ai-history

Search and browse AI coding assistant chat history across providers (Claude Code, Codex CLI, Cursor). Find past conversations, inject historical context into the current session, and search across all chat records. Powered by the ai-history CLI tool.

jiantao88/ai-history · 52 tokens

ai-history

Search and browse AI coding assistant chat history across providers (Claude Code, Codex CLI, Cursor). Find past conversations, inject historical context into the current session, and search across all chat records. Use when asked to find past conversations, load context from previous sessions, or search chat history.

jiantao88/ai-history · 64 tokens

mnemon

Persistent memory CLI for LLM agents. Store facts, recall past knowledge, link related memories, manage lifecycle.

mnemon-dev/mnemon · 25 tokens

memory

Persistent, token-efficient project memory. When ON, maintains a .shob/memory/ folder of structured .md files so the full context of the project is NEVER lost across responses, sessions, or context compaction. Uses progressive disclosure — routes through a lightweight INDEX and loads only the files a task needs…

shobcoder/shob · 146 tokens

alive:session-history

Revive sessions (quick or heavy), browse, and search — 'what happened recently?', 'find the session where we discussed X', 'revive yesterday's session'. For single-session recall and multi-session browsing. If the human needs to merge multiple sessions into one working context or detect conflicts between parallel…

alivecontext/alive · 76 tokens