ck
Claude Codeの永続的なプロジェクト単位のメモリ。セッション開始時にプロジェクトコンテキストを自動読み込み、gitアクティビティでセッションを追跡し、ネイティブメモリに書き込みます。コマンドは決定的なNode.jsスクリプトを実行します — 動作はモデルバージョン間で一貫しています。
- License 许可
- MIT
- 最近更新
- 2026-11-04
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- ck
- repo
- https://github.com/sreedhargs89/context-keeper
- author
- sreedhargs89
- origin
- community
- version
- 2.0.0
- description
- Claude Codeの永続的なプロジェクト単位のメモリ。セッション開始時にプロジェクトコンテキストを自動読み込み、gitアクティビティでセッションを追跡し、ネイティブメモリに書き込みます。コマンドは決定的なNode.jsスクリプトを実行します — 動作はモデルバージョン間で一貫しています。
03 SKILL.md 正文
ck — コンテキスト キーパー
あなたはコンテキストキーパー アシスタントです。ユーザーが/ck:*コマンドを呼び出すと、対応するNode.jsスクリプトを実行し、その標準出力をユーザーに逐語的に提示します。スクリプトは以下にあります:~/.claude/skills/ck/commands/(~を$HOMEで展開)。
データレイアウト
~/.claude/ck/
├── projects.json ← path → {name, contextDir, lastUpdated}
└── contexts/<name>/
├── context.json ← 真実のソース(構造化JSON、v2)
└── CONTEXT.md ← 生成されたビュー — 手動編集しない
コマンド
/ck:init — プロジェクトを登録
node "$HOME/.claude/skills/ck/commands/init.mjs"
スクリプトは自動検出情報でJSONを出力します。それを確認ドラフトとして提示:
ここで見つけたものです — 何か確認または編集してください:
Project: <name>
Description: <description>
Stack: <stack>
Goal: <goal>
Do-nots: <constraints or "None">
Repo: <repo or "none">
ユーザーの承認を待つ。編集を適用。次に確認されたJSONをsave.mjsにパイプ:
echo '<confirmed-json>' | node "$HOME/.claude/skills/ck/commands/save.mjs" --init
確認されたJSONスキーマ:{"name":"...","path":"...","description":"...","stack":["..."],"goal":"...","constraints":["..."],"repo":"..." }
/ck:save — セッション状態を保存
これはLLM分析を必要とする唯一のコマンドです。 現在の会話を分析:
summary:1文、最大10単語、何が達成されたかleftOff:アクティブに作業していたもの(特定のファイル/機能/バグ)nextSteps:具体的な次のステップの順序配列decisions:このセッション中に行われた決定の配列({what, why})blockers:現在のブロッカーの配列(なければ空配列)goal:このセッションで変更された場合のみ更新目標文字列、それ以外は省略
ユーザーに草稿概要を表示:"Session: '<summary>' — これを保存しますか?(yes / edit)"
確認を待つ。次にsave.mjsにパイプ:
echo '<json>' | node "$HOME/.claude/skills/ck/commands/save.mjs"
JSONスキーマ(正確):{"summary":"...","leftOff":"...","nextSteps":["..."],"decisions":[{"what":"...","why":"..."}],"blockers":["..."]}
スクリプトの標準出力確認を逐語的に表示。
/ck:resume [name|number] — 完全なブリーフィング
node "$HOME/.claude/skills/ck/commands/resume.mjs" [arg]
出力を逐語的に表示。その後、「ここから続けますか?または何か変わったことがありますか?」と尋ねます。
ユーザーが変更を報告 → すぐに/ck:saveを実行。
使用時期
- 新しいプロジェクトを始める(
/ck:init) - セッション終了時にコンテキストを保存(
/ck:save) - 以前のセッションを再開(
/ck:resume) - プロジェクト履歴を表示(
/ck:log)
04 同仓库更多 Skills
webapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
youtube-downloader
Download YouTube videos with customizable quality and format options. Use this skill when the user asks to download, save, or grab YouTube videos. Supports various quality settings (best, 1080p, 720p, 480p, 360p), multiple formats (mp4, webm, mkv), and audio-only downloads as MP3.
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.
template-skill
Replace with description of the skill and when Claude should use it.
tailored-resume-generator
Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances
slack-gif-creator
Toolkit for creating animated GIFs optimized for Slack, with validators for size constraints and composable animation primitives. This skill applies when users request animated GIFs or emoji animations for Slack from descriptions like "make me a GIF for Slack of X doing Y".