Ck

). --- ## Data Layout

v2.0.0

关于此技能

安装 Ck,这是一款面向AI agent workflows and automation的 AI Agent Skill。查看功能、使用场景、限制条件与安装命令。

功能特性

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).
├── projects.json ← path → {name, contextDir, lastUpdated}
nexurah-tech nexurah-tech
[0]
[0]
更新于: 5/6/2026

技能概览

先看适用场景、限制条件和安装路径,再决定是否继续深入。

安装 Ck,这是一款面向AI agent workflows and automation的 AI Agent Skill。查看功能、使用场景、限制条件与安装命令。

核心价值

推荐说明: ck helps agents ck — context keeper. ck — Context Keeper You are the Context Keeper assistant. Claude Code, Cursor, and Windsurf workflows.

适用 Agent 类型

适用场景: ck — context keeper.

赋予的主要能力 · Ck

适用任务: 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

! 使用限制与门槛

  • 限制说明: └── CONTEXT.md ← generated view — do not hand-edit
  • 限制说明: This is the only command requiring LLM analysis. Analyze the current conversation:
  • 限制说明: goal: updated goal string only if it changed this session, else omit

! 来源说明

此页面仍可作为安装与查阅参考。继续使用前,请结合上方适用场景、限制条件和上游仓库说明一起判断。

SKILL.md
Readonly

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
1node "$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
1echo '<confirmed-json>' | node "$HOME/.claude/skills/ck/commands/save.mjs" --init

Confirmed JSON schema: {"name":"...","path":"...","description":"...","stack":["..."],"goal":"...","constraints":["..."],"repo":"..." }


/ck:save — Save Session State

This is the only command requiring LLM analysis. Analyze the current conversation:

  • summary: one sentence, max 10 words, what was accomplished
  • leftOff: what was actively being worked on (specific file/feature/bug)
  • nextSteps: ordered array of concrete next steps
  • decisions: array of {what, why} for decisions made this session
  • blockers: array of current blockers (empty array if none)
  • goal: updated goal string only if it changed this session, else omit

Show a draft summary to the user: "Session: '<summary>' — save this? (yes / edit)" Wait for confirmation. Then pipe to save.mjs:

bash
1echo '<json>' | node "$HOME/.claude/skills/ck/commands/save.mjs"

JSON schema (exact): {"summary":"...","leftOff":"...","nextSteps":["..."],"decisions":[{"what":"...","why":"..."}],"blockers":["..."]} Display the script's stdout confirmation verbatim.


/ck:resume [name|number] — Full Briefing

bash
1node "$HOME/.claude/skills/ck/commands/resume.mjs" [arg]

Display output verbatim. Then ask: "Continue from here? Or has anything changed?" If user reports changes → run /ck:save immediately.


/ck:info [name|number] — Quick Snapshot

bash
1node "$HOME/.claude/skills/ck/commands/info.mjs" [arg]

Display output verbatim. No follow-up question.


/ck:list — Portfolio View

bash
1node "$HOME/.claude/skills/ck/commands/list.mjs"

Display output verbatim. If user replies with a number or name → run /ck:resume.


/ck:forget [name|number] — Remove a Project

First resolve the project name (run /ck:list if needed). Ask: "This will permanently delete context for '<name>'. Are you sure? (yes/no)" If yes:

bash
1node "$HOME/.claude/skills/ck/commands/forget.mjs" [name]

Display confirmation verbatim.


/ck:migrate — Convert v1 Data to v2

bash
1node "$HOME/.claude/skills/ck/commands/migrate.mjs"

For a dry run first:

bash
1node "$HOME/.claude/skills/ck/commands/migrate.mjs" --dry-run

Display output verbatim. Migrates all v1 CONTEXT.md + meta.json files to v2 context.json. Originals are backed up as meta.json.v1-backup — nothing is deleted.


SessionStart Hook

The hook at ~/.claude/skills/ck/hooks/session-start.mjs must be registered in ~/.claude/settings.json to auto-load project context on session start:

json
1{ 2 "hooks": { 3 "SessionStart": [ 4 { "hooks": [{ "type": "command", "command": "node \"~/.claude/skills/ck/hooks/session-start.mjs\"" }] } 5 ] 6 } 7}

The hook injects ~100 tokens per session (compact 5-line summary). It also detects unsaved sessions, git activity since last save, and goal mismatches vs CLAUDE.md.


Rules

  • Always expand ~ as $HOME in Bash calls.
  • Commands are case-insensitive: /CK:SAVE, /ck:save, /Ck:Save all work.
  • If a script exits with code 1, display its stdout as an error message.
  • Never edit context.json or CONTEXT.md directly — always use the scripts.
  • If projects.json is malformed, tell the user and offer to reset it to {}.

常见问题与安装步骤

与页面结构化数据保持一致,便于搜索引擎理解。

安装步骤

  1. 1

    打开终端

    在你的项目目录中打开终端或命令行。

  2. 2

    执行安装命令

    运行:npx killer-skills add nexurah-tech/cre8ive/ck。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3

    开始使用技能

    Ck 已启用,可立即在当前项目中调用。

? FAQ

Ck 是什么?
安装 Ck,这是一款面向AI agent workflows and automation的 AI Agent Skill。查看功能、使用场景、限制条件与安装命令。
如何安装 Ck?
运行命令:npx killer-skills add nexurah-tech/cre8ive/ck。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。
Ck 适用于哪些场景?
典型场景包括:适用任务: 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。
Ck 支持哪些 IDE 或 Agent?
该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。
Ck 有哪些限制?
限制说明: └── CONTEXT.md ← generated view — do not hand-edit;限制说明: This is the only command requiring LLM analysis. Analyze the current conversation:;限制说明: goal: updated goal string only if it changed this session, else omit。

相关技能

寻找 Ck 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

openclaw-release-maintainer

Logo of openclaw
openclaw

本地化技能摘要: 🦞 # OpenClaw Release Maintainer Use this skill for release and publish-time workflow. It covers ai, assistant, crustacean workflows. Claude Code, Cursor, and Windsurf workflows.

333.8k
0
AI

widget-generator

Logo of f
f

本地化技能摘要: Generate customizable widget plugins for the prompts.chat feed system # Widget Generator Skill This skill guides creation of widget plugins for prompts.chat. It covers ai, artificial-intelligence, awesome-list workflows. Claude Code, Cursor, and Windsurf

149.6k
0
AI

flags

Logo of vercel
vercel

本地化技能摘要: The React Framework # Feature Flags Use this skill when adding or changing framework feature flags in Next.js internals. It covers blog, browser, compiler workflows. Claude Code, Cursor, and Windsurf workflows.

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

本地化技能摘要: Usage Modes No Argument If the user invokes /pr-review with no arguments, do not perform a review. It covers autograd, deep-learning, gpu workflows. Claude Code, Cursor, and Windsurf workflows.

98.6k
0
开发者工具