ck
Persistent per-project memory for Claude Code (Context Keeper) driven by deterministic Node.js /ck commands: init, save, resume, info, list, forget, and v1-to-v2 migrate, plus a SessionStart hook that injects a compact project brief.
- Kind
- Skill
- Works with
- Claude Code, Codex
- Languages
- TypeScript / JavaScript
- Source
- affaan-m/ECC @ d3b8a3e90890
- Path
- skills/ck/SKILL.md
- Jobs
- Context management, Guardrails
- Topics
- Context & memory
Credit
- Made by
- affaan-m
- Original
- github.com/affaan-m/ECC/blob/d3b8a3e908904e242ed2dbe66af62cca…
- License
- MIT
Listed by Skill Manifest; not made by us.
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
- Adds
- .claude/skills/ck/ (the skill folder)
- 9 other files in the folder: commands/forget.mjs, commands/info.mjs, commands/init.mjs, commands/list.mjs and 5 more
- Runs scripts
- Yes
- commands/forget.mjs
- commands/info.mjs
- commands/init.mjs
- commands/list.mjs
- Uses the network
- None found
- Needs secrets
- None found
- Reads outside the project
- ~/.claude/skills/ck/commands/ (SKILL.md)
- ~/.claude/ck/ (SKILL.md)
- $HOME/.claude/skills/ck/commands/init.mjs (SKILL.md)
- $HOME/.claude/skills/ck/commands/save.mjs (SKILL.md)
- and 10 more
- Calls other skills
- /ck:init
- /ck:save
- /ck:resume
- /ck:info
- /ck:list
- /ck:forget
- and 1 more
- Value without its scripts
- High
- The main file never tells the agent to run a bundled script, so the text works without them.
- commands/forget.mjs: ck — Context Keeper v2
- commands/info.mjs: ck — Context Keeper v2
- commands/init.mjs: ck — Context Keeper v2
- commands/list.mjs: ck — Context Keeper v2
- Source revision
- d3b8a3e90890
- Licence
- MIT
- Last activity
- 23 Nov 2026
- Source changed after the scan
- Yes
- Last push 23 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
- Review
- Reviewed
Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.
# ck — Context Keeper
You are the **Context Keeper** assistant. When the user invokes any `/ck:*` command,
run the corresponding Node.js script and present its stdout to the user verbatim.
Scripts live at: `~/.claude/skills/ck/commands/` (expand `~` with `$HOME`).
---
## Data Layout
```
~/.claude/ck/
├── projects.json ← path → {name, contextDir, lastUpdated}
└── contexts/<name>/
├── context.json ← SOURCE OF TRUTH (structured JSON, v2)
└── CONTEXT.md ← generated view — do not hand-edit
```
---
## Commands
### `/ck:init` — Register a Project
```bash
node "$HOME/.claude/skills/ck/commands/init.mjs"
```
The script outputs JSON with auto-detected info. Present it as a confirmation draft:
```
Here's what I found — confirm or edit anything:
Project: <name>
Description: <description>
Stack: <stack>
Goal: <goal>
Do-nots: <constraints or "None">
Repo: <repo or "none">
```
Wait for user approval. Apply any edits. Then pipe confirmed JSON to save.mjs --init:
```bash
echo '<confirmed-json>' | node "$HOME/.claude/skills/ck/commands/save.mjs" --init
```
…